Swatch Card
Palette swatch card on a dark page: a numbered card with a cobalt Painted Orb as the swatch, the color's name, a line on where it works, OKLCH and hex values with copy buttons, and a save toggle.
The source comes with full access.
One payment of $149 opens the source right here and lets the CLI install every paid component, with lifetime updates.
Installation
pnpm dlx shadcn@latest add @01orbital/swatch-card-01npx shadcn@latest add @01orbital/swatch-card-01yarn dlx shadcn@latest add @01orbital/swatch-card-01bunx --bun shadcn@latest add @01orbital/swatch-card-01Make it yours
- Its words are in
COPYat the top ofcomponents/blocks/card/swatch-card-01/index.tsx: change them there, not in the markup. VALUES, also at the top of the file, holds its lists and settings.- Its look comes from Painted Orb; each page lists the props that change it.
Built from
npm: @01orbital/font-geist-serif, @phosphor-icons/react. The CLI installs them for you.
Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:
- Button
- Card
- Eyebrow
font-geist-mono- Painted Orb
- Separator
- Use Copy To Clipboard
The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.
Last updated on