Button
Base UI button with default, outline, secondary, ghost, destructive and link variants. Sizes run from xs to lg plus four square icon sizes, with focus ring and invalid states included.
import { Button } from "@/components/ui/button"
/** Button at the large size. */
export default function ButtonDemo() {
return <Button size="lg">Browse components</Button>
}
Installation
pnpm dlx shadcn add @01orbital/buttonnpx shadcn add @01orbital/buttonyarn shadcn add @01orbital/buttonbunx --bun shadcn add @01orbital/buttonAdd the @01orbital registry to components.json once (install guide), then run the command.
It lands at components/ui/button.tsx, as source you own and edit.
Examples
01
button-frosted
02
button-frosted-sizes
03
button-frosted-with-icon
04
button-frosted-loading
05
button-frosted-media-controls
06
button-frosted-pair
07
button-menu
08
button-neoconstruct
09
button-letterpress
10
button-embossed
11
button-gradient-border
12
button-lit-border
13
button-link-hairline
Button components
The library's own button components, each installed on its own.
01
sphere-button
02
thermal-button
Dependencies
npm: @base-ui/react, class-variance-authority, cn. The CLI installs them for you.
No other registry pieces.
Breadcrumb
Breadcrumb trail of list, item, link, current page, caret separator and ellipsis parts. The link part uses Base UI useRender, so a framework router link can stand in for the anchor.
Sphere Button
A round planetary button lit by a radial highlight and crescent inset shadows, in teal, blue and coral. A void variant opens a dark centre on hover; labels set in the display face.