Button

Tactile 44px button built on Base UI with cobalt primary, outline, secondary, ghost, destructive, and link variants plus an animated ButtonArrow.

import { Button, ButtonArrow } from "@/components/ui/button" export function ButtonDemo() {

Installation

pnpm dlx shadcn@latest add @uarui/button

Usage

import { Button, ButtonArrow } from "@/components/ui/button"
<Button variant="outline">Button</Button>

Secondary

Use variant="secondary" for a recessed paper action with a crisp border.

import { Button } from "@/components/ui/button" export function ButtonSecondary() {

Outline

Use variant="outline" for bordered actions over paper or surface backgrounds.

import { Button } from "@/components/ui/button" export function ButtonOutline() {

Ghost

Use variant="ghost" for subtle toolbar or header actions.

import { Button } from "@/components/ui/button" export function ButtonGhost() {

Destructive

Use variant="destructive" for irreversible or high-risk actions.

import { Button } from "@/components/ui/button" export function ButtonDestructive() {

Sizes

Choose between sm, default (44px), lg, icon, and icon-sm.

import { Mail } from "lucide-react"import { Button } from "@/components/ui/button" 

API Reference

See the Base UI documentation for more information.