--- name: Typography menu: Components route: components/typography --- import { Playground, Props } from 'docz'; import Typography from './'; # Typography Use typography to display text using the available props for customizing your content. ## Import ```javascript import { Typography } from '@ohfi/ui'; ``` ## Properties ## Basic usage h1. The five boxing wizards jump quickly. h2. The five boxing wizards jump quickly. h3. The five boxing wizards jump quickly. h4. The five boxing wizards jump quickly. h5. The five boxing wizards jump quickly. h6. The five boxing wizards jump quickly. subtitle. The five boxing wizards jump quickly. body. The five boxing wizards jump quickly. ## Changing the HTML element There are different semantic elements to be used in the Typography component. You can use the prop `component` to associate the component to be rendered with a semantic element. The style of a Typography is independent of the semantic element. This is a h2 using the h1 styles.