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

1.8.1 • Public • Published

IconButton

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

Usage

Icon buttons allow users to take actions, and make choices, with a single tap.

Import

npm i @finastra/icon-button
import '@finastra/icon-button';
...
<fds-icon-button icon="code"></fds-icon-button>

API

Properties

Property Attribute Type Default Description
ariaHasPopup AriaHasPopup
ariaLabel string
buttonElement HTMLElement
dense dense boolean false Make the button smaller.
disabled disabled boolean false Make the button disabled.
icon icon string "code" Icon used in the button.
primary primary boolean false Use the primary color.
ripple Promise<Ripple | null>
secondary secondary boolean false Use the secondary color.

Methods

Method Type
blur (): void
focus (): void

Package Sidebar

Install

npm i @finastra/icon-button

Weekly Downloads

26

Version

1.8.1

License

MIT

Unpacked Size

22.7 kB

Total Files

17

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot