@butterwith/hero-header

0.0.2 • Public • Published

@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"}
  />)
}

Readme

Keywords

none

Package Sidebar

Install

npm i @butterwith/hero-header

Weekly Downloads

0

Version

0.0.2

License

none

Unpacked Size

3.69 kB

Total Files

6

Last publish

Collaborators

  • tbutterwith