Alert
A callout for status, success, warnings and errors.
Approvals moved
Pending approvals now live in the sidebar.
Could not send the proposal
Nothing was sent. Try again in a minute.
Installation
Once per app, set up Aedis UI. The CLI verifies the signed release before writing anything and pins every dependency:
npx @aedis/cli@0.1.0 initImport the theme once in your global CSS, after Tailwind:
app/globals.css
@import "tailwindcss";@import "./styles/aedis-theme.css";Then add the component:
npx @aedis/cli@0.1.0 add alert# pnpm dlx @aedis/cli@0.1.0 add alert · yarn dlx @aedis/cli@0.1.0 add alert · bunx @aedis/cli@0.1.0 add alertProps
| Prop | Type | Default | Description |
|---|---|---|---|
| variant | "default" | "success" | "warning" | "destructive" | "default" | Only destructive uses role="alert"; the rest are role="status". |
| role | string | — | Override when the default announcement is wrong for the context. |
Security
- Text only: no prop takes markup.
- Write the message yourself; never show the server's error text as is (it can disclose internals).