Hero Pro 21: facet glass crystalPRO
Full-screen hero with a brilliant-cut crystal drawn by a shader: refraction, internal reflections and color dispersion, turning with the pointer, with two shards drifting beside it.
Installation
Once per project: add the Pro registry and your licence key.
components.json{ "registries": { "@ballmac": "https://ui.ballmac.com/r/{name}.json", "@ballmac-pro": { "url": "https://ui.ballmac.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" } } } }.env.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/hero-pro-21Need a licence or help with setup?
Build prompt
Every value of this block written out: layers, sizes at each breakpoint, motion timings, fallbacks and a checklist. Give it to an AI builder to recreate the block in any stack.
Usage
import { HeroPro21 } from "@/components/ballmac/blocks/hero-pro-21/hero-pro-21"States
This block has no states. Static content: nothing to load, submit or fail.
Dependencies
- npm
- lucide-react
Use with AI
A dark, full-viewport hero whose centerpiece is a real-time glass crystal (ray-traced through its facets, with dispersion). Text sits left on wide screens, centered stack on phones. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Hero Pro 21: facet glass crystal (@ballmac-pro/hero-pro-21) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Observability, analytics or data products that want a precise, premium first screen
- Launch pages where one striking 3D object carries the brand
Not for
- Pages that must be light-themed or text-first (use hero-1)
- Low-end audiences where WebGL cannot be assumed; it falls back to a gradient but the object is the point
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/hero-pro-21.json
Covered by the Ballmac UI Pro license.
More hero blocks
Hero 4: split with interactive globe
Split hero with a live pill, headline, two actions and headline stats beside a large draggable WebGL globe marking your regions.
Hero 1: split with product visual
Split hero: badge, word-by-word headline, two calls to action and proof points on the left, a live product summary card on the right, over an animated grid.
Hero 2: developer tool with install command
Centered hero for developer tools: headline, two actions, package-manager install tabs and a terminal window with a light beam tracing its border.
Hero 3: AI product with live prompt
Hero for AI products: a real prompt input on the left, and on the right a mock answer with a reasoning panel, a tool call and a streaming reply.