<!-- AUTO-GENERATED from the @riverty/web-components custom elements manifest. Do not edit by hand. -->

# r-tab-panel

The content panel associated with an `r-tab`, shown when its corresponding tab is active.

Example
```
<r-tabs>
  <r-tabs-list variant="expanded">
    <r-tab panel-id="overview" active>Overview</r-tab>
    <r-tab panel-id="details">Details</r-tab>
  </r-tabs-list>
  <r-tab-panel tab-id="overview" active>Overview content.</r-tab-panel>
  <r-tab-panel tab-id="details">Details content.</r-tab-panel>
</r-tabs>
```

## class: `RTabPanel`, `r-tab-panel`

### Fields

| Name     | Privacy | Type      | Default | Description                               | Inherited From |
| -------- | ------- | --------- | ------- | ----------------------------------------- | -------------- |
| `active` |         | `boolean` | `false` | Defines if the `panel` is hidden          |                |
| `tabId`  |         | `string`  |         | Id of the 'tab' connected to this `panel` |                |

### Attributes

| Name     | Field  | Inherited From |
| -------- | ------ | -------------- |
| `active` | active |                |
| `tab-id` | tabId  |                |

### Slots

| Name | Description                                              |
| ---- | -------------------------------------------------------- |
|      | Content displayed inside the tab panel when it is active |

<hr/>

## Exports

| Kind                        | Name          | Declaration | Module | Package |
| --------------------------- | ------------- | ----------- | ------ | ------- |
| `js`                        | `RTabPanel`   | RTabPanel   |        |         |
| `custom-element-definition` | `r-tab-panel` | RTabPanel   |        |         |
