IBM Carbon Design System Component Library

Comprehensive technical reference, parameter guide, and live shortcode specifications for all Carbon v11 components, skeletons, and UI patterns.

Carbon Design System v11 Component Suite

The Hugo-Carbon Modular Platform implements official IBM Carbon Design System v11 components using @carbon/styles compiled via Dart Sass and official @carbon/web-components (<cds-*>) custom elements bundled via Hugo’s native asset pipeline (js.Build).

All components adhere strictly to:

  • 16-Column 2x Grid Layout (8px mini-units, 4px baseline rhythm, 1440px max width boundary)
  • Token-based Theming (--cds-* across White, Gray 10, Gray 90, Gray 100, and domain custom overrides)
  • WCAG 2.1 / 2.2 AA Accessibility (full keyboard tab-stops, 2px focus rings, ARIA landmarks)
  • Zero Runtime CDNs (100% self-hosted dependencies)

1. Full IBM Carbon Color Palette & Token Scales

The system implements the complete @carbon/colors 120-color specification across 12 families (10 grades from 10 to 100), plus the @carbon/charts 14-color categorical visualization palette. All colors are exposed as CSS custom properties in :root and structured in data/themes.yaml.

12 Carbon Color Families (Grades 10–100)

Blue (Interactive Core)
Cyan & Teal
Green & Yellow (Status / Success)
Red & Magenta (Error / Danger)
Purple & Orange
Neutral Grays (Gray, Cool Gray, Warm Gray)

Data Visualization Categorical 14-Palette


2. Carbon Tag Suite (All 11 Color Families & Filter Tags)

Carbon tags label and categorize content with high visual legibility. All 11 Carbon color families, outline styles, and dismissable filter states are supported:

#Blue #Cyan #Teal #Green #Purple #Magenta #Red #Gray #Cool Gray #Warm Gray #High Contrast #Outline #Dismissable Tag
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{{< tag type="blue" name="Blue" >}}
{{< tag type="cyan" name="Cyan" >}}
{{< tag type="teal" name="Teal" >}}
{{< tag type="green" name="Green" >}}
{{< tag type="purple" name="Purple" >}}
{{< tag type="magenta" name="Magenta" >}}
{{< tag type="red" name="Red" >}}
{{< tag type="gray" name="Gray" >}}
{{< tag type="cool-gray" name="Cool Gray" >}}
{{< tag type="warm-gray" name="Warm Gray" >}}
{{< tag type="high-contrast" name="High Contrast" >}}
{{< tag type="outline" name="Outline" >}}
{{< tag type="blue" name="Filter Tag" filter="true" >}}

3. Code Snippets & Standalone Copy Buttons

Formatted code snippet presentation supporting single-line, multi-line expandable, and inline executions with clipboard integration:

Single-Line Code Snippet

npm install @carbon/react @carbon/styles

Multi-Line Expandable Code Snippet

import { Button, DataTable, Dropdown } from '@carbon/react'; function CarbonApp() { return ( <div className="cds--grid"> <div className="cds--row"> <Button kind="primary">Explore Carbon v11</Button> </div> </div> ); } export default CarbonApp;

Inline Code Snippet & Standalone Copy Button

Use data-carbon-theme='g100' to set high-contrast dark theme. Or copy the clone URL:

1
2
3
4
5
6
{{< code-snippet type="single" text="npm install @carbon/react" >}}
{{< code-snippet type="multi" expandable="true" >}}
...multi-line code...
{{< /code-snippet >}}
{{< code-snippet type="inline" text="inline-code" >}}
{{< copy-button text="https://example.com" >}}

4. Action Buttons, Button Sets & Sizing

Buttons express user actions with standardized Carbon weights, danger variants, responsive button groupings, and accessible keyboard focus states:

