Components
Loading preview...
Enhanced shadcn/ui button
npx shadcn@latest add https://21st.dev/r/originui/buttonimport { Button } from "@/components/ui/button";
function Component() {
return (
<Button className="rounded-full py-0 ps-0">
<div className="me-0.5 flex aspect-square h-full p-1.5">
<img
className="h-auto w-full rounded-full"
src="https://originui.com/avatar.jpg"
alt="Profile image"
width={24}
height={24}
aria-hidden="true"
/>
</div>
@georgelucas
</Button>
);
}
export { Component };