Components

Header

<Header />

The Header component is a base for all text components intended as headings.

Usage

import { H1, H2, H3, H4, H5, H6, HeaderProps } from '@admin-bro/design-system'

// or

import { Header } from '@admin-bro/design-system'
// Header.H1

By default, the Heading component renders an h3 element.

See:

View Source admin-bro-design-system/src/atoms/header.tsx, line 105

Example

Type Definitions

object

# HeaderProps

Prop Types of an Header components. Apart from all props for a standard hx elements it extends TypographyProps and SpaceProps

Properties:
Name Type Attributes Description
... string <optional>

Other props from TypographyProps, SpaceProps

View Source admin-bro-design-system/src/atoms/header.tsx, line 119