SaaS Alert

Alert message with info, success, warning, and error variants

SaaSFeedback

Overview

Alert displays important messages to users with semantic color variants. Built with CVA for consistent styling and supports composable title and description sub-components.

Usage

import { Alert, AlertDescription, AlertTitle } from "@leanicon/web-builder-library/saas";

<Alert variant="info">
  <AlertTitle>Information</AlertTitle>
  <AlertDescription>This is an informational message.</AlertDescription>
</Alert>;

Variants

Default

Info

Success

Warning

Destructive

Dark

Props

NameTypeDefaultRequiredDescription
variant"default" | "destructive" | "success" | "warning" | "info" | null—No