# Aura

A calm light travelling along the border of any component, to draw the eye to one recommended item.

Import from `@a31labs/rax/aura`.

## Usage

```tsx
<Aura><Panel title="Upgrade to Team">…</Panel></Aura>
<Aura inline tone="ok" style={{ "--rax-aura-r": "var(--rax-r-ctl)" }}><Button>Deploy</Button></Aura>
```

## Rules

Props: `tone` (`accent` default | `ok` | `warn` | `danger` | `info`), `active` (default true), `inline` (inline-flex, for a Button). A thin light travels along the child's border for three slow laps (4s each), then rests as a short arc; remount it to run again. It is drawn by a decorative pseudo-element without layout shift, over the Aura's own box, so the child should fill it. The radius comes from `--rax-aura-r` (default `--rax-r-panel`, `--rax-r-ctl` with `inline`). At most one per view, to point at a single recommended item. Under reduced motion it is a static ring; in forced colours it is hidden.

Page: https://rax.a31.at/components/aura
