-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
component: typographyThis is the name of the generic UI componentThis is the name of the generic UI componentepicThis is the beginningThis is the beginning
Description
Use typography to present your design and content as clearly and efficiently as possible.
Import
import Typography from '@mnui/material/Typography';
// or
import { Typography } from '@mnui/material';
Props
Props of the native component are also available.
| Name | Type | Default | Description |
|---|---|---|---|
| align | 'center', 'inherit', 'justify', 'left', 'right' |
'inherit' | Set the text-align on the component. |
| children | node | The content of the component. | |
| classes | object | Override or extend the styles applied to the component. See CSS API below for more details. | |
| component | elementType | The component used for the root node. Either a string to use a HTML element or a component. | |
| gutterBottom | bool | false | If true, the text will have a bottom margin. |
| noWrap | bool | false | If true, the text will not wrap, but instead will truncate with a text overflow ellipsis.Note that text overflow can only happen with block or inline-block level elements (the element needs to have a width in order to overflow). |
| paragraph | bool | false | If true, the element will be a paragraph element. |
| sx | Array<func, object, bool>, func, object |
The system prop that allows defining system overrides as well as additional CSS styles. See the `sx` epic for more details. | |
| variantMapping | object |
demo
The ref is forwarded to the root element.
Metadata
Metadata
Assignees
Labels
component: typographyThis is the name of the generic UI componentThis is the name of the generic UI componentepicThis is the beginningThis is the beginning
