# Description

> Helper description text under a field.

Registry name: `description`. HTML docs: https://ui.anuragroy.dev/component/description.

## Install

```bash
npx shadcn@latest add https://ui.anuragroy.dev/r/description.json
```

If the website is down: `npx shadcn@latest add https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/description.json`.

Registry JSON: https://ui.anuragroy.dev/r/description.json (GitHub: https://raw.githubusercontent.com/anurag-roy/ui.anuragroy.dev/main/public/r/description.json).

## Import

Import paths follow the consumer `components.json` aliases. After a default install:

```tsx
import { Description } from "@/components/ui/description"
```

## Usage

```tsx
import { Description } from "@/components/ui/description"

export function Example() {
  return <Description>Helper text for a form field.</Description>
}
```

## API

### Description

Muted paragraph for field help.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | string | — |  |

## See also

- [HTML page](https://ui.anuragroy.dev/component/description): Preview and the same docs in the site chrome.
- [Registry item](https://ui.anuragroy.dev/r/description.json): Source files and dependencies.
- [Catalog](https://ui.anuragroy.dev/component): All components.
- [llms.txt](https://ui.anuragroy.dev/llms.txt): Agent index for this library.
