Name | Description | Default | Control |
---|---|---|---|
as | ElementType<any> | - | |
children | - | ||
className | CSS class to be appended to the root element string | - | - |
fontColor | "blue100""blue200""blue300""blue400""blue500""blue600""blue700""blue800" | - | |
fontSize | "fontSize4Xl""fontSize3Xl""fontSize2Xl""fontSizeXl""fontSizeXlHigh""fontSizeL""fontSizeLHigh""fontSizeM" | - | |
fontStack | "fontStackPrimary""fontStackMonospace" | - | |
fontWeight | "fontWeightNormal""fontWeightMedium" | - | |
isTruncated | boolean | - | |
isWordBreak | boolean | - | |
letterSpacing | "letterSpacingDefault""letterSpacingWide" | - | |
lineHeight | "lineHeightDefault""lineHeightCondensed""lineHeight4Xl""lineHeight3Xl""lineHeight2Xl""lineHeightXl""lineHeightXlHigh""lineHeightL" | - | |
margin | sets margin to one of the corresponding spacing tokens "spacing4Xl""none""spacing2Xs""spacingXs""spacingS""spacingM""spacingL""spacingXl" | - | |
marginBottom | sets margin-bottom to one of the corresponding spacing tokens "spacing4Xl""none""spacing2Xs""spacingXs""spacingS""spacingM""spacingL""spacingXl" | - | |
marginLeft | sets margin-left to one of the corresponding spacing tokens "spacing4Xl""none""spacing2Xs""spacingXs""spacingS""spacingM""spacingL""spacingXl" | - | |
marginRight | sets margin-right to one of the corresponding spacing tokens "spacing4Xl""none""spacing2Xs""spacingXs""spacingS""spacingM""spacingL""spacingXl" | - | |
marginTop | sets margin-top to one of the corresponding spacing tokens "spacing4Xl""none""spacing2Xs""spacingXs""spacingS""spacingM""spacingL""spacingXl" | - | |
style | Accepts a JavaScript object with camelCased properties rather than a CSS string CSSProperties | - | |
testId | A [data-test-id] attribute used for testing purposes string | - |