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

1.8.1 • Public • Published

Fab

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

Usage

The FAB (aka Floating Action Button) is a button that appears in front of all screen content.

Import

npm i @finastra/fab
import '@finastra/fab';
...
<fds-fab extended gradient label="Edit" icon="edit"></fds-fab>

API

Properties

Property Attribute Type Default Description
dense dense boolean false Make the fab smaller.
disabled boolean
exited boolean
extended extended boolean false Make the fab extended.
gradient gradient boolean false Apply gradient color.
icon icon string "add" Fab icon.
label label string "Action" Label in the extended fab.
mini boolean
reducedTouchTarget boolean
ripple Promise<Ripple | null>
showIconAtEnd boolean
styles CSSResult[] ["styles"]

CSS Custom Properties

Property Type Default Description
--fds-primary color "#694ED6" Primary color.
--fds-secondary color "#C137A2" Secondary color.

Package Sidebar

Install

npm i @finastra/fab

Weekly Downloads

1

Version

1.8.1

License

MIT

Unpacked Size

47.6 kB

Total Files

17

Last publish

Collaborators

  • david.bocle
  • ffdcbot
  • ttalbot