# Schedule Timeline

> A printed schedule-for-today card — a sharp-cornered panel with hard offset shadows and a vertical rail threading diamond status nodes past tinted patient avatars, condition chips, and monospace time blocks, with a NOW divider. Tap a row to check it off.

- Category: Card
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Tensor
- Dark mode: yes
- Access: free (sign in to copy the code)
- Tags: timeline, avatar, status
- Page: https://builder.atheros.ai/components/schedule-timeline
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_schedule_timeline/preview-d5a7288464ac.webp

## Features

- Vertical rail with three node states: **done** (filled + check), **current** (filled with a pulsing ring), **upcoming** (hollow) — done segments are solid primary, upcoming segments stay soft
- A **NOW divider** — a primary label chip and fading rule — sits statically between completed and pending appointments and repositions when rows are toggled
- Per-patient **tinted initial avatars** in a calm cyan / teal / indigo / sky family, flipping from deep-on-soft to bright-on-deep in dark mode
- Condition tags (Flu, Cold, Headache…) rendered as **soft tinted chips** keyed by condition via `TAG_HUES`
- Time pills state-coded: current is primary-filled, done is muted, upcoming is outlined
- Tap / `Enter` / `Space` on a row toggles done — the current marker recomputes to the first pending item in place (no re-render, no re-entrance animation)
- Row hover ghost tint plus a static primary-tinted background on the current row
- Add-appointment button in the primary cyan appends new upcoming rows and disables when the pool is exhausted
- Primary-tinted appointment count badge and an uppercase date eyebrow with letter-spacing
- Dark/light theme toggle, accessible roles/labels, `prefers-reduced-motion` support, responsive to 320px

## Accessibility

- **Rows** — `role="button"`, `tabindex="0"`, `aria-pressed`, descriptive `aria-label`; `Enter`/`Space` toggle
- **NOW divider** — `role="presentation"` with `aria-hidden="true"` — purely visual
- **Add button** — Real `<button>` with `aria-label="Add appointment"`
- **Theme toggle** — `role="switch"` with `aria-checked`, keyboard operable
- **List** — `<ol>` with `aria-label="Today's appointments"`
- **Reduced motion** — `prefers-reduced-motion: reduce` collapses animations

## Keyboard shortcuts

- `Enter` — Toggle the focused appointment row
- `Space` — Toggle the focused appointment row
- `Tab` — Move focus across rows, the add button, and the theme toggle

## Common questions

**Which frameworks is Schedule Timeline available in?**

Schedule Timeline 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 Schedule Timeline card component free?**

Yes. Schedule Timeline is a free component: preview it without an account, and sign in with a free Atheros account to copy or download the full source and customise it with AI.

**Does Schedule Timeline support dark mode?**

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

## Get the code

Preview Schedule Timeline 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/schedule-timeline

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
