# Shadcn Button Components

Displays a button or a component that looks like a button. Every button example is built to work with both Radix UI and Base UI.

- Page: https://shadcnuikit.com/components/button
- Variants: 27 (27 free, 0 pro)
- Built with shadcn/ui, Tailwind CSS v4, React and Next.js

- [Variant 1](https://shadcnuikit.com/components/button/1) (Free, install: `npx shadcn@latest add @shadcnuikit/button1`)
- [Variant 2](https://shadcnuikit.com/components/button/2) (Free, install: `npx shadcn@latest add @shadcnuikit/button2`)
- [Variant 3](https://shadcnuikit.com/components/button/3) (Free, install: `npx shadcn@latest add @shadcnuikit/button3`)
- [Variant 4](https://shadcnuikit.com/components/button/4) (Free, install: `npx shadcn@latest add @shadcnuikit/button4`)
- [Variant 5](https://shadcnuikit.com/components/button/5) (Free, install: `npx shadcn@latest add @shadcnuikit/button5`)
- [Variant 6](https://shadcnuikit.com/components/button/6) (Free, install: `npx shadcn@latest add @shadcnuikit/button6`)
- [Variant 7](https://shadcnuikit.com/components/button/7) (Free, install: `npx shadcn@latest add @shadcnuikit/button7`)
- [Variant 8](https://shadcnuikit.com/components/button/8) (Free, install: `npx shadcn@latest add @shadcnuikit/button8`)
- [Variant 9](https://shadcnuikit.com/components/button/9) (Free, install: `npx shadcn@latest add @shadcnuikit/button9`)
- [Variant 10](https://shadcnuikit.com/components/button/10) (Free, install: `npx shadcn@latest add @shadcnuikit/button10`)
- [Variant 11](https://shadcnuikit.com/components/button/11) (Free, install: `npx shadcn@latest add @shadcnuikit/button11`)
- [Variant 12](https://shadcnuikit.com/components/button/12) (Free, install: `npx shadcn@latest add @shadcnuikit/button12`)
- [Variant 13](https://shadcnuikit.com/components/button/13) (Free, install: `npx shadcn@latest add @shadcnuikit/button13`)
- [Variant 14](https://shadcnuikit.com/components/button/14) (Free, install: `npx shadcn@latest add @shadcnuikit/button14`)
- [Variant 15](https://shadcnuikit.com/components/button/15) (Free, install: `npx shadcn@latest add @shadcnuikit/button15`)
- [Variant 16](https://shadcnuikit.com/components/button/16) (Free, install: `npx shadcn@latest add @shadcnuikit/button16`)
- [Variant 17](https://shadcnuikit.com/components/button/17) (Free, install: `npx shadcn@latest add @shadcnuikit/button17`)
- [Variant 18](https://shadcnuikit.com/components/button/18) (Free, install: `npx shadcn@latest add @shadcnuikit/button18`)
- [Variant 19](https://shadcnuikit.com/components/button/19) (Free, install: `npx shadcn@latest add @shadcnuikit/button19`)
- [Variant 20](https://shadcnuikit.com/components/button/20) (Free, install: `npx shadcn@latest add @shadcnuikit/button20`)
- [Variant 21](https://shadcnuikit.com/components/button/21) (Free, install: `npx shadcn@latest add @shadcnuikit/button21`)
- [Variant 22](https://shadcnuikit.com/components/button/22) (Free, install: `npx shadcn@latest add @shadcnuikit/button22`)
- [Variant 23](https://shadcnuikit.com/components/button/23) (Free, install: `npx shadcn@latest add @shadcnuikit/button23`)
- [Variant 24](https://shadcnuikit.com/components/button/24) (Free, install: `npx shadcn@latest add @shadcnuikit/button24`)
- [Variant 25](https://shadcnuikit.com/components/button/25) (Free, install: `npx shadcn@latest add @shadcnuikit/button25`)
- [Variant 26](https://shadcnuikit.com/components/button/26) (Free, install: `npx shadcn@latest add @shadcnuikit/button26`)
- [Variant 27](https://shadcnuikit.com/components/button/27) (Free, install: `npx shadcn@latest add @shadcnuikit/button27`)

## Install with the shadcn CLI

Add the registry to components.json once:

```json
"registries": {
  "@shadcnuikit": {
    "url": "https://shadcnuikit.com/r/{name}.json",
    "headers": {
      "Authorization": "Bearer ${REGISTRY_TOKEN}"
    }
  }
}
```

Then install any item by its registry name, for example `npx shadcn@latest add @shadcnuikit/hero1`. Free items install without an API key. Pro items need a license and an API key from https://shadcnuikit.com/account/api-keys, set as REGISTRY_TOKEN in your .env file.

More from Shadcn UI Kit: [llms.txt](https://shadcnuikit.com/llms.txt)