# Tooltip

> A minimal accessible tooltip set shown on a bare row of real action buttons — four placements (top, bottom, left, right) on hover and keyboard focus, with a directional arrow and `aria-describedby` wiring. No panel, no chrome: the triggers float directly on the page canvas.

- Category: Popover
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Triangulum
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: tooltip
- Page: https://builder.atheros.ai/components/tooltip
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_tooltip/preview-7f2bb97ddb90.webp

## Features

- Bare, chrome-free layout — five real action buttons (copy, edit, share, archive, delete) floating on the canvas
- Four placements demonstrated in context — left, top, bottom and right tips on one row
- Appears on pointer hover AND on keyboard focus for full accessibility parity
- Directional arrow built with CSS borders that points back at the trigger
- Wired with `aria-describedby` so assistive technology announces the tip text
- Fade-and-scale entrance animated purely with `transform` and `opacity`
- Escape and blur dismiss the active tooltip without leaving stray state
- Own Porcelain Teal design system plus accent-aware tips that follow any selected design system
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Tooltip role** — Each tip uses `role="tooltip"` and a stable `id`
- **Describedby wiring** — Each trigger sets `aria-describedby` pointing at its tip
- **Keyboard reveal** — Tips show on focus and hide on blur, matching hover behaviour
- **Escape dismiss** — Escape hides the active tooltip and blurs the trigger
- **Focus indicators** — `:focus-visible` with `--ring` outline on all interactive elements
- **Theme toggle** — `role="switch"` with `aria-checked` toggled by JS
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all transitions

## Keyboard shortcuts

- `Tab` — Move focus between triggers, revealing each tooltip
- `Escape` — Dismiss the active tooltip
- `Enter` — Activate the focused theme toggle
- `Space` — Activate the focused theme toggle

## Common questions

**Which frameworks is Tooltip available in?**

Tooltip ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is the Tooltip popover component free?**

Tooltip is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Tooltip support dark mode?**

Yes. Tooltip ships light and dark themes, both drawn from the Triangulum design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Tooltip live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/tooltip

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
