Velocity X Components

Core UI

Inline Alert — 4 Severities

Static inline banner covering info, success, warning, and error severities with the correct assertive/polite ARIA role per severity.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add inline-alert

Built for astro.

Full docs for Inline Alert — 4 Severities →

astro v1.0.0
Inline Alert — 4 Severities

Info

New: brand tokens now sync automatically on fork.

Deployed

Your site is live at the new domain.

Props

NameTypeRequiredDefaultDescription
severity'info' | 'success' | 'warning' | 'error'No'info'
titlestringNo
dismissiblebooleanNofalse

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/inline-alert/InlineAlert.astro

Using the Inline Alert — 4 Severities component

Install it with velocityx add inline-alert. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Core UI.