About
A composable, accessible dropdown menu built on Base UI with controlled state, interruptible hover highlighting, and origin-aware enter motion.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Animated Dropdown to your project and fits it to your theme.
Code
How Animated Dropdown is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { Bell, CreditCard, LogOut, Settings, User } from "lucide-react"
import { AnimatedDropdown, AnimatedDropdownContent, AnimatedDropdownItem, AnimatedDropdownSeparator, AnimatedDropdownTrigger, AnimatedDropdownTriggerIndicator } from "@/components/ui/sona-animated-dropdown"
export default function AnimatedDropdownDemo() {
return (
<AnimatedDropdown>
<AnimatedDropdownTrigger>
My Account
<AnimatedDropdownTriggerIndicator />
</AnimatedDropdownTrigger>
<AnimatedDropdownContent>
<AnimatedDropdownItem icon={<User />}>Profile</AnimatedDropdownItem>
<AnimatedDropdownItem icon={<CreditCard />}>
Billing
</AnimatedDropdownItem>
<AnimatedDropdownItem icon={<Bell />}>
Notifications
</AnimatedDropdownItem>
<AnimatedDropdownItem icon={<Settings />}>
Settings
</AnimatedDropdownItem>
<AnimatedDropdownSeparator />
<AnimatedDropdownItem icon={<LogOut />} variant="danger">
Log out
</AnimatedDropdownItem>
</AnimatedDropdownContent>
</AnimatedDropdown>
);
}








