# Vue Collapse Component API

> Explore the API reference for the Vue Collapse component and discover how to effectively utilize its props for customization.

## CCollapse

```jsx
import { CCollapse } from '@coreui/vue-pro'
```

### Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `horizontal` | `boolean` | - | Set horizontal collapsing to transition the width instead of height. |
| `visible` | `boolean` | - | Toggle the visibility of component. |

### Events

| Name | Description |
| --- | --- |
| `hide` | Callback fired when the component requests to be hidden. |
| `show` | Callback fired when the component requests to be shown. |
