About
A dropdown select menu with a spring-animated popup, a gliding shared highlight that follows the hovered/active option, and an animated checkmark on the selected item.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Motion Select to your project and fits it to your theme.
Code
How Motion Select is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from "@/components/ui/motion-select";
export default function MotionSelectDemo() {
return (
<div className="flex min-h-[320px] w-full items-center justify-center">
<Select defaultValue="apple">
<SelectTrigger className="w-40">
<SelectValue placeholder="Select a fruit" />
</SelectTrigger>
<SelectContent>
<SelectItem value="apple">Apple</SelectItem>
<SelectItem value="banana">Banana</SelectItem>
<SelectItem value="orange">Orange</SelectItem>
<SelectItem value="grape">Grape</SelectItem>
</SelectContent>
</Select>
</div>
);
}
















![Form [react-aria-components]](https://cdn.21st.dev/cdn-cgi/image/fit=scale-down,width=640,quality=75,format=webp/https://cdn.21st.dev/user_jolbol1/field/814/preview.png)