bpk-component-heading-css

v5.0.1
Backpack heading component.

bpk-component-heading

Backpack heading component.

Installation

npm install bpk-component-heading --save-dev

Usage

import React from 'react';
import BpkHeading from 'bpk-component-heading';

export default () => (
  <BpkHeading level="h1">My Heading</BpkHeading>
);

Props

Property PropType Required Default Value
children - true -
level 'h1', 'h2', 'h3', 'h4', 'h5', 'h6' true -
className string false null
id string false null
bottomMargin bool false true
npm i bpk-component-heading-css

Metadata

  • Apache-2.0
  • Whatever
  • Backpack Design System
  • released 2/2/2022

Downloads