Hamid

Glitching Button

Buttons 53

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

    197
  • text-scramble

    text-scramble

    9

More in Buttons

View all
  • Button

    Button

    172
  • Texture Button

    Texture Button

    122
  • Button

    Button

    22
  • Button

    Button

    89
  • Button Group

    Button Group

    1
  • Button Group

    Button Group

    6
  • Button

    Button

    54
  • Native Button

    Native Button

    17