Go to homepage

Projects /

Explorer

Modal window with autocomplete search.

View Demo

Dependencies

All components are compatible with CodyFrame, Tailwind CSS or any other CSS framework.

To use this component, include the following 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 ↗

Level up your CSS skills

Each month we email a 1-minute CSS tutorial to 20K developers

Awesome! We just sent you a confirmation link by email

Error - please try again or contact us

Your email address is already subscribed

Project duplicated

Project created

Globals imported

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