Hamid

Glitching Button

Buttons 44

About

A word on a badge tearing itself apart — DOM + Web Animations API glitch. Stepped keyframes, envelope-driven slice bursts, negative overshoot tail, scrambled lookalike letters. Pauses offscreen/hidden, reduced-motion renders the plain word.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Glitching Button to your project and fits it to your theme.

Code

How Glitching Button is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { GlitchingButton } from "@/components/ui/glitching-button";

const settings = {
  word: "glitching",
  hot: false,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };

  return (
    <div className="flex min-h-screen items-center justify-center bg-background">
      <GlitchingButton word={s.word} hot={s.hot} />
    </div>
  );
}

More by Hamid

View all
  • spotlight-table

    spotlight-table

    193
  • text-scramble

    text-scramble

    7

More in Buttons

View all
  • Button Group

    Button Group

    2
  • App Store Button

    App Store Button

    458
  • Eclipse Button

    Eclipse Button

    6
  • Texture Button

    Texture Button

    96
  • Button

    Button

    5
  • Button Save

    Button Save

    47
  • Base Button

    Base Button

    3
  • HeroUI Button Group

    HeroUI Button Group