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

@forter/button-group

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/button-group

Button Group from Forter Components

  • 1.3.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
85
increased by8400%
Maintainers
3
Weekly downloads
 
Created
Source

fc-button-group

A group of buttons

Usage

<script>
   import '@forter/button-group';
</script>

<fc-button-group .options="${[{'icon': 'edit', 'key': 'edit', 'tooltip':'Edit'},{'icon':'admin','key':'admin','selected':true},{'icon':'copy', 'key':'copy','tooltip':'Copy'}]}">
   </fc-button-group>

Properties

PropertyAttributeTypeDefaultDescription
disableddisabledbooleanfalseIf the element is disabled
inputIdstring
labellabelstringThe label for the group
namenamestringThe formdata name for the group
optionsoptionsany[][]The model for the buttons. example: [{"icon": "edit", "key": "edit", "tooltip":"Edit"},{"icon":"admin","key":"admin","selected":true}]

Events

Event
select

Slots

NameDescription
inputinternal slot for rendering light children. Do not use.

CSS Custom Properties

Property
--fc-button-group-padding-horizontal
--fc-button-group-padding-vertical

Keywords

FAQs

Package last updated on 21 May 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