ReactVanillaLight & dark257 views
A colour-plate snackbar stack — nine variants (success, info, warning, error, pending, mention, schedule, brand and offline), each led by a solid plate in the system's own state or category colour, read verbatim, bleeding a tinted wash into the bar, with outlined actions and a progress rail.
Get the code for free
Create a free account to copy or download the full source.
Notification component
A colour-plate snackbar stack — nine variants (success, info, warning, error, pending, mention, schedule, brand and offline), each led by a solid plate in the system's own state or category colour, read verbatim, bleeding a tinted wash into the bar, with outlined actions and a progress rail.
showSnackbar({ variant, title, message, actionLabel, duration }) API — nine variants: the four semantic states (success, info, warning, error), the in-flight pending state, two differentiated-group notices (mention, schedule) and two solid bars (brand, offline), each with its own Tabler glyphbrand paints the whole bar in the selection fill with the accent ink, offline inverts the surface into the text colour; every line of copy, the close button, the outlined action and the rail take the gated on-fill inkrequestAnimationFrame and --snk-p scaleXaria-live="polite" role="status" aria-atomic="true" on the snackbar stack<button> with aria-label="Dismiss snackbar" and visible focus ring<button> carrying its label as aria-label, outlined in the variant's readable ink:focus-visible with --ring outline; solid bars switch the outline to their on-fill inkprefers-reduced-motion: reduce disables all animationsOpen Snackbar in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the notification is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
Starting at $9.9 per month, billed annually
Don't miss a beat with our newsletter!
BUILDER
ABOUT US
© 2026 Atheros Intelligence Ltd.
100dvh for mobile-safe viewport height