my/ui

Command Palette

Search for a command to run...

All components

Error Status Badge

badges

Origin UI component.

responsive · 600px

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

Usage

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

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

Component source

import { Badge } from "@/components/ui/badge";

export default function Component() {
  return (
    <Badge className="gap-1.5" variant="outline">
      <span aria-hidden="true" className="size-1.5 rounded-full bg-red-500" />
      Badge
    </Badge>
  );
}

Source: Origin UI