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)
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:
| |
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
Multi-Line Expandable Code Snippet
Inline Code Snippet & Standalone Copy Button
Use
| |
4. Action Buttons, Button Sets & Sizing
Buttons express user actions with standardized Carbon weights, danger variants, responsive button groupings, and accessible keyboard focus states:
| |
5. Hierarchical Tree View Navigation
The TreeView displays folder/file structures and nested taxonomies with keyboard navigation and expand/collapse states:
| |
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
| |
Expressive Cards & Contextual Layering
For comprehensive specifications on nested layers and card variants, see the Carbon Layering System Guide:
Standard Contained Card
Built with contextual <code>var(--cds-layer)</code>, adapting automatically to its parent container.
Blue Accent Card
Decorated with an authoritative Carbon top accent stripe and status badge.
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:
| |
8. Accordions & Disclosure Panels
9. Tabs & Contained Tab Panels
10. Progress Bars & Step Indicators
11. Contained Lists & Structured Lists
--cds-interactive-01--cds-layer-0112. Notifications & Feedback Alerts
13. Form Controls, Content Switchers, Toggles & Tooltips
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
16. Master Carbon React Component Shortcode Inventory
| Carbon React Component | Hugo Carbon Shortcode | BEM Primary Class | Status |
|---|---|---|---|
Accordion, AccordionItem | accordion, accordion-item | .cds--accordion | ✓ Implemented |
Breadcrumb, BreadcrumbItem | breadcrumb | .cds--breadcrumb | ✓ Implemented |
Button, ButtonSet, IconButton | button, button-set | .cds--btn, .cds--btn-set | ✓ Implemented |
Card (Expressive / Product) | card | .cds--card | ✓ Implemented |
Checkbox, CheckboxGroup | checkbox, form-input | .cds--checkbox | ✓ Implemented |
ClickableTile, ExpandableTile, SelectableTile, Tile | tile, clickable-tile, expandable-tile | .cds--tile | ✓ Implemented |
CodeSnippet (Single, Multi, Inline) | code-snippet, code-file | .cds--snippet | ✓ Implemented |
ContainedList, ContainedListItem | contained-list, contained-list-item | .cds--contained-list | ✓ Implemented |
ContentSwitcher, Switch | content-switcher | .cds--content-switcher | ✓ Implemented |
CopyButton | copy-button | .cds--copy-btn | ✓ Implemented |
DataTable, TableToolbar, TableSort | data-table, csvw-table, xml-table | .cds--data-table | ✓ Implemented |
DatePicker, TimePicker | date-picker, time-picker | .cds--date-picker, .cds--time-picker | ✓ Implemented |
FileUploader | file-uploader | .cds--file | ✓ Implemented |
Form, FormGroup, FormItem | form-input | .cds--form-item, .cds--label | ✓ Implemented |
Link | link | .cds--link | ✓ Implemented |
Loading, InlineLoading | loading | .cds--loading, .cds--inline-loading | ✓ Implemented |
Modal, ComposedModal | modal, dashboard-modal | .cds--modal | ✓ Implemented |
Notification (Inline, Toast) | notification, toast, callout | .cds--inline-notification, .cds--toast-notification | ✓ Implemented |
NumberInput | number-input | .cds--number | ✓ Implemented |
OverflowMenu | overflow-menu | .cds--overflow-menu | ✓ Implemented |
Pagination, PaginationNav | pagination, pagination-nav | .cds--pagination, .cds--pagination-nav | ✓ Implemented |
Popover | popover | .cds--popover | ✓ Implemented |
ProgressBar, ProgressIndicator | progress-bar, progress-indicator | .cds--progress-bar, .cds--progress | ✓ Implemented |
RadioButton, RadioButtonGroup | radio-group, radio-button | .cds--radio-button | ✓ Implemented |
Search | search | .cds--search | ✓ Implemented |
Select | select | .cds--select | ✓ Implemented |
SkeletonText, SkeletonPlaceholder, SkeletonIcon | skeleton | .cds--skeleton | ✓ Implemented |
Slider | slider | .cds--slider | ✓ Implemented |
StructuredList | structured-list | .cds--structured-list | ✓ Implemented |
Tabs, TabPanel | tabs, tab-panel | .cds--tabs | ✓ Implemented |
Tag (11 Color Families + Filter) | tag | .cds--tag | ✓ Implemented |
Toggle | toggle | .cds--toggle | ✓ Implemented |
Tooltip, DefinitionTooltip | tooltip | .cds--tooltip | ✓ Implemented |
TreeView, TreeNode | tree-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, ChatComposer | ai-chat, persona-ai | .cds--chat | ✓ Implemented |
VCard (RFC 6350 Business Card) | vcard | .cds--vcard | ✓ Implemented |