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

@brighthr/component-checkbox

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brighthr/component-checkbox

To install, type the following into the command line at the root of your project:

  • 2.0.6
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Checkbox

To install, type the following into the command line at the root of your project:

npm i @brighthr/component-checkbox

To implement the Checkbox component into your project you’ll need to add the import:

import Checkbox from '@brighthr/component-checkbox';

After adding import into your project you can use it simply like:

<Checkbox />

Props

NameTypeDefaultDescription
checkboxButtonbooleanfalseIf true, gives the checkbox a button appearance.
checkboxButtonSize'sm' 'base''base'Sets the size of the button appearance if checkboxButton is true.
checkboxPosition'left' 'right''left'Sets the position of the checkbox.
checkedbooleanfalseIf true, the checkbox will show as selected.
circularCheckboxbooleanfalseIf true, the checkbox will be circular.
descriptionstringSets a description to show.
disabledbooleanfalseIf true, disables the checkbox with a gray overlay.
iconNamestringSets the icon to display, no icon is displayed if left empty.
labelstringSets the label.

FAQs

Package last updated on 26 Sep 2024

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