Back to Components
Components

Inline Alert

Contextual alert component for inline feedback with icon, title, and action support.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/inline-alert.tsx

Installation

Using shadcn CLI

npx shadcn add inline-alert --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge