ZeeMeeDesign Exercise

Component

Select

Token-styled dropdown built on Radix Select. Matches Input shape; replaces the native <select> on mobile and web.

9:41

Currently: Class of 2030

Class-of-year picker

Trigger uses the same h-12 rounded-xl shape as Input. Chevron rotates 180° on data-state="open". Selected items render in brand color with a check glyph. Keyboard nav, type-ahead, and ARIA wiring come from Radix.

Composition

PropTypeDefaultDescription
SelectRadix RootTop-level wrapper. Takes value / onValueChange (controlled) or defaultValue.
SelectTriggerRadix TriggerThe clickable field. Renders the value + chevron. All HTMLButtonProps forwarded.
SelectValueRadix ValueDisplays the currently selected value. Supports placeholder prop for empty state.
SelectContentRadix Content (popper)Floating panel. Animated open/close via tw-animate-css and Radix data-state.
SelectItemRadix ItemOne option row. Highlighted on hover/keyboard, brand-colored when checked.
SelectGroup / SelectLabel / SelectSeparatorRadix primitivesOptional grouping and dividers inside the content panel.