@nimbus-ds/label
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

@nimbus-ds/label

@nimbus-ds/label

The label component allows us to name elements within a form.

Installation

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

Component Anatomy

The component consists of styled base text, which consumes our typography and color tokens.

Guidelines

We use this component as a slot that can receive text and icons with tooltips, which help the user to understand what information is required when filling out forms.

Label is recommended for:

  • Naming fields of Input text
  • Naming options in a Select
  • Naming options in a Radio Button list
  • Name options in a list of Checkboxes

Usage

View docs here.

Nimbus

Readme

Keywords

none

Package Sidebar

Install

npm i @nimbus-ds/label

Weekly Downloads

1

Version

2.2.0

License

MIT

Unpacked Size

17.4 kB

Total Files

5

Last publish

Collaborators

  • nimbus-design-system
  • tiendanube