Skip to main content
Version: Next

Collapse

The Collapse component from Superset's UI library.

Live Example

Loading component...

Try It

Edit the code below to experiment with the component:

Live Editor
function Demo() {
  return (
    <Collapse
      bordered
    />
  );
}
Result
Loading...

Props

PropTypeDefaultDescription
ghostbooleanfalse-
borderedbooleantrue-
accordionbooleanfalse-
animateArrowsbooleanfalse-
modalModebooleanfalse-

Import

import { Collapse } from '@superset/components';

Improve this page

This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.