Design System
The shared foundation under every ArtisanPack UI component library. Design tokens, a plain-CSS component layer, themes and presets, and one component API shared by Livewire, React and Vue.
v1.0.0
MIT License
★ 0
npm install @artisanpack-ui/css
$ npm install @artisanpack-ui/react @artisanpack-ui/css
✓ Tokens, CSS & behavior installed
$ echo "@import '@artisanpack-ui/css';" >> app.css
✓ Cascade layers registered
$ npm run playground
✓ Token playground ready
What it does
Define it once, ship it in every stack
A Button, a Combobox or a Dialog is the same component in Livewire, React and Vue: the same props, parts, keyboard behavior and markup. Tailwind is optional, and nothing depends on DaisyUI.
DTCG design tokens
Every color, size, radius, shadow and duration in W3C DTCG format, built to CSS, TypeScript and PHP.
Plain CSS, cascade layers
Your own CSS always wins without !important. Tailwind optional; a headless build keeps markup and behavior.
Themes, density & presets
Light, dark and high contrast; compact to comfortable; Strata, Ledger and Harbor — switched with one attribute.
One API, three stacks
Livewire, React and Vue share a JSON manifest per component, so you can move between stacks or mix them.
Brand preset generator
Rebuild the color ramps around your brand colors, with every contrast pair checked.
WCAG 2.2 AA & RTL
A Zag-powered behavior engine handles focus, keyboard and ARIA the same way everywhere, with right-to-left built in.
Screenshots
Every screen, up close
Click any screenshot to see it full size.

Bar Chart

Area Chart

KPI Cards

Calendar

Alerts

Timeline

Cards

Progress Radial

Tabs
Get started
Three commands to a centralized config
Install Core, publish the base file, then let the scaffold command detect and merge configuration from every installed package.
Livewire or Blade
composer require artisanpack-ui/livewire-ui-components
React
npm install @artisanpack-ui/react @artisanpack-ui/css
Vue
npm install @artisanpack-ui/vue @artisanpack-ui/css
Inside the System
Six packages, one foundation
| Package | Purpose | |
|---|---|---|
| @artisanpack-ui/tokens | DTCG tokens built to CSS, TypeScript and PHP; presets and the brand preset generator | |
| @artisanpack-ui/css | Plain-CSS component layer, headless build and optional Tailwind v4 preset | |
| @artisanpack-ui/behavior | Interaction engine on Zag and Floating UI with Alpine, React and Vue adapters | |
| @artisanpack-ui/manifest | One JSON API contract per component, with examples in all three stacks | |
| @artisanpack-ui/testing | Quality gates: cross-stack visual regression, axe and API parity | |
| @artisanpack-ui/codemods | Upgrade rules and the React and Vue codemods | |
| The repo root is also a Composer package, artisanpack-ui/design-system, with the PHP side of the manifest and quality gates. | ||
Updates
Latest Updates
Build on the Design System
One set of tokens, one component API, three stacks. Free and open source under the MIT license.
