Industry sections

Pet map: an SVG body scheme with service hotspots

An interactive dog body scheme built from simple SVG shapes: on top, pulsing hotspot buttons (ears, eyes, teeth, coat, belly, paws, tail). Clicking a spot or a legend chip shows a service card on the right with price, duration and description that re-renders with a pop. On narrow the scheme sits above the card.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • eyebrow, title, lede
  • image, imageAlt — the animal's side-profile photo; spot coordinates are tuned to the photo
  • spots: key, label, x, y (percent), service, price, duration, text; defaultSpot

Built from

The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
Pet map: an SVG body scheme with service hotspots — An interactive dog body scheme built from simple SVG shapes: on top, pulsing hotspot buttons (ears, eyes, teeth, coat, belly, paws, tail). Clicking a spot or a legend chip shows a service card on the right with price, duration and description that re-renders with a pop. On narrow the scheme sits above the card.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/vet-002?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

How to use

<Vet002
  image="/photos/dog-profile.png"
  title="Tap where it hurts"
  spots={[
    { key: "teeth", label: "Teeth", x: 90, y: 38, service: "Dental cleaning", price: "from $170", duration: "≈ 1 hour", text: "Under sedation, with polishing." },
    { key: "ears", label: "Ears", x: 73, y: 17, service: "Ear cleaning", price: "$22", text: "Exam and swab." },
  ]}
/>

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Title
title · default: Tap where it hurts
Button
actionLabel · default: Book
Theme
tone · default: auto
Accent
accent · default: theme colour
Ink
ink · default: theme colour
Background
background · default: theme colour

Used in scenarios

FAQ

How do I add Pet map: an SVG body scheme with service hotspots with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does Pet map: an SVG body scheme with service hotspots depend on?
No npm packages beyond React and Tailwind CSS. It also installs catalog components: button-016.
What can I change in Pet map: an SVG body scheme with service hotspots?
Adapt: eyebrow, title, lede; image, imageAlt — the animal's side-profile photo; spot coordinates are tuned to the photo; spots: key, label, x, y (percent), service, price, duration, text; defaultSpot. Keep as installed: the button-016 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; hotspots are absolutely positioned buttons in percent of an aspect-ratio 600/420 container, the ::before pulse ring is delayed by index; the silhouette is an svg filled with --fur/--fur-dark (accent mixed with background and ink), the collar in accent.
Is Pet map: an SVG body scheme with service hotspots free?
The preview is open to everyone; the source is available with a PRO subscription.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/vet-002.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

A composite block: imports button-016 from @/components/vibeui/ — the install command brings them along with the block. The block owns the layout and its own text, passes the parts props only and leaves their --vibeui-<name>-* palettes alone.

Tags

  • vet
  • body-map
  • hotspots
  • svg
  • interactive
  • services
  • price
  • dog
  • anatomy
  • clinic
  • composite
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…