Skip to content

[epic] Typography #2

@soroushm

Description

@soroushm

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

unnamed

The ref is forwarded to the root element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: typographyThis is the name of the generic UI componentepicThis is the beginning

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions