Stop Rebuilding UI

Shadcn.io is not affiliated with official shadcn/ui

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

Text alignment shouldn't require toolbar hunting. This React context menu provides alignment options via nested submenu—left, center, right, justify—plus indent controls. Built with shadcn/ui and Radix UI with Lucide React alignment icons—perfect for document editors, blog platforms, or email composers where text layout matters.

Text Alignment Menu preview

Scroll to load preview

Installation

FAQ

Was this page helpful?

Sign in to leave feedback.