# Outlined Toasts

> A grid of eight outlined toast notifications — each a light-tinted card with a 1.5px coloured outline, a 24px line icon, a short message, and a smoothly filling progress bar. One toast spins a loader; one carries an inline link. Fully token-driven and design-system agnostic.

- Category: Toast
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Prism
- Dark mode: yes
- Access: free (sign in to copy the code)
- Tags: notification
- Page: https://builder.atheros.ai/components/outlined
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_outlined/preview-19a9597b146e.webp

## Features

- Eight semantic variants: success, failure, warning, info, syncing, offline, scheduled, action — each with a Tabler line icon and a coloured outline
- Light tinted card fills paired with a matching 1.5px coloured outline per variant
- A smoothly filling progress bar animated via `transform: scaleX()` at the foot of each toast
- A continuously spinning loader icon on the syncing variant via `transform: rotate()`
- An inline accessible link on the action variant
- Click a toast to replay its progress bar animation
- Responsive grid that flows from a single column to two columns on wider viewports
- Dark/light theme toggle — a sliding sun/moon pill with a primary-tinted thumb, fixed top-right, persisted to localStorage with a prefers-color-scheme default

## Accessibility

- **Live region** — `aria-live="polite"` `role="status"` `aria-atomic="true"` on the toast grid
- **Decorative icons** — `aria-hidden="true"` on every icon span
- **Inline link** — Real `<a>` with descriptive `aria-label="Undo deleting the file"`
- **Theme toggle** — `role="switch"` with `aria-checked` toggled by JS, focusable via `tabindex`
- **Focus indicators** — `:focus-visible` with `--ring` outline on interactive elements
- **Keyboard activation** — Theme toggle responds to Enter and Space
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations
- **Viewport** — `100dvh` for mobile-safe viewport height

## Keyboard shortcuts

- `Enter` — Activate theme toggle or focused link
- `Space` — Activate theme toggle

## Common questions

**Which frameworks is Outlined Toasts available in?**

Outlined Toasts 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 Outlined Toasts free?**

Yes. Outlined Toasts 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 Outlined Toasts support dark mode?**

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

## Get the code

Preview Outlined Toasts 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/outlined

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
