GT Components

Select Component

A customizable select dropdown component with size variants and flexible styling options.

Color Variants

Style your select components using Tailwind CSS classes for different color schemes.

Slate
Gray
Zinc
Neutral
Stone
Blue
Green
Red
Purple
Orange
Yellow
Pink

Size Variants

Five different sizes to fit various interface contexts and design requirements.

xs
sm
md
lg
xl

Real-World Examples

Practical select components with labels and realistic option sets for forms.

Country Selection

A typical country selector for forms

Theme Color

Color theme selection interface

Component Props

Available properties for the Select component.

PropTypeDefaultDescription
valuestring''The selected value (bindable)
size'xs' | 'sm' | 'md' | 'lg' | 'xl''md'Controls select size and padding
classstring''Additional CSS classes for styling
idstringundefinedHTML id attribute for form labels
disabledbooleanfalseDisables the select when true