Launch sale — 60% off Pro
Contact
Context MenuCanvas

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

React Context Menu - Align and Distribute Menu

A React context menu with nested submenus for alignment (left, center, right, top, middle, bottom) and distribution (horizontal, vertical) controls

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Manually aligning canvas elements gets tedious fast. This React context menu provides professional alignment and distribution controls through nested submenus. Built with shadcn/ui and Radix UI with Lucide React icons, it handles six alignment directions and horizontal/vertical distribution—perfect for design editors, wireframe tools, or any layout builder where pixel-perfect positioning matters.

Right click on selection

Pattern created by @haydenbleasel

Installation

Questions you might have