Use the new Label instead.
<><Label variant="small" outline sx={{borderColor: 'danger.emphasis', mr: 2, color: 'danger.fg'}}>small</Label><Label variant="medium" sx={{mr: 2}}>medium (default)</Label><Label variant="large" sx={{mr: 2}}>large</Label><Label variant="xl">xl label</Label><Box mt={4} /><Label variant="medium" sx={{bg: '#A575FF', m: 1}}>good first issue</Label><Label variant="medium" sx={{bg: '#FF75C8', m: 1}}>🚂 deploy: train</Label><Label variant="medium" sx={{bg: '#1C90FA', m: 1}}>css</Label><Label variant="medium" sx={{bg: '#FFF06C', color: '#24292E', m: 1}}>documentation</Label><Label variant="medium" sx={{bg: '#656BFE', m: 1}}>primer</Label></>
Name | Type | Default | Description |
---|---|---|---|
outline | boolean | false | Creates an outline style label |
variant | 'small' | 'medium' | 'large' | 'xl' | 'medium' | |
dropshadow | boolean | false | Adds a dropshadow to the label |
sx | SystemStyleObject | Style overrides to apply to the component. See also overriding styles. |