SunUI
Founding$79 lifetime updates till Jan 11Claim a seat
ProShowcaseSection

Loop Shader Hero

Campaign hero on a seamless-loop WebGL background in four looks: grain glow, mesh gradient, Bayer dither and fluted glass.

When to use it

  • Launch or seasonal campaign hero that needs a living background without shipping a video file
  • A long landing page where the background should move only as the visitor scrolls (drive="scroll")
  • A brand that wants one of four shader looks (grain, mesh, dither, fluted glass) tinted to its own three colors

Watch out

  • Keep palette.a and palette.b close in hue; a dark palette gets a bottom scrim for the copy, a light palette (ink: true) does not, so check contrast
  • renderScale above 1 costs the GPU fast on large heroes; 0.5 is the default because soft gradients look the same at half resolution
  • Pass a poster image for the first paint and for browsers without WebGL

Let your agent add it

One copy holds the install command, when to use it, the props and the design rules. Paste it into Claude Code, Cursor or Codex.

This is a Pro block

One license unlocks every Pro block, now and in the future.

One-time $129 with a year of updates, or $19 a month. Use it in unlimited personal and client projects; installed blocks stay yours.

See pricing

Install with your license

  1. 1. Add the SunUI Pro registry to components.json.
    components.json
    {
      "registries": {
        "@sunui-pro": {
          "url": "https://sunui.synvize.com/r/pro/{name}.json",
          "headers": {
            "Authorization": "Bearer ${SUNUI_LICENSE_KEY}"
          }
        }
      }
    }
  2. 2. Put your license key in .env.local.
    $ SUNUI_LICENSE_KEY=your-license-key
  3. 3. Install the block.
    $ npx shadcn@latest add @sunui-pro/loop-shader-hero
Loop Shader Hero, React Component | SunUI