@nimbus-ds/tabs

2.3.0 • Public • Published

@nimbus-ds/tabs

The Tabs component allows us to separate content from the same hierarchy into different tabs.

@nimbus-ds/tabs

Installation

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

Component Anatomy

The component consists of a text and a line.

Guidelines

We use the component when we have more than two contents of the same context, and we need to switch the focus between them.

Tabs

This variant serves as a container used to group the tabs.

Tabs.item

This variant is the individual tab, which allows us to display content after a tab is activated.

Content

Tab titles must be clear and summarized in up to 2 words, referring to the tab content.

Recommendation for use

  • Switch between contents of the same context
  • Toggle data view
  • Toggle plan options

Usage

View docs here.

Nimbus

Readme

Keywords

none

Package Sidebar

Install

npm i @nimbus-ds/tabs

Weekly Downloads

7

Version

2.3.0

License

MIT

Unpacked Size

6.46 kB

Total Files

3

Last publish

Collaborators

  • nimbus-design-system
  • tiendanube