What is Minium CSS?
Minium CSS is a semantic-first CSS library with modern defaults and composable layout primitives.
Does this need JavaScript?
No. It uses the browser's native details/summary behavior.
Components
An accordion is a stack of expandable panels that lets users show or hide sections of content. It uses native <details> and <summary> elements, which provide built-in disclosure semantics and work without JavaScript.
<details>.<summary> as the interactive label.<summary>.Minium CSS is a semantic-first CSS library with modern defaults and composable layout primitives.
No. It uses the browser's native details/summary behavior.
Wrap multiple <details> in a container with role="group" to make them look like a connected set.
Minium exposes color, spacing, and typography tokens as custom properties.
Flow, cluster, grid, switcher, and other layout primitives are available in @layer layout.
Semantic HTML provides the baseline; component styles add capability when needed.
Add role="button" to <summary> to apply button styling. Button variant and size classes, such as .secondary, .accent, and .small, also apply.
Review the account owner and contact information.
Choose which notifications you receive.
Configure optional display settings.
Use the following modifiers to change an accordion's presentation and initial state:
.border-none on <details> to remove its border and shadow.open to <details> to expand the panel initially.<details> elements the same name to allow only one panel to remain open.This panel keeps native accordion behavior without the default border and shadow frame.
<summary> a visible, non-empty label so the control has an accessible name.