appica-dev

Alert

Buttons

About

A dismissible alert banner for surfacing status messages, warnings, or announcements with an icon, title, description, and optional actions.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Alert to your project and fits it to your theme.

Code

How Alert is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  Alert,
  AlertIcon,
  AlertTitle,
  AlertDescription,
} from "@/components/ui/alert";
import { CircleCheckFilled } from "@appica/icons-react";

export default function AlertDismissible() {
  return (
    <div className="w-full max-w-md">
      <Alert variant="success" dismissible>
        <AlertIcon>
          <CircleCheckFilled />
        </AlertIcon>
        <AlertTitle>Profile updated</AlertTitle>
        <AlertDescription>
          Your changes have been saved. You can dismiss this message.
        </AlertDescription>
      </Alert>
    </div>
  );
}

Dependencies

More by appica-dev

View all
  • Border Beam

    Border Beam

    76
  • Carousel

    Carousel

    24
  • Text Animate

    Text Animate

    23
  • Avatar

    Avatar

    18
  • Table of Contents

    Table of Contents

    10
  • Sparkline

    Sparkline

    10
  • Background Pattern

    Background Pattern

    9
  • Color Area

    Color Area

    7

More in Buttons

View all
  • Button

    Button

    20
  • Button

    Button

    3
  • Button Group

    Button Group

    18
  • Button

    Button

    149
  • Icon Label Subtext Button

    Icon Label Subtext Button

    69
  • Button

    Button

    9
  • Button

    Button

    37
  • Texture Button

    Texture Button

    113