--- title: Icons sidebar_label: Icons --- import { StoryWithControls } from '../../../src/components/StorybookWrapper'; # Icons Icon library for Apache Superset. Contains over 200 icons based on Ant Design icons with consistent sizing and theming support. ## Live Example ## Try It Edit the code below to experiment with the component: ```tsx live function Demo() { return (
); } ``` ## Icon Sizes ```tsx live function IconSizes() { const sizes = ['s', 'm', 'l', 'xl', 'xxl']; return (
{sizes.map(size => (
{size}
))}
); } ``` ## Icon Gallery ```tsx live function IconGallery() { const Section = ({ title, children }) => (
{title}
{children}
); return (
); } ``` ## Icon with Text ```tsx live function IconWithText() { return (
Success message
Information message
Warning message
Error message
); } ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | `iconSize` | `string` | `"xl"` | Size of the icons: s (12px), m (16px), l (20px), xl (24px), xxl (32px). | ## Import ```tsx import { Icons } 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/Icons/Icons.stories.tsx). :::