my/ui

Command Palette

Search for a command to run...

All components

Warning Bordered Alert Link

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-276.json

Usage

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

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

Component source

import { ArrowRightIcon, 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">
      <div className="flex gap-3">
        <TriangleAlert
          aria-hidden="true"
          className="mt-0.5 shrink-0 opacity-60"
          size={16}
        />
        <div className="flex grow justify-between gap-3">
          <p className="text-sm">Some information is missing!</p>
          <a className="group whitespace-nowrap font-medium text-sm" href="#">
            Link
            <ArrowRightIcon
              aria-hidden="true"
              className="-mt-0.5 ms-1 inline-flex opacity-60 transition-transform group-hover:translate-x-0.5"
              size={16}
            />
          </a>
        </div>
      </div>
    </div>
  );
}

Source: Origin UI