details

Details component together with Summary and DetailsContent can be used as a basis for accordions and collapsible panels.

Details is a controlled component meaning its open state needs to be provided via open prop in contrast to browser native details element.

Simple accordion

First
Now that we know who you are, I know who I am. Im not a mistake! It all makes sense! you know how you can tell who the arch...
Second
In a comic you know how you can tell who the arch-villain s going to be? Hes the exact opposite of the hero

Independent collapsible panels

First
Now that we know who you are, I know who I am. Im not a mistake! It all makes sense! you know how you can tell who the arch...
Second
In a comic you know how you can tell who the arch-villain s going to be? Hes the exact opposite of the hero

Details specific props

PropertyTypeRequiredDefaultDescription
openboolean-false

if true details contents are visible

Details, Summary and DetailsContent components accept all of the responsive, theme-based style props.

Theme

Component

Presets

Download


Colors
Spacing
Typography
Breakpoints
Borders
Miscellaneous