my/ui

Command Palette

Search for a command to run...

All components

Warning Inline Alert

notifications

Origin UI component.

responsive · 480px

Install

Same command in any shadcn project — React (Vite/CRA), Next.js, Remix, Astro, and more:

$npx shadcn@latest add https://your-domain/r/comp-267.json

Usage

import Cmp from "@/registry/origin-ui/comp-267";

export default function Demo() {
  return <Cmp />;
}

Component source

import { TriangleAlert } from "lucide-react";

export default function Component() {
  return (
    <div className="rounded-md border px-4 py-3">
      <p className="text-sm">
        <TriangleAlert
          aria-hidden="true"
          className="-mt-0.5 me-3 inline-flex text-amber-500"
          size={16}
        />
        Some information is missing!
      </p>
    </div>
  );
}

Source: Origin UI