Button

A styled button with six visual variants and native button attributes.

Buttons

Six variants, one press

default
secondary
destructive
outline
ghost
push

Installation

  1. 1

    Install the component:

    npx shadcn@latest add https://ui.amines.fun/registry/button.json
  2. 2

    Usage:

    jsx

    app/page.jsx

    <Button variant="default">Explore Pro</Button>

Props

PropTypeDefaultDescriptionRequired
childrenReactNode-Content displayed inside the button.No
variant"default" | "destructive" | "secondary" | "outline" | "ghost" | "push"defaultVisual style of the button. Unknown values fall back to the default variant.No
type"button" | "submit" | "reset"buttonNative button type.No
classNamestring-Additional CSS classes merged with the button styles.No
...propsReact.ButtonHTMLAttributes<HTMLButtonElement>-Other native button attributes, such as disabled, onClick, and aria-label.No