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 the IBM Carbon Design System v11 component specifications using pure semantic HTML5, token-driven SCSS, and lightweight vanilla JS modules compiled 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 custom tripartite themes) - WCAG 2.1 / 2.2 AA Accessibility (full keyboard tab-stops, 2px focus rings, ARIA landmarks)
- Zero Runtime CDNs (100% self-hosted dependencies)
1. Skeletons & Shimmer Loading States
Skeletons provide smooth visual placeholders during asynchronous data fetching.
Shortcode Examples
| |
Skeleton Component Preview
2. Accordions
Accordions disclose content sections on demand with smooth rotational chevrons and keyboard navigation.
- 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 5 distinct Cloudflare Pages targets (
cesar.caldeira.cc,blog.caldeira.cc,apps.caldeira.cc,carbon.caldeira.cc, andassets.caldeira.cc).
| |
3. Tabs & Contained Tab Panels
Tabs organize dense content into switchable panels without leaving the current view.
The architecture relies on static compilation with zero runtime React or Node server dependencies.
All colors are mapped to CSS custom properties (`--cds-*`) with build-time theme injection.
Static AES-256-GCM encryption protects sensitive content without plaintext leakage.
| |
4. Progress Bars & Step Indicators
Meters and step trackers for linear workflows and multi-step processes.
- Define TokensStep 1
- Implement ComponentsStep 2
- Run Link AuditStep 3
- Deploy TargetsStep 4
| |
5. Contained Lists & Structured Lists
Organize key-value specifications and grouped items within clean Carbon containers.
| Token Name | CSS Variable | Standard Value |
|---|---|---|
| Interactive Primary | --cds-interactive-01 | #69a280 (Sage) / #0f62fe (IBM) |
| Layer Background | --cds-layer-01 | #f4f4f4 (Light) / #262626 (Dark) |
6. Action Buttons & Button Sets
Carbon buttons provide clear calls to action with standardized visual weights.
| |
7. Notifications & Alerts
Inline alerts and toast notifications for non-disruptive system feedback.
8. Form Controls, Content Switchers, Toggles & Tooltips
9. Cards & Carbon Tiles
IBM Carbon Design System Architecture
10. Carbon Pagination & Navigation
11. 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
| |
12. Master Carbon React Component Shortcode Inventory
| Carbon React Component | Hugo Carbon Shortcode | Status |
|---|---|---|
AIChat, ChatContainer, ChatComposer | ai-chat, persona-ai | ✓ Implemented |
Accordion, AccordionItem | accordion, accordion-item | ✓ Implemented |
Breadcrumb, BreadcrumbItem | breadcrumb | ✓ Implemented |
Button, ButtonSet, IconButton | button | ✓ Implemented |
Card (Expressive / Product) | card | ✓ Implemented |
Checkbox | checkbox | ✓ Implemented |
ClickableTile, ExpandableTile, Tile | clickable-tile, expandable-tile, tile | ✓ Implemented |
CodeSnippet | code-file | ✓ Implemented |
ContainedList, ContainedListItem | contained-list, contained-list-item | ✓ Implemented |
ContentSwitcher | content-switcher | ✓ Implemented |
DataTable, TableToolbar, TableSort | data-table, csvw-table, xml-table | ✓ Implemented |
DatePicker, TimePicker | date-picker, time-picker | ✓ Implemented |
FileUploader | file-uploader | ✓ Implemented |
Link | link | ✓ Implemented |
Loading, InlineLoading | loading | ✓ Implemented |
Modal, ComposedModal | modal | ✓ Implemented |
Notification (Inline, Toast) | notification, toast | ✓ Implemented |
NumberInput | number-input | ✓ Implemented |
OverflowMenu | overflow-menu | ✓ Implemented |
Pagination, PaginationNav | pagination, pagination-nav | ✓ Implemented |
Popover | popover | ✓ Implemented |
ProgressBar, ProgressIndicator | progress-bar, progress-indicator | ✓ Implemented |
RadioButton, RadioButtonGroup | radio-group, radio-button | ✓ Implemented |
Search | search | ✓ Implemented |
Select | select | ✓ Implemented |
SkeletonText, SkeletonPlaceholder, SkeletonIcon | skeleton | ✓ Implemented |
Slider | slider | ✓ Implemented |
StructuredList | structured-list | ✓ Implemented |
Tabs, TabPanel | tabs, tab-panel | ✓ Implemented |
Tag | tag | ✓ Implemented |
Toggle | toggle | ✓ Implemented |
Tooltip, DefinitionTooltip | tooltip | ✓ Implemented |
UIShell | layouts/partials/header/navbar.html, sidebars/ | ✓ Implemented |
VCard (Business Card / RFC 6350) | vcard (File & Variable Modes) | ✓ Implemented |