Socket
Socket
Sign inDemoInstall

@brainly/style-guide

Package Overview
Dependencies
6
Maintainers
10
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @brainly/style-guide

style guide amazing again


Version published
Weekly downloads
1
Maintainers
10
Install size
1.18 MB
Created
Weekly downloads
 

Readme

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

Last updated on 23 Apr 2019

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc