Glitch ButtonA terminal-inspired button with a text scramble glitch effect on hover.

Buttons & TogglesHero sectionGame UIPortfolio

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/glitch-button
2

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

Optional
<html class="dark">

Install with AI Canvas MCP

With AI Canvas MCP, your AI knows every component we ship. Ask for “a navigation component from AI Canvas” inside Claude Code, Codex, or Cursor and it can suggest you a few options, then install the one you like. Less typing, lower token cost, modern way to build.

Get MCP

About Glitch Button

Glitch Button is a terminal-aesthetic button that runs a text scramble on hover: each letter cycles through random glyphs before locking back to its intended character. The effect is a short Motion-driven cipher loop, fast enough to feel like signal rather than noise. It pairs naturally with monospace typefaces and dark surfaces, which makes it a good pick for hero CTAs on portfolio sites, game UI, AI products, and any landing page leaning into a hacker or sci-fi tone.

Built with

MotionTailwind CSS

More like this