Browse components

Alert

Info, success, warning and error messages, with an optional close button.

molecules 4 variants
Variants / states: infosuccesswarningerror

Live example

Default usage you can copy and adapt.

Basic Alert

Simple alert with message

Info Alert

This is an informational message.

Success!

Your action was completed successfully.

Props

The props you are most likely to need, with types and defaults.

Props / API
NameTypeRequiredDefaultDescription
variantstringNoinfoAlert variant
titlestringNo—Alert title
messagestringNo—Alert message
closablebooleanNofalseShow close button