logoalt Hacker News

Oat – Ultra-lightweight, semantic, zero-dependency HTML UI component library

146 pointsby twapitoday at 8:17 AM33 commentsview on HN

Comments

scandinaviantoday at 9:30 AM

5 day old repo, 2000 stars on GitHub, 400 total weekly downloads on npm. Frontpage of hacker news with a bunch of weird comments. Moderation has been lacking recently.

show 2 replies
swiftcodertoday at 9:36 AM

The motivating blog post[1] linked from the front page is probably going to generate a more interesting discussion than the framework itself.

As someone who has to deal with both angular and nextjs for different (but overlapping) stacks at work, I find myself increasingly sympathetic to this viewpoint.

[1]: https://nadh.in/blog/javascript-ecosystem-software-developme...

potato-peelertoday at 10:11 AM

Thank you testing this on older browsers before releasing. This is truly an ultra minimal library - https://ibb.co/DDGmLYdg, https://ibb.co/h1WQG3GK

hiyertoday at 11:06 AM

Reminds me of what bootstrap [1] was like around a decade ago. It's gotten quite a bit bloated since then though.

1. https://getbootstrap.com/

rohitpaulktoday at 9:55 AM

Surprised that none of the comments here are comparing this to Bootstrap.

show 1 reply
mkltoday at 9:39 AM

Seems pretty unresponsive to me. I'm getting at least half a second of delay before the accordion, drop-down, or switch do anything. Chrome on Windows.

jlg23today at 9:28 AM

My initial reaction was that I have to use this just because of the buzzword density in the title. But after reading up, it looks like the author was pretty successful in moving the bloat from code to announcement title. I'll give this a try!

bpevtoday at 9:00 AM

Amazing! I recently started building something similar for the same reasons, but more out of frustration rather than out of desire. I'll have to give this one a try and see if it fills the need.

neon_metoday at 8:48 AM

Nice job! Clicked tru my obscure mobile firefox and all worked well!

kitdtoday at 9:05 AM

Great work! PicoCSS feels a bit too minimalist at times. This looks like a better balance of lightweight and functional.

Maxiontoday at 9:30 AM

This looks very very cool. Will definitely look in to using this for more static internal tools!

mgaunardtoday at 10:03 AM

The code example doesn't render for me.

koakuma-chantoday at 9:29 AM

This is kind of misleading. It says it's an HTML UI library, then it says HTML + CSS, and then it says it also includes JavaScript. Why is this better than, say, DaisyUI?

show 1 reply
visargatoday at 9:38 AM

This does not even need a LLM skill, just load the whole code up in context, so efficient.

akrausstoday at 10:18 AM

No Datepicker?

show 1 reply
mcknztoday at 9:52 AM

should call it oatmilk for max exposure

yoz-ytoday at 9:33 AM

Claims no classes but uses data- attributes and also classes (just look at the button example…)

Looks okay, but I don’t see why to use this over something like Marx if all you need is to not have bare browser default styling.

andrei_says_today at 9:13 AM

Thank you for this, can’t wait to use. Minimalism at its best.

dingitoday at 9:55 AM

Use of semantic elements is an interesting take. I'll give it a try.

deafpolygontoday at 9:02 AM

I love it. We need to see more of this.

radotoday at 9:14 AM

Good one. Presentation is good too. Thanks