my/ui

Command Palette

Search for a command to run...

All components

Warning Bordered 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-268.json

Usage

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

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

Component source

import { TriangleAlert } from "lucide-react";

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

Source: Origin UI