# Role Badge

A configurable, accessible role badge surface for AI product workflows.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/role-badge.json
```

[Registry JSON](https://amro-ui.vercel.app/r/role-badge.json)

## Preview

```tsx
import { RoleBadge } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <RoleBadge />
    </div>
  );
}
```


## Source

### ui/role-badge.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { RoleBadge } from "@/components/amro/components/learning";
export type { RoleBadgeProps } from "@/components/amro/components/learning";
```



## Usage

A configurable, accessible role badge surface for AI product workflows.

### Package

```tsx
import { RoleBadge } from "@amro-ui/react";

<RoleBadge />
```

### shadcn copy

```tsx
import { RoleBadge } from "@/components/ui/role-badge";

<RoleBadge />
```

