Chetan Verma

Alert

Component 64

About

An alert component made with framer motion and tailwind css.

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 from "@/components/ui/alert";

export default function DemoOne() {
  return       <div className="flex flex-col gap-4">
          <Alert type="success" message="This is a success alert." />
          <Alert type="error" message="This is an error alert." />
          <Alert type="warning" message="This is a warning alert." />
          <Alert type="info" message="This is an info alert." />
        </div>
}

Dependencies

More by Chetan Verma

View all
  • Floating Action Menu

    Floating Action Menu

    1.5K
  • Animated Tabs

    Animated Tabs

    1.5K
  • Video Player

    Video Player

    1.3K
  • Stacked Cards Interaction

    Stacked Cards Interaction

    796
  • Dropdowm Menu

    Dropdowm Menu

    548
  • Input With Tags

    Input With Tags

    524
  • Avatar Group

    Avatar Group

    505
  • Stacking Navbar

    Stacking Navbar

    334