Components
Loading preview...
Enhanced shadcn/ui button
npx shadcn@latest add https://21st.dev/r/originui/buttonimport { Button } from "@/components/ui/button";
import { ChevronDown } from "lucide-react";
function Component() {
return (
<Button variant="ghost" className="h-auto p-0 hover:bg-transparent">
<img
className="rounded-full"
src="https://originui.com/avatar.jpg"
alt="Profile image"
width={40}
height={40}
aria-hidden="true"
/>
<ChevronDown size={16} strokeWidth={2} className="ms-2 opacity-60" aria-hidden="true" />
</Button>
);
}
export { Component };