PlayfulKinetic typography where letters jump, drop, and rotate on cursor proximity.

TypographyHero sectionGame UIChildren's site
STAY
WEIRD

Add to your project

One command adds this component to your project.

1

Run the following command. New project? Run npx shadcn@latest init first to set up Tailwind and path aliases.

npx shadcn@latest add @aicanvas/playful
2

For dark mode, add the dark class to your <html> element:

Optional
<html class="dark">
3

This component uses Science Gothic. Add it to your project:

Optional
<link href="https://fonts.googleapis.com/css2?family=Science+Gothic:wght@400;500;600;700;800&display=swap" rel="stylesheet">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for one inside Claude Code, Codex, or Cursor and it installs the component you pick. Works with any AI Canvas account, free or premium.

About Playful

Playful is kinetic typography that makes letters jump, drop, and rotate as your cursor approaches each one, like the headline is sneezing or hopping out of the way. Motion drives the per-letter physics and the staggered randomness so the effect feels organic rather than mechanical. It is the right pick for children-focused sites, game-UI headlines, festival posters, and any moment where typography should feel like a character with its own mood.

Built with

MotionTailwind CSS

Frequently asked questions

Is Playful free to use?
Yes. Playful is part of the free AI Canvas library and is open source under the MIT license, so you can use it in personal and commercial projects.
How do I install Playful?
One command: npx shadcn@latest add https://aicanvas.me/r/playful.json, free with a free AI Canvas account. Or connect the AI Canvas MCP server and ask your AI editor to install Playful for you. You can also copy the source straight from the Code tab, no account needed. It works in any React project with Tailwind CSS.
What is Playful built with?
Playful is built with React and TypeScript, using Motion and Tailwind CSS. It ships with both light and dark styling.
Where would I use Playful?
Common uses include Hero section, Game UI, and Children's site. Like every AI Canvas component, it is self-contained and drops into any React project.
Can I remix Playful with AI?
Yes. Playful ships with one comprehensive AI prompt written against the real source code. Open "Remix with AI" on this page to read and copy it into Claude, Cursor, ChatGPT, or any AI tool. Prompts are for remixing your own variation; for the exact component, install it with the one-command CLI.

Featured in collections

More like this