4 months ago
Tues Sep 30, 2025 10:16pm PST
Show HN: NanoModal – a tiny accessible modal library
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!

read article
comments:
add comment
loading comments...