# PartDoc

interface in `@dioramajs/diorama/effects`

```ts
import type { PartDoc } from '@dioramajs/diorama/effects'
```

A shadow part of the effect's own UI, styled by the site with `::part()`.

```ts
interface PartDoc
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `description` | `string` | One sentence. |
| `name` | `string` | The `part` name: 'close'. |

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/doc.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/doc.ts#L62).
