full-header-comp

1.0.0 • Public • Published

Full Header Component

A gif with header containing video

Demo

Live examples

Installation

$ npm install --save-dev full-header-comp

Basic Usage

import FullHeader from 'full-header-comp';
 
...
render() {
    return (
        <FullHeader
            title="lyef"
            subtitle="What is tested may never break."
            bgColor="#EBE9EB"
            textColor="#3299BB"
            font="Lobster"
            video="videos/my_video.mp4"
        />
    );
}
...

Props

  • title (string) - main title
  • subtitle (string) - subtitle
  • bgColor (string) - background color
  • bgImg (string) - image to background
  • video (string) - video to background
  • textColor (string) - texts color
  • font (string) - font-family to texts

Architecture

We've developed this component using the following boilerplate: lyef-react-component.

If you want to contribute with this component: Contributing Documentation.

License

MIT License @ Guilherme Almeida

Readme

Keywords

Package Sidebar

Install

npm i full-header-comp

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

1.69 MB

Total Files

23

Last publish

Collaborators

  • guisalmeida