Socket
Socket
Sign inDemoInstall

carbon-components

Package Overview
Dependencies
1
Maintainers
5
Versions
1093
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

carbon-components


Version published
Weekly downloads
110K
increased by10.33%
Maintainers
5
Created
Weekly downloads
 

Package description

What is carbon-components?

The carbon-components npm package is a library of reusable front-end components designed by IBM. It provides a comprehensive set of UI components that follow the Carbon Design System, which is IBM's open-source design system for digital products and experiences.

What are carbon-components's main functionalities?

Button

The Button component is a fundamental UI element used to trigger actions. The Carbon Design System provides various styles for buttons, such as primary, secondary, and danger buttons.

<button class="bx--btn bx--btn--primary">Primary Button</button>

Data Table

The Data Table component is used to display tabular data. It supports features like sorting, filtering, and pagination.

<table class="bx--data-table"><thead><tr><th>Header</th></tr></thead><tbody><tr><td>Data</td></tr></tbody></table>

Modal

The Modal component is used to display content in a layer above the main application. It is useful for dialogs, forms, and other interactive elements.

<div class="bx--modal"><div class="bx--modal-container"><p>Modal Content</p></div></div>

Tabs

The Tabs component is used to organize content into multiple sections, each accessible by a tab. This is useful for managing large amounts of content in a compact space.

<div class="bx--tabs"><ul class="bx--tabs__nav"><li class="bx--tabs__nav-item">Tab 1</li><li class="bx--tabs__nav-item">Tab 2</li></ul><div class="bx--tab-content">Content for Tab 1</div><div class="bx--tab-content">Content for Tab 2</div></div>

Other packages similar to carbon-components

Readme

Source

Carbon Components

The Carbon Design System is a series of individual styles and components, that when combined make beautiful, intuitive designs. These designs are systemic and logical, as they all follow the same universal principles.

The component library gives developers a collection of re-usable HTML and SCSS partials for building their products.

How to install

Using npm,

npm install -S carbon-components

:books: Documentation

  • See our documentation site here for full how-to docs and guidelines
  • Contributing: Guidelines for making contributions to this repo.

Keywords

FAQs

Last updated on 02 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc