Guglielmo Giannattasio

Broken by Design — Shattered Glass Hero

Heroes 543

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.9K
  • Liquid Glass Navbar

    Liquid Glass Navbar

    2.5K
  • Liquid Sculpture Hero

    Liquid Sculpture Hero

    2K
  • Liquid Glass Checkout

    Liquid Glass Checkout

    825
  • Sunset Skyline Hero

    Sunset Skyline Hero

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

    Elsewhere — Day/Night Video Hero with Ambient Sound

    426
  • Liquid Glass Toggle

    Liquid Glass Toggle

    381
  • Liquid Glass Accordion

    Liquid Glass Accordion

    225

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    37
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K

Explore more

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