AI Visibility
ProNewHow often AI assistants name a brand, engine by engine, beside its competitors. Pressing or pointing at a brand keeps its bars and quiets the rest, and a line gives the overall share and rank.
Installation
pnpm dlx shadcn@latest add @viewport/ai-visibility
First time? Add the @viewport registry to components.json. Setup takes one minute.
Usage
The code behind the preview above comes with Truffle Pro.
Props
| Prop | Type | Default |
|---|---|---|
| engines* | EngineVisibility[]One entry per assistant. | — |
| brands* | string[]The brands compared. The first is yours. | — |
| answers | numberHow many answers the shares are measured over, for the caption. | — |
| className | string | — |
Accessibility
- Every bar has its number as text.
- Brand buttons report whether they are pinned.
- The overall share and rank are written out.
- Bars resize without motion under reduced motion.