@finastra/checkbox
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

Checkbox

See it on NPM! How big is this package in your project? Storybook

Checkboxes allow the user to select one or more items from a set.

Usage

Import

npm i @finastra/checkbox
import '@finastra/checkbox';
...
<fds-checkbox checked></fds-checkbox>

API

Properties

Property Attribute Modifiers Type Default Description
ariaDescribedBy string
ariaLabel string
ariaLabelledBy string
checked checked boolean true Whether the checkbox is checked.
disabled disabled boolean false Disabled state for the component. When disabled is set to true, the
component will not be added to form submission.
indeterminate indeterminate boolean false It is used on the parent to indicate that some but not all of its children are checked.
isRippleActive readonly
name string
reducedTouchTarget boolean Touch target extends beyond visual boundary of a component by default.
Set to true to remove touch target added to the component.
ripple Promise<Ripple | null> Implement ripple getter for Ripple integration with mwc-formfield
styles CSSResult[] ["styles"]
value string

Methods

Method Type
click (): void

CSS Custom Properties

Property Type Default Description
--fds-primary color "#694ED6" Checkbox color

Package Sidebar

Install

npm i @finastra/checkbox

Weekly Downloads

3

Version

1.8.1

License

MIT

Unpacked Size

45.4 kB

Total Files

17

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot