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/buttonUsage
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() {Link
Use variant="link" paired with ButtonArrow for inline navigation actions.
import { Button, ButtonArrow } from "@/components/ui/button" export function ButtonLink() {Sizes
Choose between sm, default (44px), lg, icon, and icon-sm.
import { Mail } from "lucide-react"import { Button } from "@/components/ui/button" As Link
Use the Base UI render prop with nativeButton={false} to render a link styled as a button.
import Link from "next/link"import { Button, ButtonArrow } from "@/components/ui/button" API Reference
See the Base UI documentation for more information.