Hamid

Glitching Button

Buttons 43

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

    6

More in Buttons

View all
  • Button Save

    Button Save

    46
  • Button

    Button

    20
  • Eclipse Button

    Eclipse Button

    5
  • Button

    Button

    32
  • Button

    Button

    6
  • Button

    Button

    14
  • Button Group

    Button Group

    37
  • Split Button

    Split Button

    32