Back to Component Browser

Alert

Quartz

lib/quartz/components/Alert/index.ts

Preview

Success: Changes saved successfully.

Attention: A new version is available.

Import

import { Alert } from '@/lib/quartz';

Props (3)

NameTypeRequiredDefaultDescription
variantenumrequiredThe style of the `<Alert>`. Changes only visual appearance.
roleenumoptionalDetermines how screen readers should be alerted when this content appears or is modified.`....
descriptionReactNodeoptionalThe contents of the `<Alert>`. Generally, include actionable text for how to handle the alert, and why the alert is popping up....

Usage

Not used in any projects yet.