#Alert
Alert components help to highlight important messages for the reader.
To create an alert, just surround a block of text or any markdown content with !!!
.
This is an alert.
#Title
Alerts can also have titles. Add a space, then add your title, such as !!! My title
.
My title
This is an alert.
Some basic Markdown syntax and emoji :shortcodes:
are supported in the titles.
⚡ Getting Started ⚡
Get up to speed with Retype quickly by checking out the Getting Started guide.
#Variant
Alerts come in nine different flavors which can be specified by passing a variant
immediately after the !!!
, such as !!!danger
.
#Samples
Primary
This is a primary
alert.
Secondary
This is a secondary
alert.
Success
This is a success
alert.
Danger
This is a danger
alert.
Warning
This is a warning
alert.
Info
This is a info
alert.
Light
This is a light
alert.
Dark
This is a dark
alert.
Ghost
This is a ghost
alert.
Contrast
This is a contrast
alert.