@leafygreen-ui/logo
LeafyGreen UI Kit Logos
Last updated 2 months ago by brookescarlett .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install @leafygreen-ui/logo 
SYNC missed versions from official npm registry.

Logo

npm (scoped)

View on Storybook

Installation

Yarn

yarn add @leafygreen-ui/logo

NPM

npm install @leafygreen-ui/logo

Example

import {
  Logo,
  LogoMark,
  AtlasLogo,
  RealmLogo,
  CloudManagerLogo,
} from '@leafygreen-ui/logo';

<Logo />;

Output HTML

<svg
  xmlns="http://www.w3.org/2000/svg"
  viewBox="0 0 1112.61 300"
  height="40"
  width="100%"
>
  <title>MongoDB Logo</title>
  <path class="leafygreen-ui-17842x1"></path>
  <path class="leafygreen-ui-197s9ut"></path>
  <path class="leafygreen-ui-1wkd47u"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
  <path fill="#21313C"></path>
</svg>

Properties

Prop Type Description Default
height number Height of the <Logo /> component 40
knockout boolean Determines whether or not a knockout version of the Logo will be used false
variant 'light' | 'dark' Determines if <Logo /> will be white or dark gray 'dark'

LogoMark

Properties

Prop Type Description Default
height number Height of the <Logo /> component 40
knockout boolean Determines whether or not a knockout version of the Logo will be used. false
variant 'light' | 'dark' Determines if <Logo /> will be white or dark gray. Do not pass a value to this prop, if you wish to render a full-color logomark.

Product Logos

Properties

Prop Type Description Default
size number Height of the Product Logo 18
knockout boolean Determines whether or not a knockout version of the Product Logo will be used.

Current Tags

  • 4.0.2                                ...           latest (2 months ago)

9 Versions

  • 4.0.2                                ...           2 months ago
  • 4.0.1                                ...           3 months ago
  • 4.0.0                                ...           3 months ago
  • 3.0.0                                ...           4 months ago
  • 2.1.2                                ...           5 months ago
  • 2.1.1                                ...           6 months ago
  • 2.1.0                                ...           7 months ago
  • 2.0.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 21
Dependencies (0)
None
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |