Button
Triggers an action or event.
Installation
pnpm dlx shadcn@latest add @columbus/buttonUsage
import { Button } from "@/components/ui/button";
<Button variant="outline">Cancel</Button>;Sizes
Loading
loading shows a spinner, hides the label without changing the button's width,
and disables the button.
Links
Button always has button semantics. For navigation, style your router's link
with buttonVariants so screen readers announce it as a link:
API reference
Also accepts every native <button> attribute.
Prop
Type