my/ui

Command Palette

Search for a command to run...

All components

Link 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-417.json

Usage

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

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

Component source

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

export default function Component() {
  return (
    <Badge asChild>
      <a href="#">Link</a>
    </Badge>
  );
}

Source: Origin UI