Skip to main content
Version: Next

Label

The Label 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 (
    <Label
      type="default"
    >
      Label text
    </Label>
  );
}
Result
Loading...

Props

PropTypeDefaultDescription
typestring"default"The visual style of the label.
childrenstring"Label text"The label text content.
monospacebooleanfalseUse monospace font.

Import

import { Label } 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.