eXtreme Automation
Back to catalog
Component group

Feedback

Six components for status, progress and notification: Alert, Toast, Spinner, Progress, EmptyState and Tooltip.

Alert — inline callout

Heads up

A new workshop slot opened for Kubernetes in Production.

Saved

Your booking for Linda Ārende was confirmed.
A minimal alert with no title and no icon.

Types: info (sky) · success (green) · warning (amber) · error (maroon). error/warning use role="alert", others role="status".

PropTypeDefaultDescription
type'info'|'success'|'warning'|'error''info'Colour + tint scheme
titlestringBold heading above the body
dismissiblebooleanfalseShow × button that removes the alert
iconstringImage URL/path or glyph string
classstringExtra CSS classes

Toast — transient notification

Drop <Toast /> once in your layout, then call window.xaToast({ type, message, duration }) from anywhere.

APITypeDefaultDescription
type'info'|'success'|'warning'|'error''info'Toast colour scheme
messagestring''Text content
durationnumber3500ms before auto-dismiss with fade

Container is a fixed top-right role="status" aria-live="polite" live region.

Spinner — loading ring

Loading… sm · 16px Loading… md · 24px Loading… lg · 40px
PropTypeDefaultDescription
size'sm'|'md'|'lg''md'Ring diameter (16/24/40px)
labelstring'Loading…'Visually-hidden status text
classstringExtra CSS classes

Progress — determinate bar

Uploading assets 25%
Course completion 60%
Storage used 90%
Done 100%
Animated demo 0%
PropTypeDefaultDescription
valuenumberCurrent progress (0–max)
maxnumber100Maximum value
labelstringLabel row text
showValuebooleanfalseShow percentage on label row
color'rose'|'navy'|'green'|'amber'|'sky'|'maroon''rose'Fill colour
classstringExtra CSS classes

EmptyState — no-data panel

No bookings yet

When clients register for a course, their bookings will show up here.

PropTypeDefaultDescription
titlestringHeading (required)
descriptionstringSupporting line
iconstringImage URL/path (or use the icon slot)
classstringExtra CSS classes

Slots: (default) action buttons · icon custom icon markup.

Tooltip — hover / focus bubble

Tooltip on top Tooltip on the right Tooltip on bottom Tooltip on the left

Hover or keyboard-focus a trigger. Wired with aria-describedby to a generated id.

PropTypeDefaultDescription
contentstringBubble text (required)
position'top'|'right'|'bottom'|'left''top'Bubble placement
classstringExtra CSS classes