The library is still in early development. Breaking changes and bugs may occur without prior notice. Thanks for your interest in using the library!
v0.2.47Beta

Search

Button

Source

A versatile component used to trigger actions or events.

Usage

Import the Button component from @bun-ui/react and use it in your project:

import { Button } from "@bun-ui/react"
<Button>Click me</Button>

Examples

Variant

Use the variant prop to change the visual style of the Button.

Link

Color

Primary

Secondary

Accent

Neutral

Success

Destructive

Sizes

The Button component supports the following sizes:

Disabled

Loading