Guglielmo Giannattasio

Broken by Design — Shattered Glass Hero

Heroes 507

About

Impact-fracture hero built from real shattered glass. Sixteen independent fragments per breakpoint react to the cursor with 3D tilt, parallax and specular light. The title is masked into each shard — physically broken across the pane. Fully responsive, zero animation deps.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Broken by Design — Shattered Glass Hero to your project and fits it to your theme.

Code

How Broken by Design — Shattered Glass Hero is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import BrokenByDesign from '@/components/ui/broken-by-design'

export default function BrokenByDesignDemo() {
  return <BrokenByDesign />
}

More by Guglielmo Giannattasio

View all
  • Scroll-Locked Video Hero

    Scroll-Locked Video Hero

    3.3K
  • Liquid Sculpture Hero

    Liquid Sculpture Hero

    1.4K
  • Liquid Glass Navbar

    Liquid Glass Navbar

    661
  • Sunset Skyline Hero

    Sunset Skyline Hero

    487
  • Elsewhere — Day/Night Video Hero with Ambient Sound

    Elsewhere — Day/Night Video Hero with Ambient Sound

    215
  • Shave Reveal Hero

    Shave Reveal Hero

    73
  • Liquid Glass Toggle

    Liquid Glass Toggle

    58
  • UFO Hero

    UFO Hero

    52

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.5K
  • Hero

    Hero

    1.3K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Editorial Collage Hero

    Editorial Collage Hero

    458
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    968
  • Aero Hero-3

    Aero Hero-3

    576
  • Hero 03

    Hero 03

    328
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    296

Explore more

Part of Prima — browse the full library on 21st.dev.