Launch sale — 60% off Pro
Contact
CollapsibleOutline

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

React Collapsible - Dashed Outline

A React collapsible with border-dashed outline creating subtle visual definition for optional or secondary expandable configuration sections using shadcn/ui

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Dashed borders whisper where solid borders shout. This React collapsible uses border-2 border-dashed creating gentle visual definition for optional content. Built with shadcn/ui and Radix UI featuring text-based expand indicator and key-value settings display. The dashed border signals this is supplementary—not core functionality but available if needed. The lighter visual weight compared to solid outlines makes sections feel less imposing—perfect for optional settings, advanced configurations, secondary features, developer options, or anywhere expandable content is useful but not essential to primary workflow.

Pattern created by @haydenbleasel

Installation

Questions you might have