GitHub

Button

Displays a button or a component that looks like a button.

Installation

npx ui69 add button

Usage

import { Button } from "@/components/ui/button"
<Button variant="outline">Button</Button>

Examples

Default

The default button style.

Secondary

A secondary button style.

Destructive

A destructive button style for dangerous actions.

Outline

An outlined button style.

Ghost

A subtle button style.

Link

A button that looks like a link.

Icon

A button with an icon.

With Icon

A button with text and an icon.

Loading

A button in a loading state.