Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@synerise/ds-button-group

Package Overview
Dependencies
Maintainers
1
Versions
241
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synerise/ds-button-group

Button-Group UI Component for the Synerise Design System

  • 0.3.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
decreased by-97.14%
Maintainers
1
Weekly downloads
 
Created
Source

id: button-group title: Button-Group

A group of buttons is used to wrap a series of buttons.

When to use it


  • To combine primary and secondary buttons.
  • To allow users to navigate between several separate tabs with options in a main screen.

Component anatomy


This is a complex component, which means that it may consist of other components:

  • icon
  • button
  • utils

Installation


npm i @synerise/ds-button-group

or

yarn add @synerise/ds-button-group

Usage


import ButtonGroup from '@synerise/ds-button-group'


<ButtonGroup
  title={'Some title'}
  size={'large'}
  description={'Some description'}
>
  <Button onClick={() => alert('Clicked!')}>Click me!</Button>
  <Button onClick={() => alert('Clicked!')}>Click me!</Button>
  <Button onClick={() => alert('Clicked!')}>Click me!</Button>
</ButtonGroup>

Demo


API


PropertyDescriptionTypeDefault
titleThe title of the groupstring-
descriptionThe description of the groupstring-
sizeDefines the size of the button: small, largestring-
childrenButtons used in the groupReact.ReactNode-

FAQs

Package last updated on 24 Feb 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc