typography
v1.0.0arrow_drop_downv1.0.0
STATUS
Passing
DOWNLOADS
2
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
Sets the horizontal alignment of the text
Like
Install typography as a package?
Copied
npm i @bit/autodesk-tool-evals.hig-components.typography
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
modifieddraft
chevron_left
chevron_right
Sets the horizontal alignment of the text
Enables specifying the semantic element to be rendered by the component
If this prop is not provided, the semantic element will default to matching the variant (e.g. if the component
variant is h1, the element will be <h1>
) or if there is no semantic element matching the variant, it
will default to <p>
. You can provide elementType as a string, like "figcaption", or as a function, like
({children}) => (<figcaption>{children}</figcaption>)
.
Text to render
Specifies the weight (or boldness) of the font
Indicates the initial Typography style