Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 641 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 641 Bytes

@butterwith/hero-header

npm version

A full-screen hero banner inspired by the title cards from Netflix's We are the Champions.

Built using React and styled-components

Installation

> yarn add --dev @butterwith/hero-header

Usage

import HeroHeader from '@butterwith/hero-header';

render() {
  return (<HeroHeader img={path_to_img}
    title={"My Title}
    subtitle={"Subtitle text"} // optional subtitle
    color={"red"}
  />)
}