Alert

Displays a callout for important information to attract user attention.

Variants

Alerts come in Default and Destructive variants.

With Title and Description

Alerts can include a title and description for structured content.

Informational

An alert showing an informational message.

Open Markdown
FreeAlert

Status messaging and inline notices.

Install with the Proa CLI
proa ui add alert

Installs the reviewed component source, dependencies, shared support files, and required legal notices.

CLI and registry setup
recipe.rs
// SPDX-FileCopyrightText: 2026 Proa Labs, Inc.
// SPDX-License-Identifier: MIT OR Apache-2.0

//! Alert recipe - type-safe styling system for Alert component
//!
//! Provides variant styles and base styling for the Alert component.

use crate::tw_join;
use proa_core::shared::attr_value::AttrValue;
use proa_core::{DataLoader, WebContext, WriteBuf, WriteError};

/// Base styles for the alert
mod base {
    use super::*;

    pub const ALERT_BASE: &str = tw_join!(
        // Layout
        "relative",
        "w-full",
        // Shape
        "rounded-lg",
        "border",

Search

Type at least 2 characters

Customize

Make it yours

Palette

Radius

Overview
Components
Settings

Build your own

Themed Proa UI surface

Preview
Components52
RecipesTyped
customer-portal