Skip to content

Alert

Heads up!
You can add components to your app using the npx skeci-ui command.
Terminal window
npx skeci-ui add alert
import { Alert } from '@/components/ui/alert';
<Alert title="Attention">
This is an important message for you.
</Alert>
Info
A new version of skeci-ui is available.
Success
Your project has been successfully initialized.
Warning
Please back up your files before proceeding.
Error
Something went wrong while processing your request.
Custom Content
Use terminal to debug issues.
PropTypeDefaultDescription
variant'default' | 'info' | 'warning' | 'error' | 'success''default'The visual style and icon of the alert.
titlestringAn optional title for the alert.