Glass Lens Hero
A giant campaign headline on a translucent pill track, with the ThemeSwitch glass key grown into a real lens: letters seen through it are minified 0.72x, fringed red and blue at the rim and bent by a bevelled edge, with a focused caustic cast below.
When to use it
- Product launch or seasonal drop hero where one brand word or product name is the star
- Sites with dark mode that want the theme switch itself to be the showpiece
- Glass, fragrance, drinks, optics or gadget brands where light and transparency are the story
Watch out
- Short headlines (4 to 6 letters) read best; long words shrink a lot on phones
- The bevel uses an SVG displacement filter; Safari falls back to plain scaling while fringes and caustic stay
- Callouts hide below 640px wide, so do not put essential information only in annotations
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.
Install with your license
- 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. Put your license key in
.env.local.$ SUNUI_LICENSE_KEY=your-license-key - 3. Install the block.
$ npx shadcn@latest add @sunui-pro/glass-lens-hero
Similar blocks
- Pro
- Pro
- Pro
- Pro
- Pro





