0.10.0 • Published 3 months ago

@equinor/fusion-react-button v0.10.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

@equinor/fusion-react-button

Published on npm

Default

Storybook

Fusion Web Component

Link

Storybook

Fusion Web Component

Icon

Storybook

Fusion Web Component

Icon toggle

Storybook

Fusion Web Component

Installation

npm install @equinor/fusion-react-button

Properties/Attributes

NameTypeDefaultDescription
iconstring''Icon to display, and aria-label value when label is not defined.
labelstring''Label to display for the button, and aria-label.
variantButtonVariant'contained'Button variant to render, defaults to contained if no variant is defined.
colorButtonColor'primary'Button color to render, defaults to primary if no color is defined.
densebooleanfalseMakes the button text and container slightly smaller.
disabledbooleanfalseDisabled buttons cannot be interacted with and have no visual interaction effect.
trailingIconbooleanfalseWhen true, icon will be displayed after label.
'expandContent'booleanfalseWhen true, the space after the label and before any trailing icon, where default slotted content is rendered, is expanded to fit the available space inside the button.
0.10.0

3 months ago

0.8.4

7 months ago

0.9.0

7 months ago

0.9.1

5 months ago

0.8.3

7 months ago

0.8.2

10 months ago

0.8.1

1 year ago

0.5.16

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.15

1 year ago

0.5.14

2 years ago

0.5.12

2 years ago

0.5.14-313.0

2 years ago

0.5.13

2 years ago

0.5.11

2 years ago

0.5.10

2 years ago

0.5.10-248.0

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.9

2 years ago

0.5.6

2 years ago

0.5.4

2 years ago

0.5.5

2 years ago

0.5.2-filter.4

3 years ago

0.5.2-filter.5

3 years ago

0.5.2-filter.6

3 years ago

0.5.2-filter.7

2 years ago

0.5.2-filter.0

3 years ago

0.5.2-filter.1

3 years ago

0.5.2-filter.2

3 years ago

0.5.2-filter.3

3 years ago

0.5.3

2 years ago

0.5.2

2 years ago

0.5.0

3 years ago

0.5.1

3 years ago

0.3.8

3 years ago

0.4.0

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago