Live on this page
A little cat that walks across your website
Look at the bottom of this page: there's a cat walking around right now. Add the same friendly companion to your own site with one line of code. No dependencies, no tracking, about 18 KB.
Tip: click the cat to give it a little love.
Customize your cat
Walks calmly along the bottom of the page.
Copy & paste this
Drop this just before the closing </body> tag of your site:
That's it. The cat appears automatically. It honours the visitor's reduced-motion setting and never blocks your buttons or links.
A walking cat widget for any website
Walking Cat adds a small animated cat to a web page. It walks along the bottom edge of the browser window, stops to sit and blink, sometimes takes a nap with a floating "z", and shows a heart when a visitor clicks it. You can also let it chase the mouse cursor. It is the kind of detail that makes a personal site, a portfolio, a blog or a small shop feel friendlier, without getting in the way of anything on the page.
This page is both the demo and the generator. The cat you see is the same script your visitors will get:
pick the fur, size, speed and behaviour in the panel above, watch the cat change, then copy the code. The
code is one <script> tag that loads the widget from TechTools.cz, so there is nothing to
download, build or install.
How it works
-
Customize the cat
Pick the fur, size, speed and behaviour in the panel above. The cat on this page changes as you click, so you see the result straight away.
-
Copy the embed code
Press Copy embed code. The script tag in the Copy and paste box updates with every change you make.
-
Paste it into your page
Paste the tag into your HTML just before the closing </body> tag, or into your site builder's custom code field if it has one. Publish, and a cat now walks your site.
Why you'll like it
- Lightweight: one self-contained file of about 18 KB, no jQuery, no framework, no build step.
- Private: no tracking code and no cookies; once the script has loaded, the cat makes no network requests.
- Crisp: drawn as SVG, so it stays clean and sharp at any size.
- Considerate: visitors who prefer reduced motion get a still cat that only blinks.
- Alive: strolls, pauses, naps with a little "z", and shows a heart when you pet it.
- Six coats: tuxedo, black, white, orange tabby, gray and Siamese, with three walking speeds.
Options in the embed code
Every setting is a data- attribute on the script tag, so you can change the cat later by editing
one line, without coming back to this page.
Developers can drive the cat from JavaScript as well: WalkingCat.spawn({ skin: 'siamese', behavior: 'chase' })
replaces the cat with new settings and WalkingCat.destroy() removes it. Add
data-auto="false" to the tag to load the script without showing a cat until you call spawn.
Frequently asked questions
How do I add the walking cat to my website?
Copy the one-line script tag from this page and paste it before the closing </body> tag of your site. The cat appears automatically. Change the data- attributes to set the fur, size, speed and behaviour.
Is the Walking Cat widget free?
Yes. It is free, needs no account or sign-up and has no dependencies. You only include the script.
Will the cat get in the way of my site?
No. The cat sits on a transparent layer that ignores clicks everywhere except on the cat itself, so your buttons and links keep working. If a fixed footer bar or cookie banner covers the bottom edge, data-bottom lifts the cat above it.
Can the cat follow the mouse cursor?
Yes. Set data-behavior to "chase" and the cat runs after the cursor and sits when it catches up. The default, "stroll", walks calmly along the bottom of the page.
Does it work on phones and tablets?
Yes. On touch screens there is no cursor to chase, so a cat set to chase strolls along the bottom of the screen instead. Visitors can still tap the cat to see the heart.
Does the widget track my visitors?
No. The script contains no analytics or tracking code and sets no cookies. The browser downloads cat.js from techtools.cz like any hosted script; after that the cat makes no network requests.
How big is the script, and will it slow my page down?
The whole widget is one file of about 18 KB. The cat is drawn as SVG and animated with CSS and a single animation loop, and with the defer attribute the script waits until your page has been parsed.
Can I change or remove the cat later?
Yes. Edit the data- attributes in the tag to change it, or delete the tag to remove it. From JavaScript, WalkingCat.spawn() replaces the cat with new settings and WalkingCat.destroy() removes it.