Skip to main content
InstantSearch.css provides a set of themes to style your search experiences with minimal effort. The themes are designed to be customizable through CSS variables (CSS custom properties), allowing you to match your brand identity while maintaining the core layout and features.
CSS variables are currently only supported for chat and autocomplete widgets.

Loading themes

InstantSearch.css includes two main themes:
  • satellite.css - A complete theme with modern styling
  • algolia.css - Algolia-branded theme
Both themes include reset.css, a minimal reset theme that provides base styles.

Use a CDN

The themes are available on jsDelivr:
HTML

Using npm

Then import it in your project:
JavaScript

Loading individual component styles

If you only need specific components, you can import their styles individually to reduce bundle size. This is currently available for chat and autocomplete components:
JavaScript
JavaScript
Individual component styles include all CSS variables and theming capabilities of the full themes. You can still customize them using the same CSS variable overrides.

Development tools

InstantSearch.css provides developer tools that help you customize CSS variables visually in your browser. The developer tools display an interactive panel where you can:
  • Modify CSS variables in real-time
  • Toggle between theme modes (Auto, Light, Dark)
  • Export your customized variables to clipboard
InstantSearch.css developer tools

Use the developer tools

Import the developer tools in your application:
JavaScript
The developer tools panel will appear in the bottom-left corner of your browser, allowing you to interactively customize colors, spacing, typography, and more.
The developer tools are intended for development only. Don’t include them in your production build.

Programmatic usage

You can also create the developer tools programmatically with custom options:
JavaScript

Customization example

You can override any CSS variable to match your brand:
CSS

Dark mode

The themes support dark mode in two ways:

Using data-theme attribute

HTML

Using CSS class

HTML
Both approaches automatically adjust the following variables:
CSS

Custom dark mode colors

You can override dark mode colors:
CSS

Complete variable reference

For a complete list of all available CSS variables with detailed descriptions, see the tables below:

Text colors

Border, background, and shadow colors

Spacing

Typography

Icons

Shadows

Border radius

Transitions

Z-index

Component-specific

Chat component

Autocomplete component

Last modified on July 22, 2026