banna بنّا

Your page, built in front of your visitors.

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.

Get it on GitHub

On any site

A shop, a blog or a sign-up page

banna works out by itself which parts are boxes, which are text and which are buttons. You don't need to mark anything.

Shop

Handmade clay mug

Orange glaze, made in a small workshop.

$24

Blog

Why simple sites get noticed

A page that opens fast and says one thing clearly keeps its visitors. Three simple ideas to start with.

Read more
Sign up

Newsletter

One email a month, no ads.

Use it

Just one line

banna is one file, with no dependencies and no build step. It doesn't need a framework either.

  1. 1

    Put this line in your <head>

    Ideally before your stylesheets, without defer or async.

    <script src="https://cdn.jsdelivr.net/gh/Rokhbin/banna@1/banna.js"></script>
  2. 2

    That's it. Open your page

    If you'd rather host the file yourself, take banna.js from GitHub and change the address.

OptionDefaultWhat it does
data-speed1Build speed. Higher is faster.
data-agents8, or 4 on phonesNumber of cursors.
data-once="session"offPlay once per browser session.
data-colorsseven colorsCursor colors, separated by commas.
data-banna-skipPut it on any part, and banna leaves it alone.

Safe to use

It doesn't break anything

Your text is never rewritten

It only hides and reveals. Search engines still read the whole page.

Nothing is sent anywhere

No trackers, and no requests to other sites.

Nobody is kept waiting

Visitors can skip with the button or Esc, and it never runs for people who ask for reduced motion.

If it fails, your page is still there

Whatever goes wrong, the page appears in full right away.

Author

Who made banna?

Mohammadreza Rokhbin

Programmer and information security specialist, with 23 years of experience. I wrote banna from scratch so anyone can build their site in front of their visitors. It's free to use.