4.1.1 • Published 5 months ago

@nimbus-ds/icon-button v4.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@nimbus-ds/icon-button

@nimbus-ds/icon-button

Icons are used to visually communicate core parts of the product and available actions. They can act as wayfinding tools to help merchants more easily understand where they are in the product, and common interaction patterns that are available.

Installation

$ yarn add @nimbus-ds/icon-button
# or
$ npm install @nimbus-ds/icon-button

Component Anatomy

The component consists of a circular shape and an icon.

Guidelines

We use the Icon Button when we have a space limitation or an action can be perfectly represented by an icon, its use can be combined with the Tooltip, showing a brief description of the action to be performed.

Icon choice

The icon must make it clear what the Icon Button action is without the need for text, if it is not possible to summarize the action in an icon, we should consider using another component.

AriaLabel

This component does not have visible text, however it has a tag to facilitate its identification by people with some kind of visual or cognitive limitation. That's why we need to add a description that makes it clear what action is behind the chosen icon.

Related components

Button component - It is used for changes to state or page changes, in contexts where there is no space limitation or where only an icon is not able to communicate its action.

Usage

View docs here.

4.1.1

5 months ago

4.1.1-rc.3

5 months ago

4.1.1-rc.2

5 months ago

4.1.1-rc.1

8 months ago

4.1.0-rc.1

1 year ago

4.0.0-rc.1

1 year ago

4.1.0

1 year ago

4.0.0

1 year ago

3.5.0-rc.1

1 year ago

3.4.0-rc.1

1 year ago

3.3.0-rc.1

1 year ago

3.4.0

1 year ago

3.3.0

1 year ago

3.2.0

1 year ago

3.5.0

1 year ago

2.1.0-rc.1

1 year ago

3.1.0

1 year ago

2.1.0-rc.6

1 year ago

2.1.0-rc.5

1 year ago

2.1.0-rc.3

1 year ago

3.0.0-rc.2

1 year ago

3.0.0-rc.1

1 year ago

3.1.0-rc.1

1 year ago

3.0.0

1 year ago

3.0.0-rc.3

1 year ago

2.1.1

1 year ago

2.1.0-rc.7

1 year ago

2.1.0

1 year ago

1.1.0

2 years ago

1.0.1

2 years ago

2.0.0-rc.1

1 year ago

1.0.1-rc.1

2 years ago

2.0.0

1 year ago

1.0.0

2 years ago

1.0.0-rc.1

2 years ago