react-full-header-generic

A full header component created with React.

Usage no npm install needed!

<script type="module">
  import reactFullHeaderGeneric from 'https://cdn.skypack.dev/react-full-header-generic';
</script>

README

React Full Header Component

Build Status Coverage Status

A gif with header containing video

Installation

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

Basic Usage

import FullHeader from 'react-full-header-generic';

...
render() {
    return (
        <FullHeader
            title="Full Header"
            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.

Authors

Gabriel Hahn Schaeffer | Willian Justen (Teacher)

License

MIT License