Minium CSS

The minimum CSS and HTML to build anything

Minium is a semantic-first CSS library that makes
ordinary HTML look good, then adds class-light lay-
outs and components for building real interfaces

Account settings

<article class="card">
  <h3>Account settings</h3>
  <form>
    <label>
      Workspace name
      <input type="text" name="workspace" value="Acme Analytics">
    </label>
    <label>
      <input type="checkbox" role="switch" checked>
      Send a weekly summary
    </label>
    <button type="submit">Save changes</button>
  </form>
</article>

Semantic HTML first

Minium styles native HTML elements directly: <button>, <details>, <dialog> and <input> all work without classes.

Composable layout classes

Compose pages with tiny layout utilities: .container, .grid, .sidebar, .cluster, .switcher and more. They adapt to available space without custom media queries.

Common components included

Cards, alerts, modals, dropdowns, tabs, side menus, badges, avatars, skeletons, and progress states cover common app UI

Class-light by design

One meaningful class beats wrapper stacks, utility chains, and framework-shaped HTML.

Accessible defaults

Minium favors native elements and browser behavior, preserves visible focus states, styles semantic and ARIA states, and respects reduced-motion preferences.

Easy to customize

Design tokens and cascade layers let you change color, type, spacing, radii, and density without rewriting components. All changes can be made in one file.

Why?

I built Minium because I was tired of bloated CSS and JavaScript frameworks and the constant churn of their dependencies. I wanted a simpler way to build fast web applications without replacing native HTML features with more JavaScript. Minium relies on semantic HTML and modern CSS keep applications light and easy to maintain.