Inline Alert - React Component | Kokonut UI

Inline Alert

An alert that does something about the problem: it lists the failed checks, re-runs them one by one, and turns from red to green when they pass.

Installation

Inline Alert is a free, open-source React component in the Kokonut UI Feedback collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/inline-alert.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/inline-alert

Or add it by hand: install its packages, then copy the source from the above code into components/kokonutui/inline-alert.tsx.

npm install lucide-react motion

Usage

import InlineAlert from "@/components/kokonutui/inline-alert";

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

Props