Primary Secondary Tertiary Ghost ↗ Danger Primary Danger Tertiary
Small (32px) Medium (40px) Large (48px) Disabled
1
2
3
4
5
{{< button-set >}}
  {{< button kind="primary" icon="arrow-right" >}}Primary{{< /button >}}
  {{< button kind="secondary" >}}Secondary{{< /button >}}
  {{< button kind="danger--tertiary" >}}Danger Tertiary{{< /button >}}
{{< /button-set >}}

5. Hierarchical Tree View Navigation

The TreeView displays folder/file structures and nested taxonomies with keyboard navigation and expand/collapse states:

1
2
3
4
5
{{< tree-view label="File Directory" >}}
  {{< tree-node label="Folder" icon="folder" expanded="true" >}}
    {{< tree-node label="Child File" icon="file" leaf="true" >}}
  {{< /tree-node >}}
{{< /tree-view >}}

6. Carbon Tiles (Standard, Clickable, Expandable, Selectable)

Carbon tiles package content onto elevated surfaces:

<strong>Standard Tile</strong>
<p style="margin: 0.5rem 0 0; color: var(--cds-text-secondary); font-size: 0.8125rem;">Static content surface bounded by subtle 1px border.</p>
Clickable Tile
<strong>Clickable Tile</strong>
<p style="margin: 0.5rem 0 0; color: var(--cds-text-secondary); font-size: 0.8125rem;">Interactive hover elevation and active focus rings.</p>
<strong>Selectable Tile</strong>
<p style="margin: 0.5rem 0 0; color: var(--cds-text-secondary); font-size: 0.8125rem;">Click or press space to toggle selection state.</p>
Expandable Tile Specification
Above-the-fold summary content visible by default.
Below-the-fold expanded details disclosed smoothly with rotational chevron indicator.
1
2
3
4
{{< tile >}}Static Surface{{< /tile >}}
{{< clickable-tile href="..." >}}Clickable Card{{< /clickable-tile >}}
{{< tile type="selectable" selected="true" >}}Selectable Card{{< /tile >}}
{{< expandable-tile title="Details" >}}Summary<!-- more -->Full content{{< /expandable-tile >}}

Expressive Cards & Contextual Layering

For comprehensive specifications on nested layers and card variants, see the Carbon Layering System Guide:

Variant: Standard

Standard Contained Card

Built with contextual <code>var(--cds-layer)</code>, adapting automatically to its parent container.
Variant: Accent

Blue Accent Card

Layer 1
Decorated with an authoritative Carbon top accent stripe and status badge.
Variant: Elevated

Elevated Card

Features subtle elevation shadows (<code>--cds-shadow-01</code>) that lift on hover.

7. Skeletons & Shimmer Loading States

Skeletons provide smooth visual placeholders during asynchronous data fetching:

1
2
3
4
5
6
{{< skeleton type="text" width="80%" >}}
{{< skeleton type="heading" width="65%" >}}
{{< skeleton type="paragraph" count="3" >}}
{{< skeleton type="button" width="140px" >}}
{{< skeleton type="card" >}}
{{< skeleton type="table" >}}

8. Accordions & Disclosure Panels

All scripts, stylesheets, mathematical rendering engines (KaTeX), MapLibre vector tiles, and IBM Plex fonts are 100% self-hosted locally under static/. Hugo isolates builds into modular static targets with instant generation times and zero runtime dependencies.

9. Tabs & Contained Tab Panels


10. Progress Bars & Step Indicators


11. Contained Lists & Structured Lists

Documentation Hub Architectural specifications & guides
W3C Data Explorer Tabular dataset ingestion & analysis
Component Studio Live shortcode specimens
Token Name CSS Variable Standard Value Interactive Primary--cds-interactive-01#0f62fe (IBM Blue 60)Layer Background--cds-layer-01#f4f4f4 (Light) / #262626 (Dark)

12. Notifications & Feedback Alerts

All Carbon Web Component custom elements, SCSS packages, and local font sets verified with zero external CDN dependencies.
The website runs entirely offline without external runtime network calls.

13. Form Controls, Content Switchers, Toggles & Tooltips

Unique slug identifier
Hover here for Definition IBM Carbon v11 Accessible Tooltip

