Skip to content

Features

Small bundle size

The Nanosplash bundle is less than 2KB minified and gzipped and will not add any significant weight to your application what so ever. Go to Bundlephobia to see for yourself.

Simple, 2 Function API

Nanosplash was written from the ground up with simplicity in mind. The API is very simple and easy to use, and you can easily get started in seconds. Just install the package and start using ns.show and ns.hide. Go to Getting started to see how.

Spawning

With Nanosplash you can spawn a splash element anywhere in your DOM. You can even spawn multiple splash elements if you want to. Go to the API Documentation to see how.

Node recycling

Instead of creating new elements all the time and exhausting DOM manipulations, we recycle and repurpose obsolete splash elements instead. For each time a splash element is created, we check for existing splash elements inside the parent element and use them instead of creating new ones.