Connects Claude to the BlatUI component library, letting you browse, read documentation for, and install Laravel Blade UI components without leaving your editor. It exposes operations to search through 81 accessible components, 416 variants, 64 blocks, and 70 charts, all built for the BLAT stack (Blade, Laravel, Alpine, Tailwind). Instead of context-switching to the docs site or remembering CLI flags, you can ask Claude to find a specific component, check its props and usage, or generate the artisan command to install it into your project. Useful when you're building Laravel UIs and want to pull in shadcn-style components on the fly.
A CLI that copies open-source, copy-paste UI components you own straight into your Laravel project.
81 components · 416 variants · 64 blocks · 70 charts · accessible (WCAG AA) · fully themeable · light + dark · MIT
vendor/. Edit them however you like; updating the package never overwrites your edits.# 1. Install the CLI
composer require blatui/blatui
# 2. Peer packages used by the components
composer require gehrisandro/tailwind-merge-laravel mallardduck/blade-lucide-icons
npm install -D alpinejs @alpinejs/anchor @alpinejs/collapse @alpinejs/focus
# 3. Publish the foundations (theme tokens + Alpine/chart/calendar engine)
php artisan vendor:publish --tag=blatui-foundations
# → resources/css/blatui.css (oklch design tokens, presets, light/dark)
# → resources/js/blatui.js (greenfield bootstrap — boots Alpine for you)
# → resources/js/blatui-core.js (engine: registerBlatUI, for apps already running Alpine)
# 4. Verify your setup
php artisan blatui:init
Point your two Vite entrypoints at the published foundations — replace each file's contents:
/* resources/css/app.css */
@import "./blatui.css";
// resources/js/app.js
import "./blatui.js";
blatui.cssbrings Tailwind, the design tokens and the@thememapping;blatui.jsboots Alpine + its plugins and lazy-loads ApexCharts. Runblatui:initto confirm everything (packages, tokens, imports) is wired up.
The foundations are published once and become yours — tweak the tokens, drop the chart engine if you don't need charts, etc.
blatui:initwill tell you what's still missing.
Everything is additive — you don't replace your files.
@theme inline, oklch). On
Tailwind v3, migrate first with npx @tailwindcss/upgrade; blatui:init detects the version.@import "./blatui.css"; to your existing app.css, below @import "tailwindcss";.blatui.js (it would boot a second Alpine).
Register BlatUI into your own instance instead, before you start it:import Alpine from 'alpinejs'
import { registerBlatUI } from './blatui-core.js'
registerBlatUI(Alpine) // plugins + theme store + chart/calendar engines
window.Alpine = Alpine
Alpine.start()
# Add one or more — dependencies are resolved automatically
php artisan blatui:add button card input
# See everything you can add — components, blocks & charts
php artisan blatui:list
# Details for a single component
php artisan blatui:list select
# Everything at once
php artisan blatui:add --all
Components land in resources/views/components/ui/ as Blade tags:
<x-ui.card class="max-w-sm">
<x-ui.card-header>
<x-ui.card-title>Welcome back</x-ui.card-title>
<x-ui.card-description>Sign in to continue.</x-ui.card-description>
</x-ui.card-header>
<x-ui.card-content class="space-y-3">
<x-ui.input type="email" placeholder="m@example.com" />
<x-ui.button class="w-full">Sign in</x-ui.button>
</x-ui.card-content>
</x-ui.card>
blatui:add prints any extra composer/npm packages a component needs
(e.g. charts pull in apexcharts).
Blocks (dashboards, sidebars, login pages…) and the 70 charts are copy-paste from the demo site — they're full-page compositions, not primitives, so you grab the exact source you want rather than installing it:
👉 Browse blocks & charts on the live demo
| Command | Description |
|---|---|
blatui:init | Doctor — checks packages, Tailwind v4, theme tokens, Alpine/engine wiring |
blatui:list [component] | List all component families, or detail one |
blatui:add <components...> | Copy components (+ deps) into your project |
vendor:publish --tag=blatui-foundations | Publish theme CSS + JS engine |
BlatUI is a port of shadcn/ui to the Laravel/Blade ecosystem. Thanks to shadcn and contributors. Icons by Lucide. Charts by ApexCharts.
MIT — free for personal and commercial use.