--- title: Collapse sidebar_label: Collapse --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # Collapse The Collapse component from Superset's UI library. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { return ( ); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `ghost` | `boolean` | `false` | - | | `bordered` | `boolean` | `true` | - | | `accordion` | `boolean` | `false` | - | | `animateArrows` | `boolean` | `false` | - | | `modalMode` | `boolean` | `false` | - | ## Import ```tsx import { Collapse } from '@superset/components'; ``` --- :::tip[Improve this page] This documentation is auto-generated from the component's Storybook story. Help improve it by [editing the story file](https://github.com/apache/superset/edit/master/superset-frontend/packages/superset-ui-core/src/components/Collapse/Collapse.stories.tsx). :::