Button

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

shadcn/ui docs

Installation

pnpm dlx shadcn@latest add https://neobrutalism.dev/r/button.json

Usage

import { Button } from '@/components/ui/button'
<Button>Default</Button>

Examples

Default

Size

Use the size prop to change the size of the button. Text buttons come in xs, sm, default and lg, and icon buttons use the matching icon-xs, icon-sm, icon and icon-lg sizes.

Reverse

No Shadow

Neutral

With Icon

Icon