Ballmac UI home

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

  1. 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.local
    BALLMAC_LICENSE_KEY=your-licence-key
  2. Add it.

    $ pnpm dlx shadcn@latest add @ballmac-pro/hero-pro-34
  3. Need a licence or help with setup?

    The source is part of Ballmac UI Pro.

    Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.

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.

The build prompt is part of Ballmac UI Pro.

Log in with your licence key to read and copy it here. It is the whole block written out, ready for Claude, Cursor, Lovable or v0.

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

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.