Guglielmo Giannattasio

Broken by Design — Shattered Glass Hero

Heroes 516

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.4K
  • Liquid Sculpture Hero

    Liquid Sculpture Hero

    1.6K
  • Liquid Glass Navbar

    Liquid Glass Navbar

    1.3K
  • Sunset Skyline Hero

    Sunset Skyline Hero

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

    Elsewhere — Day/Night Video Hero with Ambient Sound

    260
  • Liquid Glass Toggle

    Liquid Glass Toggle

    209
  • Shave Reveal Hero

    Shave Reveal Hero

    77
  • UFO Hero

    UFO Hero

    54

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.1K
  • SaaS Template

    SaaS Template

    2.6K
  • Hero Section

    Hero Section

    175
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1K
  • Editorial Collage Hero

    Editorial Collage Hero

    474
  • Hero 03

    Hero 03

    345
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    432

Explore more

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