Skip to Content
Columbus

Button

Triggers an action or event.

Installation

pnpm dlx shadcn@latest add @columbus/button

Usage

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.

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

On this page