🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@brainly/style-guide

Package Overview
Dependencies
Maintainers
10
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brainly/style-guide

style guide amazing again

0.1.8
latest
Source
npm
Version published
Weekly downloads
6
20%
Maintainers
10
Weekly downloads
 
Created
Source

@brainly/style-guide

This package contains basic components for:

  • avatars
  • buttons
  • icons
  • inputs
  • logotypes
  • round buttons

Instal package to your dev dependencies

yarn add @brainly/style-guide -D

Init package

Import necessary package - icons are splitted into separace chunks, attach the one that you need to use

import '@brainly/style-guide';
import '@brainly/style-guide/dist/icons';
import '@brainly/style-guide/dist/subjectIcons';
import '@brainly/style-guide/dist/subjectIconsMono';

Example JSX usage

import {Button, BUTTON_TYPE} from '@brainly/style-guide';

<Button className={styles.button} type={BUTTON_TYPE.PRIMARY}>Example primary button</Button>

FAQs

Package last updated on 23 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts