Building a command palette with Tailwind CSS, React, and Headless UI

Tailwind Labs on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

IntermediateUI38 min

About this video

Walks through building an accessible command palette with Tailwind CSS, React and the Combobox component from Headless UI. Covers dialog and combobox setup, styling, search, empty states, keyboard shortcuts and transitions.

What you’ll learn

  • Build a searchable dialog with the Headless UI Combobox component
  • Style an accessible command palette with Tailwind CSS
  • Add a custom keyboard shortcut and subtle transitions to a React component