About
Profile dropdown menu with avatar, account links and logout by Shadcn Studio.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dropdown to your project and fits it to your theme.
Code
How Dropdown is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ProfileDropdown, {
Avatar,
AvatarImage,
AvatarFallback
} from '@/components/ui/shadcn-studio-dashboard-dropdown-02'
const DropdownPage = () => {
return (
<div className='flex h-132 items-start justify-center p-8'>
<ProfileDropdown
defaultOpen
align='center'
trigger={
<button className='rounded-full'>
<Avatar size='lg' className='cursor-pointer'>
<AvatarImage src='https://cdn.21st.dev/assets/mirror/03/03a7fd80e48b0c266374a64bc634dbbb85582fd0dd77c1a27ecff4bb5406ff81.png' alt='John Doe' />
<AvatarFallback>JD</AvatarFallback>
</Avatar>
</button>
}
/>
</div>
)
}
export default DropdownPage















