# Disclosure (/docs/products/dash-dots/reference/components/disclosure)

Put what it reveals between its tags.

**Children:** Components

## Example

![The Disclosure component](/assets/images/dash-dots/components/disclosure.webp)

```xml title="view.dml"
<Disclosure title="Can I get a refund?" subtitle="Payments" open>
  <Text>Yes, within 24 hours of paying.</Text>
</Disclosure>
```

## Props

| Prop       | Type      | What it is                                                          |
| ---------- | --------- | ------------------------------------------------------------------- |
| `title`    | `string`  |                                                                     |
| `subtitle` | `string`  |                                                                     |
| `open`     | `boolean` | Whether it starts open. After that, the person opens and closes it. |
| `disabled` | `boolean` | It stays open or closed as it is.                                   |

## Events

| Event      | Sends                  | Notes                                   |
| ---------- | ---------------------- | --------------------------------------- |
| `onToggle` | `{ open }` in `detail` | Whether the person opened or closed it. |
