Launch sale — 60% off Pro
Contact
Input GroupDropdown

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

React Input Group - Textarea with Dropdown

A React textarea input group with Format dropdown showing Plain Text, Markdown, HTML options and Send button using shadcn/ui InputGroupTextarea

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Textarea needs format selection—this React input group combines InputGroupTextarea with Format dropdown using ChevronDownIcon from Lucide React offering Plain Text, Markdown, HTML format choices and Send action button. Built with shadcn/ui InputGroup, InputGroupTextarea, InputGroupAddon, and DropdownMenu components featuring min-h-100px textarea, align block-end addon positioning, border-t separator, size sm buttons, ml-auto Send button positioning, and ghost Format dropdown. The format-enhanced textarea with action buttons creates rich text composition—perfect for messaging apps, comment systems, content editors, or anywhere users write formatted text needing format mode selection and submission controls.

Pattern created by @haydenbleasel

Installation

Questions you might have