Skip to main content
Skip table of contents

Typography

Overview

Typography is a reusable component that helps present the content in an application.

Please refer to this for more information: https://mui.com/material-ui/react-typography/.

Import

CODE
import { Typography } from '@mui/material';

The above source will be imported automatically after dragging and dropping the Basic Component to the UI Preview Panel.

Property

Property:

Name

Default

Description

Id-name

Placeholder: <id-name>

The Id-name of the created component.

Default Style

Variant: None

The Default Style of the created component includes Variant.

State

State: Normal

The State of the created Component.

Margin and Padding

Size Unit: Px

The component Margin and Padding with many selectable Size Units.

Size

Size Unit: Px

The component Size of Width and Height with many selectable Size Units.

Layout

Position: None

Size Unit: Px

The component Layout includes Position and Top - Right - Bottom - Left with many selectable Size Units.

Text

Text: New Typography

Font-family: None

Size Unit: Px

Font-weight: None

Text-align: None

The component Text includes Text, Font-family, Font-size, Font-weight, Size Unit, Font-color, Text-align.

General

Visibility: None

Opacity: 100%

The component General includes Visibility, Opacity, and Background.

Advanced Style

The component Advanced Style includes Classname and Inline Style addition.

Code Sample:

CODE
<Typography
               id="Typography1" 
               variant="body1"
          sx={{':hover': {'margin': '20px','padding': '20px','width': '200px','height': '150px',
              'position': 'absolute','top': '15px','right': '25px','bottom': '15px','left': '25px',
              'fontFamily': 'Noto-Sans',
              'fontSize': '15px',
              'fontWeight': 'lighter',
              'color': '#970202ff',
              'textAlign': 'center',
              'visibility': 'hidden',
              'opacity': 0.67,
              'backgroundColor': '#250000ff',},}}>
          New Typography
</Typography>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.