Handmade clay mug
Orange glaze, made in a small workshop.
$24
A crew of cursors builds your site piece by piece: drawing boxes, typing text and clicking buttons into place. The first screen builds right away, the rest as you scroll.
On any site
banna works out by itself which parts are boxes, which are text and which are buttons. You don't need to mark anything.
Orange glaze, made in a small workshop.
$24
A page that opens fast and says one thing clearly keeps its visitors. Three simple ideas to start with.
Read moreOne email a month, no ads.
Use it
banna is one file, with no dependencies and no build step. It doesn't need a framework either.
Ideally before your stylesheets, without defer or async.
<script src="https://cdn.jsdelivr.net/gh/Rokhbin/banna@1/banna.js"></script>If you'd rather host the file yourself, take banna.js from GitHub and change the address.
| Option | Default | What it does |
|---|---|---|
data-speed | 1 | Build speed. Higher is faster. |
data-agents | 8, or 4 on phones | Number of cursors. |
data-once="session" | off | Play once per browser session. |
data-colors | seven colors | Cursor colors, separated by commas. |
data-banna-skip | Put it on any part, and banna leaves it alone. |
Safe to use
It only hides and reveals. Search engines still read the whole page.
No trackers, and no requests to other sites.
Visitors can skip with the button or Esc, and it never runs for people who ask for reduced motion.
Whatever goes wrong, the page appears in full right away.
Author