StealThis .dev

Storybook — Animated Mascot Guide

A friendly storybook mascot named Pip, a glowing inline-SVG fox-sprite that lives in a rounded scene and idles forever with blinking eyes and a gentle bob. Tapping Pip makes it wave, jump, and giggle with a speech bubble of helpful tips, while a mood selector swaps between happy, curious, and sleepy expressions, each with its own animation and palette. A Guide me button runs a tiny tooltip tour around the controls, every motion respects reduced-motion, and an easy-read toggle loosens the type.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Animated Mascot Guide

Meet Pip, a friendly little fox-sprite drawn entirely in inline SVG who lives inside a soft, rounded scene and acts as an onboarding helper for storybook apps. Left alone, Pip idles forever: the eyes blink on a lazy timer, the whole body bobs gently, the tail sways, and a warm glow pulses behind it. Tapping or pressing Enter on Pip triggers a happy reaction — it waves a paw, does a little jump, the cheeks flush, and a rounded speech bubble pops up with a rotating storybook tip.

A three-button mood selector lets you swap Pip’s emotion between happy, curious, and sleepy. Each mood changes the eyes and mouth, the accent palette, and the idle animation — curious Pip tilts its head and raises an eyebrow, sleepy Pip half-closes its eyes and shows a drifting Zzz. The Guide me button launches a tiny tooltip tour that walks a glowing spotlight around the mood buttons, Pip itself, and the toggles, with Next and Done controls and arrow-key support.

Everything is keyboard reachable with visible focus rings, the speech bubble and tour use polite live regions for screen readers, and all the bounce, wiggle, and pop animations collapse to calm fades when prefers-reduced-motion is set. An easy-read toggle swaps the body font and loosens letter, word, and line spacing, and the whole scene stacks gracefully down to 360px so Pip stays huggable on tiny phones.

Illustrative kids’ UI only — fictional stories, characters, and audio.