Searchable Dropdown

A dropdown menu with search/filter functionality and smooth animations.

Open in v0

Last updated: February 17, 2026

Select a device

Installation

npx smoothui-cli add searchable-dropdown

Features

  • Real-time search filtering with smooth transitions
  • Support for item descriptions and icons
  • Keyboard navigation (Escape to close)
  • Animated clear button for search input
  • Staggered animation for filtered results
  • Empty state message when no results found
  • Click outside to close
  • Fully accessible and customizable

Props

Item Props

Each item in the dropdown can have the following properties:

PropertyTypeDescription
idstring | numberUnique identifier for the item
labelstringDisplay text for the item
iconReact.ReactNodeOptional icon to display before the label
descriptionstringOptional description text below the label

On this page

Created by

Improved by

Edu Calvo's avatar

Powered by

lucide.dev
motion.dev