Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Documentation

Asgard

Getting started

Theming

Guides

Layout

Docking

Inputs & forms

Button

Switch

Checkbox

Radio

Select

Slider

TextBox

Upload

ImageCropper

Pickers

Color picker

Calendar

Time picker

DateTime input

Data display

Card

Accordion

Typography

Progress

DataTable

TreeView

SyntaxColor

MarkdownRenderer

Terminal

Layout & docking

Grid

Splitter

SDiv

Dock

Theme switcher

Media query

Feedback & overlays

Alert

Toast

Tooltip

Popups

Drawer

FloatingPanel

FloatingWindow

Navigation & chrome

Breadcrumb

Stepper

Toolbar

Ribbon

ContextMenu

FeatureTour

Navigation & chrome

An Office-style tabbed command bar.

An Office-style ribbon interface that organizes commands into tabbed groups.

Key features:

  • Hierarchy: Ribbon > RibbonTab > RibbonGroup > RibbonButton
  • Large and small button sizes with icons above or beside labels
  • RibbonSplitButton and RibbonDropdown for sub-menus
  • Collapsible on double-click of the active tab header
Loading preview…
When to use it
  • Feature-rich editors (docs, sheets, design)
  • Desktop-style apps
  • Dense, grouped command sets
Properties
PropTypeDefaultDescription
childrenReactNode(Ribbon) One or more RibbonTab elements that define the tab structure.
defaultTabstring(Ribbon) The id of the tab that should be selected by default.
onTabChange(tabId: string) => void(Ribbon) Callback fired when the active tab changes.
idstring(RibbonTab) Unique identifier for the tab, used by defaultTab and onTabChange.
labelstring(RibbonTab / RibbonGroup / RibbonButton) Display label for the tab header, group title, or button text.
iconReactNode(RibbonButton) Icon element displayed alongside or above the button label.
onClick() => void(RibbonButton) Click handler invoked when the ribbon button is pressed.
size'small' | 'large''small'(RibbonButton) Controls the button size. Large buttons display icon above label.
Notes
  • Nest RibbonGroup inside RibbonTab, and RibbonButton inside RibbonGroup to maintain the correct hierarchy.
  • Supports RibbonSplitButton and RibbonDropdown for advanced actions that need sub-menus.
  • The ribbon can collapse on double-click of the active tab header, giving users more screen real estate.
Presets