Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ux Toolkit Laravel Package

symfony/ux-toolkit

Symfony UX Toolkit offers shared utilities and conventions for building Symfony UX packages, simplifying frontend integration and reducing boilerplate when wiring JavaScript components into Symfony applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

Caveat up front for decision-makers: the release data describes Symfony UX Toolkit (symfony/ux-toolkit) — a PHP/Twig component kit, not a Laravel package. It ships Shadcn-style UI recipes (dialog, sheet, drawer, combobox, toast, command palette, context menu, navigation menu, resizable, slider, date picker, etc.) for Symfony + Twig + Tailwind stacks. If your roadmap assumes Laravel/Blade/Livewire, the decisions below apply to the category (buy a component kit vs. build one), but the specific package is not a drop-in for a Laravel codebase.

  • Build vs. buy for the design system / UI kit layer. v3.6.0 adds three new recipes — toast, command, and context-menu — and realigns select, combobox, input-group, and the overall kit with the upstream Shadcn reference. This is the "buy" option maturing: the marginal cost of a new interactive surface (notifications, command palette, right-click menus) drops from weeks of bespoke a11y work to an install command.
  • Accessibility / compliance roadmap. Roughly two-thirds of this changelog is accessibility and interaction correctness: accessible names on modals, aria-expanded sync on dialog triggers, aria-label no longer dropped on pagination/breadcrumb/questionnaire, keyboard-trap fixes (closed sheets/drawers no longer reachable by Tab), disabled slider no longer reacting to keys, arrow-key getting stuck before a disabled accordion item, dark-mode legibility on inactive tabs, tooltip viewport clamping. If you are scoping WCAG 2.2 AA / European Accessibility Act work, this release is direct evidence the kit is being actively hardened — a strong input to "remediate our own components" vs. "adopt a maintained kit."
  • QA and design-review cost. New kit preview assets plus a preview app (#3947) and visual tests for recipes (#3948) give design and QA a reference environment instead of a staging build. That changes the resourcing math on a design-system initiative — fewer engineer-hours spent building a component gallery.
  • Upgrade risk / release cadence judgement. This is a minor version with no breaking changes and no deprecations: bug fixes, one tooling bump, plus features. Several fixes target components "once moved in the DOM" (modal, alert-dialog, dialog, sonner, resizable, navigation-menu) — i.e., resilience in Turbo/SPA-style re-render flows. If your app does partial page swaps, this materially reduces a known class of production bugs.
  • Developer-experience investment. ux:install now shows a diff before overwriting a file, and no longer refuses to overwrite a recipe newer than the local file. Low-glamour, but it removes the most common reason teams fork components out of the kit and drift from upstream.
  • Roadmap sequencing signal. The consistent "align with upstream Shadcn" work means the kit is a lagging mirror of an upstream JS design language, not an independent design opinion. That is good for teams who want Shadcn's look, and a caution for teams with a distinct brand system.

When to Consider This Package

Adopt it when most of the following hold:

  • The stack is Symfony + Twig + Tailwind, and you are willing to follow the Shadcn conventions rather than invent a component language.
  • You need a broad set of interactive primitives — dialogs, sheets, drawers, popovers, comboboxes, menus, toast, resizable panels — and the alternative is assembling them from scratch with the associated accessibility burden.
  • Accessibility is a stated requirement, not a nice-to-have. This release shows the project actively fixing focus, keyboard-trap, accessible-name, and dark-mode contrast defects; matching that cadence in-house is expensive.
  • Your front-end does partial DOM replacement (Turbo, htmx, morph swaps). The "moved in the DOM" fixes specifically address you.
  • You want short-lived feature spikes: the command, context-menu, and toast recipes let you prototype a search palette or notification system in a sprint rather than a quarter.
  • You value installable, inspectable source over a black-box npm dependency — recipes are copied into your codebase, so you own and can fork them.

Look elsewhere when:

  • The project is Laravel, not Symfony. There is no Laravel integration here; equivalent Laravel options (Livewire/Filament component sets, or a JS-first kit consumed via Vite) are the realistic comparison. Do not let "PHP package" framing pull you into a stack mismatch.
  • You need a strongly branded, non-Shadcn visual language. The roadmap is explicitly alignment with upstream Shadcn; upstream churn becomes your churn.
  • You are on Twig 4 or pre-release Twig, or on older Symfony versions — this release contains a fix for the kit linter crashing on Twig 4, which implies the toolchain edge is still stabilizing.
  • You require long-term support commitments or a commercial SLA. This is an OSS component kit with a high-velocity patch cadence; expect to take minor upgrades regularly.
  • Your team cannot absorb copied-in recipe maintenance. Recipes in your repo are your code the moment you edit them.

How to Pitch It (Stakeholders)

To executives (one paragraph): We evaluated a PHP component kit that supplies pre-built, accessibility-tested UI pieces rather than us hand-rolling them. The newest release adds three commonly requested capabilities — notifications, a command palette, and right-click menus — and closes a long list of accessibility defects around keyboard navigation, screen-reader labelling, focus management, and dark-mode contrast. The practical effect is that accessibility compliance work shifts from "build it ourselves and prove it" to "adopt, verify, and configure." Risk of upgrading is low: no breaking changes, no deprecations, bug fixes and additive features only. One flag: this is a Symfony/Twig toolkit, not Laravel — if our stack is Laravel, this informs the build-vs-buy decision but is not itself the answer, and I would recommend a short evaluation of Laravel-native equivalents before committing.

To engineering leadership: This is a low-risk minor upgrade with a high defect-fix density. Two things worth noting concretely: (1) a cluster of fixes for components losing state after being moved in the DOM — directly relevant if we use Turbo-style partial swaps, and it likely retires some of our own workarounds; (2) ux:install now diffs before overwriting and correctly overwrites when the recipe is newer than the local file, which reduces the incentive to fork components and drift from upstream. Cost is a routine dependency bump plus re-running install for the new recipes we want; we should time it against our accessibility audit so the audit runs against the fixed version.

To design and QA: A preview app and shipped preview assets now accompany the kit, and visual tests cover recipes — we get a canonical reference for component appearance and states instead of maintaining screenshots by hand. Design should treat upstream Shadcn as the source of truth for look and feel; deviations should be deliberate and documented, because the project's stated direction is to stay aligned with upstream.

Recommendation: Treat this release as evidence the kit is a credible buy for Symfony/Twig front ends, and as a trigger to run a short, structured comparison against our actual stack before we commit roadmap capacity to it. No emergency action; fold the upgrade into the next maintenance window.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource