✨ We just launched fimo.ai - an AI Website Builder to create websites in minutes - Try it now

Strapi plugin logo for Straplight

Straplight

Spotlight-like search overlay for the Strapi admin panel. Press Cmd+K (or Ctrl+K) to instantly search across all your content types.

thumbnail for Straplight

Straplight icon

Straplight

Spotlight-like search overlay for the Strapi admin panel. Press Cmd+K (or Ctrl+K) to instantly search across all your content types.

Straplight search overlay

Features

  • Cmd+K search overlay — opens a search dialog from anywhere in the admin panel
  • Full-text search — searches across all string fields (title, name, text, email, richtext, etc.) in your api:: content types
  • Keyboard navigation — use arrow keys to navigate results, Enter to open, Escape to close
  • Debounced search with stale-response protection — fast and flicker-free
  • Dark and light theme support — follows your Strapi admin theme
  • Configurable — fine-tune search behavior and choose which content types are searchable via the settings page

Installation

npm install straplight
# or
yarn add straplight

Add the plugin to your Strapi configuration:

// config/plugins.ts
export default () => ({
  straplight: {
    enabled: true,
  },
});

Rebuild your admin panel:

yarn build
yarn develop

Usage

  1. Press Cmd+K (macOS) or Ctrl+K (Windows/Linux) from anywhere in the admin panel
  2. Start typing to search across all your content types
  3. Use Arrow Up/Down to navigate results
  4. Press Enter to open the selected entry in the Content Manager
  5. Press Escape to close the overlay

Settings

Navigate to Settings > Straplight in the admin panel to configure the plugin.

General

SettingDescriptionDefault
DelayDebounce delay in milliseconds before triggering a search200
Min charactersMinimum query length required to trigger a search1

Content Types

The content types table lets you control search behavior per content type:

  • Enabled — toggle whether a content type is included in search results
  • Additional display fields — choose up to 2 extra fields to show alongside the main field in search results (supports relations)

All api:: content types are searchable by default.

Compatibility

  • Strapi v5 (5.x)
  • Node.js >= 18

License

MIT

Install now

npm install straplight

STATS

2 GitHub starsNot downloaded this week

Last updated

11 days ago

Strapi Version

5.35.0 and above

Author

github profile image for Bartosz Gamza
Bartosz Gamza

Useful links

Create your own plugin

Check out the available plugin resources that will help you to develop your plugin or provider and get it listed on the marketplace.