Components

Select

Used for choosing an option from a dropdown list.

Logo

Variants

Defines different visual styles for the Select component.

Trigger Variants

Different styles for the Select trigger, such as outline and ghost.

Content Variants

Controls padding and spacing within the dropdown content.

Radius

Defines the border-radius of the Select component for rounded or sharp edges.

Disabled

Disables the SelectItem component to prevent user interaction.

Custom Render

Allows passing custom elements or nodes.

Select

radius

Type:

"none" | "sm" | "md" | "lg" | "xl" | "2xl"

Defines the border-radius of the select component.

Default:

md
className

Type:

string

Allows custom styling by adding additional CSS classes.

Default:

mode

Type:

"light" | "dark"

Sets the theme mode of the select component.

Default:

System

SelectTrigger

variant

Type:

"outline" | "ghost"

Determines the visual style of the select trigger.

Default:

outline
className

Type:

string

Allows custom styling by adding additional CSS classes.

Default:

placeholder*

Type:

string

Text displayed when no option is selected.

Default:

SelectContent

variant

Type:

"padded" | "flush"

Defines the spacing inside the dropdown. 'padded' adds spacing, while 'flush' removes it for a compact look.

Default:

padded
openFn

Type:

function

Callback function triggered when the select content opens.

Default:

className

Type:

string

Allows additional CSS classes for custom styling.

Default:

style

Type:

CSSProperties

Allows inline styles to be applied directly to the select content.

Default:

SelectItem

value*

Type:

string

The unique identifier for the select item. Required.

Default:

onSelect

Type:

function

Callback function triggered when the item is selected.

Default:

className

Type:

string

Additional CSS classes for custom styling.

Default:

isCurrent

Type:

boolean

Indicates if the item is currently selected.

Default:

false
disabled

Type:

boolean

Disables the item, preventing selection.

Default:

false