@schibstedspain/sui-button-basic

1.5.0 • Public • Published

ButtonBasic

This button is following Schibsted Spain UX Guide Style.

It offers different types, that will change colors. Those flavours are: 'primary', 'secondary', 'accent', 'ghost', 'flat'.

Also, you can use it in three different sizes: 'small', 'medium', 'large'.

Moreover, it has a layout property. Right now, it only accepts the 'full' layout, in order to get all the width available of the container.

Obviously you can use both type and size in order to get your desired button. For example:

<ButtonBasic
  size='small'
  type='flat'
/>

Check the playground and the available propTypes of the component in order to get a complete view of the possibilities of the component.

Readme

Keywords

none

Package Sidebar

Install

npm i @schibstedspain/sui-button-basic

Weekly Downloads

1

Version

1.5.0

License

ISC

Unpacked Size

5.72 kB

Total Files

7

Last publish

Collaborators

  • schibstedspain