Shadcn.io is not affiliated with official shadcn/ui
Text Formatting Menu
A React context menu for text formatting with bold, italic, underline, strikethrough, and clear formatting using keyboard shortcuts for rich text editors
Plain text is boring—formatting brings emphasis. This React context menu provides rich text formatting with bold, italic, underline, strikethrough, and clear options plus shortcuts. Built with shadcn/ui and Radix UI with Lucide React icons—perfect for document editors, note-taking apps, email composers, or blogging platforms.
Text Formatting Menu preview
Installation
Related Components
Text Editing Menu
Cut, copy, paste clipboard operations
Text Alignment Menu
Alignment and indentation with submenus
Font and Style Menu
Font family, size, and color selection
Icons and Shortcuts Menu
Similar icon and shortcut pattern
Spell Check Menu
Spell checking suggestions menu
Dropdown Menu
Alternative formatting toolbar
FAQ
Was this page helpful?
Sign in to leave feedback.
Text Editing Menu
A React context menu for text editing with cut, copy, paste, and select all operations plus standard keyboard shortcuts for text editors
Text Alignment Menu
A React context menu for text alignment with nested submenu (left, center, right, justify) and increase/decrease indent operations for rich text editors