Alert

Inline alert banners with solid, soft, and outline styles, icons, and dismissal.

uiNew Releaseclass-variance-authorityframer-motionlucide-react

Installation

$npx futureuikit add alert

Import

import { Alert } from "@/components/ui/alert"
Layout Variant
Color Theme

Named Keys & Props

Pass these exact named keys as props on <Alert />. Click any color pill to copy the prop.

colorDefault is "default"(Black & White)
variantVisual style
"soft""solid""outline"
shapeCorner shape
"default""square""rounded""sharp"
sizeComponent size
"sm""md""lg"

Usage Example

A basic implementation example to get you started.

Example Implementation
import { Alert } from"@/components/ui/alert";

export default function Example() {
  return <Alert />;
}

Features

Key capabilities and highlights.

Key Capabilities
  • ◆Inline alert banners with solid, soft, and outline styles, icons, and dismissal.

Notes

Important implementation details to consider.

Implementation Details
  • ◆Install: Run 'npx futureuikit add alert'.
  • ◆Import: 'import { Alert } from "@/components/ui/alert";'