Launch sale — 60% off Pro
Contact
Dropdown MenuSettings

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Dropdown Menu - Preferences Dropdown

A React editor preferences dropdown with DropdownMenuCheckboxItem toggles for Auto-save, Spell Check, Line Numbers, Word Wrap, and Minimap

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Editor customization matters—developers and writers need preferences matching their workflow without diving into settings pages. This React preferences dropdown uses shadcn/ui DropdownMenu with Settings icon trigger featuring Auto-save, Spell Check, Line Numbers, Word Wrap, and Minimap toggles using DropdownMenuCheckboxItem and Lucide React. Built with Radix UI primitives and useState managing five preference states. The preferences pattern improves productivity—perfect for code editors, text editors, IDEs, or anywhere editor configuration needs instant access.

Pattern created by @haydenbleasel

Installation

Questions you might have