current theme: placeholder

Components :: Notice

Specs

File NameclassSource
component.notice.css.noticeGithub

The notice component is useful to bring something to the attention of the reader/user, as well as provide feedback on user interaction.

Available modifiersDescription
.noticeDefault style. Base colors.
.notice + .notice-infoInformation. Primary colors.
.notice + .notice-dangerError/Danger. Reds.
.notice + .notice-warningWarning. Oranges.
.notice + .notice-confirmConfirmation/Success. Greens.

When using the HTML component (the Astro component is available on Github but not yet documented), you’ll need to include the SVG icons “manually.” All the icons are available on Github. If you’d like to use different icons, Lucide is a great resource.

Available styles

Examples