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

1
2
3
4
5
6
7
{{< 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" >}}
{{< skeleton type="icon" >}}

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, and assets.caldeira.cc).
1
2
3
4
5
{{< accordion align="start" >}}
  {{< accordion-item title="Section Title" open="true" >}}
    Content goes here...
  {{< /accordion-item >}}
{{< /accordion >}}

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.
1
2
3
4
5
{{< tabs type="contained" tabs="Tab 1,Tab 2,Tab 3" >}}
  {{< tab-panel active="true" >}}Content for Tab 1{{< /tab-panel >}}
  {{< tab-panel >}}Content for Tab 2{{< /tab-panel >}}
  {{< tab-panel >}}Content for Tab 3{{< /tab-panel >}}
{{< /tabs >}}

4. Progress Bars & Step Indicators

Meters and step trackers for linear workflows and multi-step processes.

Dependency Audit 85% Complete
  • Define Tokens
    Step 1
  • Implement Components
    Step 2
  • Run Link Audit
    Step 3
  • Deploy Targets
    Step 4
1
2
{{< progress-bar value="85" label="Audit" helper="85% Complete" status="success" >}}
{{< progress-indicator steps="Step 1,Step 2,Step 3" current="2" vertical="false" >}}

5. Contained Lists & Structured Lists

Organize key-value specifications and grouped items within clean Carbon containers.

Token NameCSS VariableStandard 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.

Carbon Storybook ↗

1
2
3
{{< button kind="primary" icon="arrow-right" >}}Primary Action{{< /button >}}
{{< button kind="secondary" >}}Secondary Action{{< /button >}}
{{< button kind="ghost" href="https://..." icon="launch" >}}External Link{{< /button >}}

7. Notifications & Alerts

Inline alerts and toast notifications for non-disruptive system feedback.

Local Verification Passed
All 124 Carbon React component references, SCSS packages, and local font sets verified with zero external CDN dependencies.
Validated via verify-dependencies.py
Zero-CDN Invariant
The website runs entirely offline without external runtime network calls.

8. Form Controls, Content Switchers, Toggles & Tooltips

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

9. Cards & Carbon Tiles

Fully compliant with IBM Carbon v11 16-column grid, token-driven theming, and zero runtime external CDN invariants.
Clickable Tile Spec
Clickable tile with hover elevation and focus state rings.

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

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.
1
{{< ai-chat title="Research Assistant" model="SmolLM2-360M-Instruct" height="550px" >}}

12. Master Carbon React Component Shortcode Inventory

Carbon React ComponentHugo Carbon ShortcodeStatus
AIChat, ChatContainer, ChatComposerai-chat, persona-ai✓ Implemented
Accordion, AccordionItemaccordion, accordion-item✓ Implemented
Breadcrumb, BreadcrumbItembreadcrumb✓ Implemented
Button, ButtonSet, IconButtonbutton✓ Implemented
Card (Expressive / Product)card✓ Implemented
Checkboxcheckbox✓ Implemented
ClickableTile, ExpandableTile, Tileclickable-tile, expandable-tile, tile✓ Implemented
CodeSnippetcode-file✓ Implemented
ContainedList, ContainedListItemcontained-list, contained-list-item✓ Implemented
ContentSwitchercontent-switcher✓ Implemented
DataTable, TableToolbar, TableSortdata-table, csvw-table, xml-table✓ Implemented
DatePicker, TimePickerdate-picker, time-picker✓ Implemented
FileUploaderfile-uploader✓ Implemented
Linklink✓ Implemented
Loading, InlineLoadingloading✓ Implemented
Modal, ComposedModalmodal✓ Implemented
Notification (Inline, Toast)notification, toast✓ Implemented
NumberInputnumber-input✓ Implemented
OverflowMenuoverflow-menu✓ Implemented
Pagination, PaginationNavpagination, pagination-nav✓ Implemented
Popoverpopover✓ Implemented
ProgressBar, ProgressIndicatorprogress-bar, progress-indicator✓ Implemented
RadioButton, RadioButtonGroupradio-group, radio-button✓ Implemented
Searchsearch✓ Implemented
Selectselect✓ Implemented
SkeletonText, SkeletonPlaceholder, SkeletonIconskeleton✓ Implemented
Sliderslider✓ Implemented
StructuredListstructured-list✓ Implemented
Tabs, TabPaneltabs, tab-panel✓ Implemented
Tagtag✓ Implemented
Toggletoggle✓ Implemented
Tooltip, DefinitionTooltiptooltip✓ Implemented
UIShelllayouts/partials/header/navbar.html, sidebars/✓ Implemented
VCard (Business Card / RFC 6350)vcard (File & Variable Modes)✓ Implemented