--- title: List sidebar_label: List --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # List The List component from Superset's UI library. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { const data = ['Dashboard Analytics', 'User Management', 'Data Sources']; return ( {item}} /> ); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `bordered` | `boolean` | `false` | Whether to show a border around the list. | | `split` | `boolean` | `true` | Whether to show a divider between items. | | `size` | `string` | `"default"` | Size of the list. | | `loading` | `boolean` | `false` | Whether to show a loading indicator. | | `dataSource` | `any` | `["Dashboard Analytics","User Management","Data Sources"]` | - | ## Import ```tsx import { List } 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/List/List.stories.tsx). :::