Dhileep Kumar GM

Shatterable Glass Card

Cards 53

About

A glass-style card that you can literally crack and shatter on click—complete with Voronoi-based shards rendered to canvas, wobbling SVG cracks, and dynamic audio feedback via Tone.js.

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

Code

How Shatterable Glass Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import ShatterableGlassCard  from "@/components/ui/shatterable-glass-card";

export default function DemoOne() {
  return <ShatterableGlassCard />;
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    947
  • Mountain Scene

    Mountain Scene

    864
  • HolographicCard

    HolographicCard

    819
  • 3D Animation

    3D Animation

    781
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    557

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.1K
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    223
  • Stats cards with links

    Stats cards with links

    84
  • Card Studio

    Card Studio

    10
  • Statistics Card 7

    Statistics Card 7

    301
  • Weather Card

    Weather Card

    59
  • Statistics Card 2

    Statistics Card 2

    276
  • Card

    Card

    56