/a-component-library

This is a component library built in React, Typescript, styled-components, storybook and chromatic-ui

Primary LanguageTypeScript

React Component Library

example workflow

Image

Installation

To download and install the component library

npm i spiinge-components

Usage

To use the component library

import React from 'react'
import ReactDOM from 'react-dom'
import Badge from 'spiinge-comp-lib'


function App(){
    return(
        <Badge text='successful' />
    )
}

ReactDOM.render(<App />, document.querySelector('#app'));

The library contains these components

  • Avatar

  • AvatarAndName

  • Badge

  • Button

  • Card

  • Checkbox

  • Dropdown

  • InputField

  • Modal

  • OverviewCard

  • Typography

You can view the storybok canvas and documentation on chromatic at https://6207da00fd8970003a4b561e-ujfarttnqg.chromatic.com/ to see how the component look in your application.

Credits

License

MIT license @ Oladini Abayomi