Cloudflare Header Component


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
Minified + gzip package size for @cloudflare/component-header in KB



Cloudflare Header Component


Installation with yarn is recommended

$ yarn add @cloudflare/component-header


import React from 'react';
import { Box } from '@cloudflare/component-box';
import { Header, NavList, NavItem, Hamburger } from '../../src';
import { LogoHeader } from '@cloudflare/component-logo';

const ViewComponent = () => (
    <Box display="flex">
      <Hamburger onClick={() => console.log('Yum! Hamburger')} />
      <a href=".">
        <LogoHeader />

export default ViewComponent;

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.