frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: NanoModal – a tiny accessible modal library

https://muffinman.io/nano-modal/
1•stanko•4mo ago
Hey HN,

I love using native web elements, but with <dialog> there are a bunch of small quirks and cross browser differences. I decided to make a tiny library (850 bytes gzipped) around the dialog element so solve these.

NanoModal is accessible, has animations and it is easy to customize using CSS. I already started using it on my projects.

Please let me know what you think and if you find any issues with it, thank you!