14. Carbon Pagination & Navigation


15. AI Chat & Generative AI Component Suite

Compliant with IBM Carbon for AI React component specifications (.cds--chat, .cds--chat-header, .cds--chat-messages, .cds--chat-composer).

Carbon Interactive AI Assistant

On-Device WebLLM • Static Vector RAG

SmolLM2-360M-Instruct

How can I assist your research today?

Select a starter prompt or ask any question:

⚡ Local RAG Active AI generated. 100% Client-Side Privacy.

16. Master Carbon React Component Shortcode Inventory

Carbon React ComponentHugo Carbon ShortcodeBEM Primary ClassStatus
Accordion, AccordionItemaccordion, accordion-item.cds--accordion✓ Implemented
Breadcrumb, BreadcrumbItembreadcrumb.cds--breadcrumb✓ Implemented
Button, ButtonSet, IconButtonbutton, button-set.cds--btn, .cds--btn-set✓ Implemented
Card (Expressive / Product)card.cds--card✓ Implemented
Checkbox, CheckboxGroupcheckbox, form-input.cds--checkbox✓ Implemented
ClickableTile, ExpandableTile, SelectableTile, Tiletile, clickable-tile, expandable-tile.cds--tile✓ Implemented
CodeSnippet (Single, Multi, Inline)code-snippet, code-file.cds--snippet✓ Implemented
ContainedList, ContainedListItemcontained-list, contained-list-item.cds--contained-list✓ Implemented
ContentSwitcher, Switchcontent-switcher.cds--content-switcher✓ Implemented
CopyButtoncopy-button.cds--copy-btn✓ Implemented
DataTable, TableToolbar, TableSortdata-table, csvw-table, xml-table.cds--data-table✓ Implemented
DatePicker, TimePickerdate-picker, time-picker.cds--date-picker, .cds--time-picker✓ Implemented
FileUploaderfile-uploader.cds--file✓ Implemented
Form, FormGroup, FormItemform-input.cds--form-item, .cds--label✓ Implemented
Linklink.cds--link✓ Implemented
Loading, InlineLoadingloading.cds--loading, .cds--inline-loading✓ Implemented
Modal, ComposedModalmodal, dashboard-modal.cds--modal✓ Implemented
Notification (Inline, Toast)notification, toast, callout.cds--inline-notification, .cds--toast-notification✓ Implemented
NumberInputnumber-input.cds--number✓ Implemented
OverflowMenuoverflow-menu.cds--overflow-menu✓ Implemented
Pagination, PaginationNavpagination, pagination-nav.cds--pagination, .cds--pagination-nav✓ Implemented
Popoverpopover.cds--popover✓ Implemented
ProgressBar, ProgressIndicatorprogress-bar, progress-indicator.cds--progress-bar, .cds--progress✓ Implemented
RadioButton, RadioButtonGroupradio-group, radio-button.cds--radio-button✓ Implemented
Searchsearch.cds--search✓ Implemented
Selectselect.cds--select✓ Implemented
SkeletonText, SkeletonPlaceholder, SkeletonIconskeleton.cds--skeleton✓ Implemented
Sliderslider.cds--slider✓ Implemented
StructuredListstructured-list.cds--structured-list✓ Implemented
Tabs, TabPaneltabs, tab-panel.cds--tabs✓ Implemented
Tag (11 Color Families + Filter)tag.cds--tag✓ Implemented
Toggletoggle.cds--toggle✓ Implemented
Tooltip, DefinitionTooltiptooltip.cds--tooltip✓ Implemented
TreeView, TreeNodetree-view, tree-node.cds--tree, .cds--tree__node✓ Implemented
UIShell (Header, SideNav, GlobalBar)layouts/partials/header/, sidebars/.cds--header, .cds--side-nav✓ Implemented
AIChat, ChatContainer, ChatComposerai-chat, persona-ai.cds--chat✓ Implemented
VCard (RFC 6350 Business Card)vcard.cds--vcard✓ Implemented