Adds a single @import of the pinion-ui preset to resources/css/app.css (loads themes, tunes, and @source globs in one line)
Wires Alpine and its plugins into resources/js/app.js
Patches your layout's <html> with a data-theme attribute
With --ai, appends a reference to AGENTS.md into your project's CLAUDE.md so AI agents can read the correct usage rules
3. Build
bash
npm install && npm run build
That's it. Components like <x-button> are ready to use in your Blade templates.
Pick a theme and a tune
The look is controlled by two attributes on <html>: data-theme sets the color palette (37 palettes × light/dark) and data-tune sets shape, spacing, and typography (11 presets). The two axes are orthogonal — mix them freely.
html
<htmldata-theme="pinion"data-tune="default">
Try combinations live with the Theme / Tune switcher in the top-right navbar — it applies to this page too.
A single button is enough to verify the setup. The component catalog links to every component's usage page.
Component Catalog →
Using it with AI agents
pinion-ui is designed for AI-assisted coding. The AGENTS.md wired by ui:install --ai documents calling conventions, gotchas, and the class-vocabulary rules, so agents like Claude Code write correct code from the start. It also installs a Claude Code hook that runs ui:lint automatically after Blade edits (skip with --skip-hooks).
data-theme = pinion
Installation
Install with Composer, wire with ui:install, build. Three steps and every component plus 37 themes × 11 tunes are ready to use.
Requirements
PHP 8.2+
Laravel 11 / 12 / 13
Tailwind CSS v4 (the default Vite setup on Laravel 11+)
Node.js (for the Vite build)
1. Add the package
bash
composer require sparrowhawk-labs/pinion-ui
The icon package (pinion-icons) is pulled in automatically as a dependency — no separate install needed.
Adds a single @import of the pinion-ui preset to resources/css/app.css (loads themes, tunes, and @source globs in one line)
Wires Alpine and its plugins into resources/js/app.js
Patches your layout's <html> with a data-theme attribute
With --ai, appends a reference to AGENTS.md into your project's CLAUDE.md so AI agents can read the correct usage rules
3. Build
bash
npm install && npm run build
That's it. Components like <x-button> are ready to use in your Blade templates.
Pick a theme and a tune
The look is controlled by two attributes on <html>: data-theme sets the color palette (37 palettes × light/dark) and data-tune sets shape, spacing, and typography (11 presets). The two axes are orthogonal — mix them freely.
html
<htmldata-theme="pinion"data-tune="default">
Try combinations live with the Theme / Tune switcher in the top-right navbar — it applies to this page too.
A single button is enough to verify the setup. The component catalog links to every component's usage page.
Component Catalog →
Using it with AI agents
pinion-ui is designed for AI-assisted coding. The AGENTS.md wired by ui:install --ai documents calling conventions, gotchas, and the class-vocabulary rules, so agents like Claude Code write correct code from the start. It also installs a Claude Code hook that runs ui:lint automatically after Blade edits (skip with --skip-hooks).
data-theme = pinion-dark
Installation
Install with Composer, wire with ui:install, build. Three steps and every component plus 37 themes × 11 tunes are ready to use.
Requirements
PHP 8.2+
Laravel 11 / 12 / 13
Tailwind CSS v4 (the default Vite setup on Laravel 11+)
Node.js (for the Vite build)
1. Add the package
bash
composer require sparrowhawk-labs/pinion-ui
The icon package (pinion-icons) is pulled in automatically as a dependency — no separate install needed.
Adds a single @import of the pinion-ui preset to resources/css/app.css (loads themes, tunes, and @source globs in one line)
Wires Alpine and its plugins into resources/js/app.js
Patches your layout's <html> with a data-theme attribute
With --ai, appends a reference to AGENTS.md into your project's CLAUDE.md so AI agents can read the correct usage rules
3. Build
bash
npm install && npm run build
That's it. Components like <x-button> are ready to use in your Blade templates.
Pick a theme and a tune
The look is controlled by two attributes on <html>: data-theme sets the color palette (37 palettes × light/dark) and data-tune sets shape, spacing, and typography (11 presets). The two axes are orthogonal — mix them freely.
html
<htmldata-theme="pinion"data-tune="default">
Try combinations live with the Theme / Tune switcher in the top-right navbar — it applies to this page too.
A single button is enough to verify the setup. The component catalog links to every component's usage page.
Component Catalog →
Using it with AI agents
pinion-ui is designed for AI-assisted coding. The AGENTS.md wired by ui:install --ai documents calling conventions, gotchas, and the class-vocabulary rules, so agents like Claude Code write correct code from the start. It also installs a Claude Code hook that runs ui:lint automatically after Blade edits (skip with --skip-hooks).