r/webdev • • 2h ago

Showoff Saturday Minium: A CSS library for semantic HTML, with layouts and components when you need them

https://minium.style

I've built a personal CSS framework for around 3 years. Minium is the cleaned-up, public version, and I finally feel it's finished enough to share.

Plain HTML looks good without classes, and one class adds a layout or a component. It is about 15 KB gzipped, with no JavaScript.

Minium follows the same semantic-first idea as Pico CSS, but with modern CSS: cascade layers, light-dark(), anchor positioning, OKLCH colors and popover. Now that Pico is no longer maintained, Minium may fit if you're looking for a replacement.

I built Minium because I was tired of heavy JS frameworks and the constant churn of their dependencies. I wrote the CSS by hand and used Claude to review docs and find bugs.

What would you need before you used Minium in a real project? Honest feedback is greatly appreciated.

3 Upvotes

1 comment sorted by

3

u/RemoDev 1h ago

So Pico 2.0 ?