About
A styled dropdown select built on React Aria, with a button trigger, non-modal popover menu, and support for free-form item content like icons or status dots.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Select to your project and fits it to your theme.
Code
How Select is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Select, SelectItem } from "@/components/ui/select";
export default function SelectLabelDemo() {
return (
<Select label="Role" placeholder="Select a role" className="w-[240px]">
<SelectItem id="admin" textValue="Admin">
Admin
</SelectItem>
<SelectItem id="editor" textValue="Editor">
Editor
</SelectItem>
<SelectItem id="viewer" textValue="Viewer">
Viewer
</SelectItem>
</Select>
);
}















