Top
Best
New

Posted by twapi 18 hours ago

Oat – Ultra-lightweight, zero dependency, semantic HTML, CSS, JS UI library(oat.ink)
https://github.com/knadh/oat

Related: https://nadh.in/blog/javascript-ecosystem-software-developme...

458 points | 122 commentspage 3
bitbasher 6 hours ago|
Confusing name, conflicts with Oat++?

https://oatpp.io/

hkt 7 hours ago||
This is gorgeous. I hate frontend because of its sheer gratuity, and this is the kind of thing that might get me back into it. The only other contender for interactivity I'd consider is HTMX, and I'm going to boldly assume I'll be able to combine them without too much bother.

Bravo to the author, keep at it. I'll be recommending this to anyone who will listen.

masklinn 11 hours ago||
It’s a bit odd that the accordion uses details but the dropdowns require a custom element.
mkl 17 hours ago||
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.
recursive 6 hours ago||
My first guess is that one of your add-ons is interacting badly.
skeledrew 11 hours ago||
I have 0 delay for all parts of it. Everything loads and works instantaneously. Firefox on Android.
scandox 9 hours ago||
Was looking at the spinner component for a few seconds thinking "that's a bit slow"...
Xeoncross 12 hours ago||
Thank you for sharing, I would like to see a navigation/menu component added though as that's required for most websites.
bpev 17 hours ago||
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.
intrasight 10 hours ago||
What's with variable names starting with "#" as first character?
afishhh 10 hours ago||
If you are referring to class members in the JavaScript then those are private fields[1]

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

intrasight 7 hours ago||
I had Googled my question too. Got no hits which is why I asked. Haven't seen it before.
animal_spirits 10 hours ago||
That's just markdown headers. Some people like to include # as part of the header aesthetic
chrisweekly 9 hours ago||
No, the Q was about javascript not markdown. Peer comment from afishh (9m after yours) has it right.
neon_me 18 hours ago||
Nice job! Clicked tru my obscure mobile firefox and all worked well!
TrevorFSmith 14 hours ago|
If nothing else, it's refreshing to see nicely modern CSS and JS formatted and laid out in a legible manner. https://github.com/knadh/oat/tree/master/src
More comments...