Skip to main content
Styling note. In SDK v3.2+, per-tenant theming is delivered by the Settings API — page CSS and CSS custom properties on the host element override those defaults when you need to customize per-embed. Legacy color attributes (brand-color, text-color, input-bg, etc.) are ignored.
All <bonsai-search> examples are listed below from minimal setup to full-page templates.
This minimal example includes required attributes, event listeners, and a small CSS override.
This example wraps the component in a container with custom CSS for layout and theming. Colors are set via CSS custom properties on the host element.

Next