---
## TypesReference
Displays expandable type definitions extracted from component source,
with inline code blocks, literal value badges, and cross-links to the API Reference.
**Import:** `import { TypesReference } from '@urbicon-ui/docs';`
### Examples
```svelte
```
### Api
| Prop | Type | Required | Default | Description |
| --- | --- | :---: | --- | --- |
| types | `LocalTypeDef[]` | yes | | Array of type definitions to display. |
| ...HTMLAttributes | `HTMLAttributes` | no | | HTML attributes (excluding: 'children') |
| ...TypesReferenceVariantProps | `VariantProps` | no | | Styling variants from TypesReferenceVariantProps |
| class | `string` | no | | Extra CSS classes merged onto the root section element. |
| description | `string` | no | | Descriptive text below the title. |
| emptyState | `Snippet` | no | | Optional snippet rendered below the table when no types match the filter. |
| size | `'sm' | 'md' | 'lg'` | no | | Controls the density – text size, padding, badge size. |
| slotClasses | `Partial>` | no | | Per-slot class overrides for internal elements. |
| title | `string` | no | | Section heading text. |
| unstyled | `boolean` | no | | Strip all default tv() styles from internal slots. |
Inherited from:
- Omit (omit-pattern)
- Omit, 'children'> (omit-pattern)
### Slots (slotClasses keys)
`root`, `header`, `title`, `description`, `card`, `toolbar`, `codeBlock`, `literalValues`, `literalBadge`, `usedBySection`, `usedByLink`