@berlitz/logo

3.1.0 • Public • Published

Logo npm version

Berlitz Logo component consist of a primary(named logo with a pill background), secondary (named logo with no pill) and tertiary logo(berlitz squared logo). The logo component has the flexibility to change the size and color.

Installation

yarn add @berlitz/logo

Props

Argument Type Required Default Example
type one of ['primary', 'secondary', 'tertiary'] false primary 'primary'
size one of ['xs', 'sm', 'md', 'lg'] false sm 'xs'
color string eg. brandPrimary, brandSecondary brandPrimary 'brandPrimary'

Usage

import React from 'react'
import Logo from '@berlitz/Logo'
const MyApp = () => <Logo type="tertiary" size="md" color="brandPrimary" />

When to use this component

  • Header
  • Footer

Readme

Keywords

none

Package Sidebar

Install

npm i @berlitz/logo

Weekly Downloads

1,955

Version

3.1.0

License

MIT

Unpacked Size

21.1 kB

Total Files

9

Last publish

Collaborators

  • berlitz