# Comet

> A token-driven comet loader — a single ring spins with a bright leading arc chasing a faint track, animating only `transform` for GPU-friendly motion. Fully design-system agnostic and motion-safe.

- Category: Loader
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Odyssey
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: pulse, loading
- Page: https://builder.atheros.ai/components/comet
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_comet/preview-d0a56ce722c7.webp

## Features

- A bright two-quadrant comet arc racing around a faint hairline track
- Pure `transform: rotate` animation for GPU-friendly, layout-free motion
- Magenta diagonal-sweep background layer built from a single `color-mix` gradient
- Comet ring rendered from JavaScript into a live `role="status"` region
- Animation pauses automatically while the tab is hidden to save cycles
- Responsive sizing that scales the ring down at the mobile breakpoint
- Fully respects `prefers-reduced-motion`

## Accessibility

- **Loading role** — `role="status"` with `aria-label="Loading"` on the comet stage
- **Announced text** — Visually hidden `.cmt-sr-only` "Loading" span inside the status region
- **Decorative glow** — Background glow layer marked `aria-hidden="true"`
- **Decorative ring** — Comet ring marked `aria-hidden="true"` — the sr-only span carries the announcement
- **Focus indicators** — `:focus-visible` with `--ring` outline via base styles
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations

## Common questions

**Which frameworks is Comet available in?**

Comet 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 Comet loader component free?**

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

**Does Comet support dark mode?**

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

## Get the code

Preview Comet 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/comet

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
