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.
$ velocityx add inline-alert Built for astro.
Full docs for Inline Alert — 4 Severities →
Info
Deployed
Trial ending
Build failed
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| severity | 'info' | 'success' | 'warning' | 'error' | No | 'info' | |
| title | string | No | ||
| dismissible | boolean | No | false |
File this creates
The CLI writes this path into your project, relative to its root — nothing else moves.
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.
Related components
More from Core UI.
Single avatar or an overlapping stack with a plus-N overflow chip, falling back to deterministic initials-over-tint when no image is given.
astroSingle pill component covering solid, soft, and outline badge variants across brand and semantic tones, with an optional removable tag mode.
astroStatic breadcrumb trail with BreadcrumbList microdata that collapses the middle segments into an ellipsis on long paths.
astroOne button primitive covering primary/secondary/ghost/destructive variants, three sizes, a loading spinner state, and an icon-only mode.
astro