- LaralCN-UI: shadcn-style Blade components and blocks you own · part 21 of 26
- Laravel
- Blade
- ShadCN
- Figma
- LaralCN-UI
LaralCN-UI 0.6.0: seven components designed before they were coded
LaralCN-UI 0.6.0 brings the library to 41 components and 15 blocks. Six components are new and the toast became a queue, all of them drawn in Figma before any Blade was written. The release also carries the Esc fix for every dialog and a fully Arabic docs site.
5 min read
LaralCN-UI 0.6.0 brings the library to 41 components and 15 blocks. Six components are new and the toast became a queue, all of them drawn in Figma before any Blade was written. The release also carries the Esc fix for every dialog and a fully Arabic docs site.
What is in it
The six new components each had their own part in this series:
combobox: a searchable select with a hidden input that submits the value.command: a command palette on a native<dialog>, opened with Cmd/Ctrl+K.data-table: columns and rows with a filter, sortable headers, row selection and pagination.date-picker: a single date or a range, with month names from the page's<html lang>.file-upload: drag and drop over a native file input, withacceptandmax-sizechecks.stepper: a multi-step progress indicator with no JavaScript at all.
toast was upgraded in place with variants, updates by id, action buttons and a stack with a queue. The old event still works; duration: 0 now keeps a toast open instead of falling back to four seconds.
The Esc fix covers dialog, alert-dialog, sheet and the mobile sidebar, whose cancel listener never ran because cancel does not bubble. And every docs page now has an Arabic version under /ar, with highlighted code on the live site again.
Designed first, then four parallel builds
This round ran in the opposite order to everything before it. The first 35 components were written in Blade and drawn in Figma afterwards. These seven were designed in Figma first, with every variant and state, and the code was built to match the design.
Once the designs were done, the code went out as four parallel builds. All four worked from one shared authoring brief: the rules in docs/AUTHORING.md (an anonymous component, an inline match() for variants, TailwindMerge as the only outside symbol, theme tokens only, full class names in the source) plus the conventions this round added. The main new convention was for form components: they submit through a normal <form> and fire bubbling input and change events, so onchange, wire:model and x-model all work on them. Every visible string also had to be a prop, so the Arabic demos could translate it.
Each build was tested in a real browser with keyboard and mouse, in English and Arabic, in light and dark mode. That manual pass found things no unit test would have. The data table's page label read "Page 1 of 1s" because :page was replaced before :pages. The combobox's own search box fired input events that bubbled out to wire:model. And the command palette exposed the Esc bug that had been in every dialog since the start.
Integration
The builds landed together in PR #7, 58 files and about 4,660 lines. Before merging, the integration pass did the work that touches everything:
- Arabic strings in
website/lang/ar.jsonfor every new manifest's description and notes, plus the new toast text. - A smoke render case per component in
SmokeRenderTest, which copies the registry files into a Testbench app and renders them. - The coverage table in
all-components.md: 39 of 59 shadcn entries.file-uploadandstepperhave no shadcn counterpart. - The README count, now 41.
The package suite ended at 142 passing tests and the website at 15. ui:diff on the docs site showed no differences from the registry, and every new component page returned 200 in English and under /ar.
The version bump touched four files
A release here bumps version in the root composer.json and in the packages/blade-ui/composer.json shim. This time that was not enough. The docs site requires the package through a Composer path repository pointing at packages/blade-ui, and its constraint was ^0.5.0. On a 0.x version a caret stops before the next minor, so ^0.5.0 excludes 0.6.0. The path repository takes priority over Packagist, so Composer would not reach for 0.5.2 there either, and the site's lock would not update. The bump commit changed website/composer.json to ^0.6.0 and refreshed website/composer.lock alongside the two manifests.
It is a reminder of what the version number even means here. Between v0.5.2 and v0.6.0 the only change under packages/ is that version line. The CLI did not change. The components reach users through the registry, which ui:add reads from the main branch, so they were installable the moment PR #7 merged. The tag marks a point people can talk about and read release notes for, and the docs needed a website deploy.
Upgrading
composer update safi/laralcn-ui
php artisan ui:diff
ui:diff tells you which of your installed copies differ from the registry. Re-run ui:add for the dialog family to get the Esc fix, and for toast if you want the queue. ui:add asks before overwriting a file that differs and can show the diff first.
Where it is
composer require --dev safi/laralcn-ui
php artisan ui:init
php artisan ui:add combobox
Docs: https://laralcn-ui.abdulkadersafi.com (component pages at /components/
Next: the social card still showed 25 components, so I drew Plate II with all 41.
Last updated 1 Dec 2026 · filed under Laravel, blade, shadcn, figma, laralcn-ui