@cloudflare/component-logo

7.0.3 • Public • Published

@cloudflare/component-logo

Cloudflare Logo Component

Installation

Installation with yarn is recommended

$ yarn add @cloudflare/component-logo

Usage

import React from 'react';
import { Logo, LogoInline, LogoCloud, LogoHeader } from '../../src';
import { Box } from '@cloudflare/component-box';

const ViewComponent = () => (
  <div>
    <h2>Logo</h2>
    <Logo />
    <Box backgroundColor="gray.2">
      <Logo light />
    </Box>
    <h2>LogoInline</h2>
    <LogoInline />
    <Box backgroundColor="gray.2">
      <LogoInline light />
    </Box>
    <h2>LogoCloud</h2>
    <LogoCloud />
    <Box backgroundColor="gray.2">
      <LogoCloud />
    </Box>
    <h2>LogoHeader (responsive)</h2>
    <Box border="1px solid #ccc">
      <LogoHeader />
    </Box>
  </div>
);

export default ViewComponent;

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @cloudflare/component-logo

    Weekly Downloads

    6,356

    Version

    7.0.3

    License

    BSD-3-Clause

    Unpacked Size

    346 kB

    Total Files

    29

    Last publish

    Collaborators

    • lbarthonet
    • cf-media-manager
    • jacobbednarz
    • celso
    • cf-radar
    • dash_service_account
    • g4brym
    • snigdha34
    • wrangler-publisher
    • marksteyn
    • chiminator
    • sgoodhew_cf
    • terinjokes
    • third774
    • jsteinberger
    • jasnell
    • asapzacy
    • pcostanzo
    • gregbrimble
    • geelen
    • rexscaria
    • dcruz_cf
    • xuranwang
    • jculvey
    • sejoker
    • vasturiano
    • cf-ci-write
    • segments-write
    • thibmeu
    • xortive
    • gurjinder
    • cf-ci2
    • lvalenta
    • worenga