Buttons

Button component with multiple variants, sizes, and states

View Source

Examples

Default

Basic button with primary styling.

html

Variants

Available button style variants.

html

Semantic Colors

Buttons with semantic color meanings.

html

Soft Variants

Subtle background with colored text using .btn-soft-{color} class.

html

Sizes

Small, default, and large button sizes.

html

Icon Buttons

Square icon-only buttons using .btn-icon class.

html

With Icons

Buttons with icon and text together.

html

States

Disabled and loading button states.

html

Full Width

Full-width button using .btn-full class.

html

Usage

The button component is located at src/components/ui/button/button.scss

Available Classes

.btn
.btn-secondary
.btn-destructive
.btn-outline
.btn-ghost
.btn-link
.btn-success
.btn-warning
.btn-info
.btn-sm
.btn-lg
.btn-icon
.btn-full
.btn-loading