# Pine sweep

The running indicator: the Arcadia pine, one stroke lit at a time, phase-synced with every loop.

Live variants: https://design.arcadia.is/components/pine-sweep

```tsx
import { PineSweep, PineGlyph } from "@arcadia/ui";
```

```tsx
import { ListRow, PineSweep, StatusDot } from "@arcadia/ui";

<div {...sx("cmp-rows", cmp.rows)}>
  <ListRow leading={<PineSweep size="md" />} label="acme-web" meta="2m" />
  <ListRow
    leading={<StatusDot status="running" />}
    label="Preferences dialog"
    meta="now"
    active
  />
  <ListRow
    leading={<StatusDot status="running" />}
    label="Fix the flaky upload test"
    meta="1m"
  />
  <ListRow leading={<StatusDot />} label="Colour tokens" meta="2d" />
</div>
```

## Accessibility

Decorative unless given a `label`, which makes it an `img` named "Running". Omit the label when the row already says so. It never flashes: one stroke brightens at a time, slowly. With reduced motion the whole mark holds still at full strength.

## API reference

### PineSweep

- `size` (`"sm" | "md" | "lg" | "text"`, default `"sm"`)
- `label` (`string`): Accessible name ("Running"). Omit when the row text already says so.
- `rootStyle` (`RootStyle<PineSweepKnobs>`): Typed StyleX override: layout and the `--pine-sweep-*` knobs.

Rest props go to `<span>` props and `render`.
