0.2.0 • Published 4 years ago

@fourforbusiness/corporate-brand-logo v0.2.0

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

four for business - Corporate Brand Logo

This packages provides the four for business corporate brand logo.

Installation

npm

npm i @fourforbusiness/corporate-brand-logo

yarn

yarn add @fourforbusiness/corporate-brand-logo

Usage

The component consumes two props and inherits text color:

  • icon (boolean) - changes from logo to icon
  • width (number)

The default width is 275px.

Logo

import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo />

<Logo width={320} />

Icon

import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo icon />

Theme UI

Addionally the logo could be used with Theme UI. If your theme has defined breakpoints it is possible to provide an array for width.

import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo width={[64,128,256]} />

License

MIT

The logo, icon and corporate brand name itself is protected by copyright laws.