About
Enhanced shadcn/ui button
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button to your project and fits it to your theme.
Code
How Button is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Button } from "@/components/ui/button";
import { ChevronDown, ChevronUp } from "lucide-react";
function Component() {
return (
<div className="inline-flex -space-x-px rounded-full shadow-sm shadow-black/5 rtl:space-x-reverse">
<Button
className="rounded-none shadow-none first:rounded-s-full last:rounded-e-full focus-visible:z-10"
size="icon"
aria-label="Upvote"
>
<ChevronUp size={16} strokeWidth={2} aria-hidden="true" />
</Button>
<span className="flex items-center bg-primary px-1 text-sm font-medium text-primary-foreground">
235
</span>
<Button
className="rounded-none shadow-none first:rounded-s-full last:rounded-e-full focus-visible:z-10"
size="icon"
aria-label="Downvote"
>
<ChevronDown size={16} strokeWidth={2} aria-hidden="true" />
</Button>
</div>
);
}
export { Component };






![Calendar [React Day Picker]](https://cdn.21st.dev/cdn-cgi/image/fit=scale-down,width=640,quality=75,format=webp/https://cdn.21st.dev/user_originui/calendar/default/preview.1737991983843.png)







