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";
import { StatusDot } from "@/components/ui/select-utils/status-dot";
export default function SelectStatusDemo() {
return (
<Select
aria-label="Purchase status"
defaultSelectedKey="completed"
className="w-[142px]"
>
<SelectItem id="completed" textValue="Completed">
<StatusDot color="green" />
Completed
</SelectItem>
<SelectItem id="waiting" textValue="Waiting">
<StatusDot color="yellow" />
Waiting
</SelectItem>
<SelectItem id="processing" textValue="Processing">
<StatusDot color="indigo" />
Processing
</SelectItem>
</Select>
);
}







