← Back to components

Alert

An alert component for displaying important messages

Feedback
Created by David Lee
4.5 rating
321 downloads

Preview

How to use

import { GrainAlert } from "@/components/demos/grain-alert"

export default function MyComponent() {
  return (
    <div>
      <GrainAlert />
    </div>
  )
}

Note: Make sure you have the required dependencies installed and the necessary UI components imported in your project. The component uses Tailwind CSS for styling and may require additional setup based on your project configuration.