Select
Styled native-style select built on Radix Select.
Preview
Interactive examples use the same @flux/ui build as production. Toggle theme in the header for light and dark. Motion tokens and layout patterns live under Motion and Patterns in the sidebar.
Live preview
Grouped + labels + separator
Flat list
Installation
Add the package to your app (full Next.js + Tailwind steps on Installation):
npm install @payglocal_ui/flux-uiUsage
Import
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@payglocal_ui/flux-ui";Example
<Select defaultValue="a">
<SelectTrigger className="w-[200px]">
<SelectValue placeholder="Choose" />
</SelectTrigger>
<SelectContent>
<SelectItem value="a">Option A</SelectItem>
<SelectItem value="b">Option B</SelectItem>
</SelectContent>
</Select>