# P badge 15

> Badge with number after text

A shadcn/ui block from the [@coss](https://coss.com/ui) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/coss/p-badge-15).

- Page, with a live preview: https://shadcn.exchange/r/coss/p-badge-15
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/coss/p-badge-15-light-9b4c1bfc8cfce3cf.png
- Registry item: https://coss.com/ui/r/p-badge-15.json
- Categories: badge
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://coss.com/ui/r/p-badge-15.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `@coss/badge`

## Files

### `registry/default/particles/p-badge-15.tsx`

```tsx
import { Badge } from "@/registry/default/ui/badge";

export default function Particle() {
  return (
    <Badge variant="outline">
      Notifications
      <span className="ms-1 font-semibold text-primary">5</span>
    </Badge>
  );
}
```
