# Sizes

> Small, default, and large sizes via className.

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

- Page, with a live preview: https://shadcn.exchange/r/flx/badge-10
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/badge-10-light-3a26778b23d522a8.png
- Registry item: https://ui.flexnative.com/r/badge-10.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/badge-10.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: `badge`

## Files

### `registry/patterns/badge/badge-10.tsx`

```tsx
import { Badge } from '@/components/ui/badge'

export function Badge10() {
  return (
    <div className="flex flex-wrap items-center gap-2">
      <Badge className="h-4 px-1.5 text-[10px]">Small</Badge>
      <Badge>Default</Badge>
      <Badge className="h-6 px-2.5 text-sm">Large</Badge>
    </div>
  )
}
```
