Minium: a CSS library for semantic HTML, with layouts and components
Minium is a CSS library, licensed under MIT, that styles native HTML elements such as button, details, dialog and input without requiring classes. It also provides a small set of layout classes, including .container, .grid, .sidebar, .cluster and .switcher, which adapt to available space without custom media queries.
The library includes ready-made components: cards, alerts, modals, dropdowns, tabs, side menus, badges, avatars, skeletons and progress states. It has no JavaScript dependency. Colors, type, spacing, radii and density can be changed in one file through design tokens[1] and cascade layers[2], without rewriting components.
Minium keeps visible focus states, styles ARIA[3] states and respects reduced-motion preferences. The author built it because they were tired of bloated CSS and JavaScript frameworks and their constant dependency changes, and wanted a simpler way to build fast web applications.
Read the original minium.styleDiscussion
Sources
-
minium.style
Minium: A CSS library for semantic HTML, with layouts and components when you need them



