Hero Pro 34: a glass fragrance bottle you can tintPRO
Product hero with a perfume bottle ray-marched in a shader: refractive glass, a liquid that tints the light, a satin cap on a podium. Pick a fragrance note to change the liquid; Spray puffs a mist.
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-34Need 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 { HeroPro34 } from "@/components/ballmac/blocks/hero-pro-34/hero-pro-34"States
This block has no states. Static content: nothing to load, submit or fail.
Dependencies
- npm
- lucide-react
Use with AI
A dark product hero with a real-time glass perfume bottle (signed-distance shapes, refraction through the glass and the liquid, a satin cap, a podium). A three-option radiogroup chooses the fragrance note, which smoothly tints the liquid; the Spray button puffs a cloud of mist from the nozzle. With the shadcn MCP server set up (guide), ask your agent:
Add the Ballmac UI Hero Pro 34: a glass fragrance bottle you can tint (@ballmac-pro/hero-pro-34) to this project with the shadcn MCP, then use it where it fits.
Use it for
- Fragrance, beauty, spirits and skincare brands that want a hero object with real material
- Product pages that let people choose a variant and see it change
Not for
- Products that are not glass-and-liquid shaped: the bottle is the subject
- Light-themed pages
Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/hero-pro-34.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.