0.7.1 • Published 2 years ago

@sandypockets/components v0.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@sandypockets/components

A React component library, still very much under development. As the library works towards a 1.0.0 release, there will likely be large stylistic and functional overhauls. Until then, this package is not suitable for production.

License: MIT npm.io npm.io npm.io

Each component is styled with its own CSS module, so you don't have to worry about collisions with your existing code.

Installation

Add the package to your project:

yarn add @sandypockets/components

Usage

Once installed, import the package and use it like you would any other component.

import { Button } from '@sandypockets/components'

export default function MyComponent() {
  
  return (
    <div>
      <Button theme="primary">
        Click me
      </Button>
    </div>
  )
}
AttributeProp NameTypeRequireddefault
aria-labelaccessibilityLabelstringnonull
classNamethemestringno"primary"
disableddisabledbooleannofalse
styleinlineStyleobjectnonull
typetypestringno"button"
onClickonClickHandlerfunctionnonull
onSubmitonSubmitHandlerfunctionnonull

Current components

  • Avatar
  • Avatar group
  • Badge
  • Button
  • Modal
  • Text area

Live demo

Check out the demo on StackBlitz

0.7.1

2 years ago

0.7.0

2 years ago

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.4

2 years ago

0.4.3

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago