adamsalves / react-full-header

A Full Header component create with React.

Home Page:https://adamsalves.github.io/react-full-header

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React full header

a full-screen header react component

Build Status

Demo

Live examples

Installation

$ npm install --save react-full-header-ad

Basic Usage

import FullHeader from 'react-full-header';

...
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 @ adamsalves

About

A Full Header component create with React.

https://adamsalves.github.io/react-full-header

License:MIT License


Languages

Language:JavaScript 99.6%Language:CSS 0.4%