This project is not covered by Drupal’s security advisory policy.
This is a demo module for Search Web Components that replaces the default Umami search experience with a sample layout builder based web component experience.
What's included
- A fully configured database search index and decoupled endpoint
- SWC search bar in the header
- SWC search page using layout builder and blocks
- Example of search input, pager, sort, and results list
- Examples of button, checkbox, and dropdown facets
- Demo styles for SWC components
What's included in the advanced module
- Dropdown html facet
- Collapsible facets
- Facet resets
- New custom web components search-results-recipe and search-example
- List vs Grid switcher
- Demo styles for SWC components
Installation
Before installing make sure you've correctly installed the Umami demo profile. DDEV is a great way to quickly spin up a local with Umami on it. If you have a functioning local and just need to install Umami this drush command will do it:
!!! WARNING: THIS COMMAND WILL DROP YOUR CURRENT DATABASE !!!
drush site:install demo_umami --account-name=admin --account-pass=admin
composer require drupal/umami_search_web_componentsdrush en umami_search_web_componentsdrush cr- Use the search in the header or visit
/searchto see the new search experience
Advanced features
This module also contains a submodule umami_search_web_components_adv that shows how to integrate custom components into the base components. To enable these:
drush en umami_search_web_components_advdrush cr- Use the search in the header or visit
/searchto see the new search experience
Project information
- Ecosystem: Search Web Components
- Created by ctrladel on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
Development version: 1.0.x-dev updated 21 Mar 2024 at 03:04 UTC


