1.0.9 • Published 3 years ago

@brewerwall/logo v1.0.9

Weekly downloads
5
License
ISC
Repository
github
Last release
3 years ago

Brewerwall Logo Component

Installation

Install through npm:

npm install @brewerwall/logo

USE

Use is pretty straight forward.

import React, { Component } from "react";
import Logo from "@brewerwall/logo";

class Home extends Component 
{
    render() 
    {
        return (
            <Logo size="hero" showTitle={true} />
        );
    }
}

There are 4 additional props:

- type
- textColor
- size
- showTitle

Type

This will render different SVG types of the logo.

Options: light_color, light_transparent, light_solid, dark_color, dark_transparent, dark_solid

Default: dark_color

<Logo type="light_color" />

Text Color

This will set the color of the title text.

Options: Any CSS valid color.

Default: black

<Logo textColor="white" />

Size

This will render the entire logo and text proportionally to preset sizes.

Options: extra-small, small, medium, large, extra-large, hero

Default: small

<Logo size="hero" />

Show Titles

This will toggle the visibilty of the title in the logo.

<Logo showTitle={true} />
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago