🎉 Black Friday deal! 30% off your first year of CodyHouse Pro →

Projects

Progress value is 30%

Explorer

Modal window with autocomplete search.

View Demo

Dependencies

All components are based on CodyFrame.

If you're using this component, you should also include the SCSS/JS of the following components:

This component includes variations. Variations share the same SCSS/JS code but differ in their HTML.

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;
}

✅ Project duplicated

✅ Project created

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