@cloudflare/component-logo

    3.9.17 • 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;

    Keywords

    none

    Install

    npm i @cloudflare/component-logo

    DownloadsWeekly Downloads

    1,000

    Version

    3.9.17

    License

    BSD-3-Clause

    Unpacked Size

    312 kB

    Total Files

    29

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar