Go to homepage

Projects /

Explorer

Modal window with autocomplete search.

View Demo

Dependencies

How to

The Explorer plugin is a search with autocomplete, displayed in a modal window. It can be used to provide quick commands to the user, or it can act as website content filter.

This component is based on the autocomplete plugin, therefore it inherits its options:

  • create custom templates for the result items
  • show quick links/commands
  • result autocomplete
  • and more...

The component includes the following CSS custom properties:

:root {
  // input
  --explorer-input-height: 3em;
  --explorer-input-padding-x: var(--space-sm);
  --explorer-input-padding-y: 0;

  // result items
  --explorer-dropdown-max-items: 6; // max number of visible results
  --explorer-result-item-height: 3em;
  --explorer-result-item-padding-x: var(--space-sm);
  --explorer-result-item-padding-y: 0;
}

Categories

Bug report & feedback

Component Github page ↗

Project duplicated

Project created

Globals imported

There was an error while trying to export your project. Please try again or contact us.