my/ui

Command Palette

Search for a command to run...

All components

Numeric Count 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-416.json

Usage

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

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

Component source

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

export default function Component() {
  return <Badge className="min-w-5 px-1">6</Badge>;
}

Source: Origin UI