Alert
Component for displaying messages, notifications, or other application state.
import { Alert } from 'theme-ui'
Beep boop, this is an alert!
Secondary
Accent
Highlight
Variants
Alert variants can be defined in theme.alerts.
The Alert component uses theme.alerts.primary as its default variant.
Edit the page on GitHub// example theme variants{alerts: {primary: {color: 'background',bg: 'primary',},muted: {color: 'text',bg: 'muted',},},}