Skip to Content
SmartUI

Alert

Message that stays inside the page, next to what it explains.

You can change the schedule

Free until the session starts.

Booking saved

The booking code was sent to your email.

Usage

import { Alert } from '@smartui/react';
import '@smartui/react/styles.css';

When to use

  • Information that must stay visible.

When not to use

  • A short confirmation. Use Toast.

Props

PropTypeDefaultDescription
tone'accent' | 'success' | 'warning' | 'danger' | 'neutral''accent'
titlestringrequired
descriptionstring-
actionReactNode-

Accessibility

  • Warnings and errors are announced when they appear.

On this page