UI Patterns Library Plus
Part of the UI ecosystem · 45 projects
UI Patterns Library Plus enhances the UI Patterns component browser with a Storybook-like interface. It provides improved navigation, filtering, and a more detailed view of components, including live editing capabilities for basic fields. The project offers default markup and styling that works with any theme and can be further customized through standard Drupal methods.
UI Patterns Library Plus gives the ui_patterns_library component browser a Storybook-style upgrade. As a Drupal decorator module, it enhances the existing browser pages without replacing their routes or controllers.
It ships its own default markup, styling, and JS, works with any active theme out of the box and has zero third-party JavaScript dependencies. Every part can still be overridden the normal Drupal way via theme template overrides and CSS custom properties.
Features
- Responsive two-column overview with instant client-side search and category pills
- Component cards with first-story preview, tags, and counts for variants / props / slots
- Tabbed single-component page: Preview, Stories, Variants, Props & Slots, & Usage
- Live, isolated component previews - shadow DOM, iframe, or inline, with per-component overrides and provider-theme rendering, so even JavaScript-driven components render correctly
- Storybook-style live Settings panel - edit props and text slots with AJAX-powered previews
- Copy-to-clipboard Twig includes that stay synchronized with the live Preview
- Light, dark, and system color schemes with theme-customizable CSS tokens (no global resets)
- Icon autocomplete for
icon-typed props (whenui_iconsis installed)
Requirements
- Drupal ^11.3 || ^12 + ui_patterns
- The
ui_patterns_librarysubmodule - Optional: ui_icons +
ui_icons_patternsfor components with icon-typed props
Depends on
Dependencies of the latest stable release
- UI Patterns (SDC in Drupal UI)
- UI Patterns (SDC in Drupal UI) ui_patterns_library
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the UI ecosystem
Most installed first