You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Section><RiverBreakoutTabs><RiverBreakoutTabs.A11yHeading>Plan, review, and ship with Copilot</RiverBreakoutTabs.A11yHeading><RiverBreakoutTabs.Item><RiverBreakoutTabs.Heading>Plan from your backlog</RiverBreakoutTabs.Heading><RiverBreakoutTabs.Content><Text>Break large issues into practical implementation steps.</Text><Linkhref="#">Learn more</Link></RiverBreakoutTabs.Content><RiverBreakoutTabs.Visual><imgsrc="/images/placeholder-1.png"alt="Planning workflow in editor"/></RiverBreakoutTabs.Visual></RiverBreakoutTabs.Item><RiverBreakoutTabs.Item><RiverBreakoutTabs.Heading>Review with context</RiverBreakoutTabs.Heading><RiverBreakoutTabs.Content><Text>Keep discussion, suggestions, and diffs together while you review.</Text><Linkhref="#">Explore reviews</Link></RiverBreakoutTabs.Content><RiverBreakoutTabs.Visual><imgsrc="/images/placeholder-2.png"alt="Review workflow with shared context"/></RiverBreakoutTabs.Visual></RiverBreakoutTabs.Item><RiverBreakoutTabs.Item><RiverBreakoutTabs.Heading>Merge with confidence</RiverBreakoutTabs.Heading><RiverBreakoutTabs.Content><Text>Use checks and approvals to move from code to merge safely.</Text><Linkhref="#">See merge controls</Link></RiverBreakoutTabs.Content><RiverBreakoutTabs.Visual><imgsrc="/images/placeholder-3.png"alt="Merge flow with checks"/></RiverBreakoutTabs.Visual></RiverBreakoutTabs.Item></RiverBreakoutTabs></Section>
With an optional background and inset media
<Section><RiverBreakoutTabsbackgroundVisual={<divstyle={{position: 'absolute',inset: 0,backgroundColor: 'var(--base-color-scale-green-0)',backgroundImage: 'radial-gradient(var(--base-color-scale-green-2) 1px, transparent 3px)',backgroundSize: '10px 10px',}}/>}imagePosition="block-end"><RiverBreakoutTabs.A11yHeading>Breakout with a decorative background</RiverBreakoutTabs.A11yHeading><RiverBreakoutTabs.Item><RiverBreakoutTabs.Heading>Plan</RiverBreakoutTabs.Heading><RiverBreakoutTabs.Content><Text>Start from issue context and turn goals into task lists.</Text><Linkhref="#">Open planning</Link></RiverBreakoutTabs.Content><RiverBreakoutTabs.Visual><imgsrc="/images/placeholder-1.png"alt="Planning tab visual"/></RiverBreakoutTabs.Visual></RiverBreakoutTabs.Item><RiverBreakoutTabs.Item><RiverBreakoutTabs.Heading>Ship</RiverBreakoutTabs.Heading><RiverBreakoutTabs.Content><Text>Carry changes through review and checks to production.</Text><Linkhref="#">Open delivery flow</Link></RiverBreakoutTabs.Content><RiverBreakoutTabs.Visual><imgsrc="/images/placeholder-2.png"alt="Delivery tab visual"/></RiverBreakoutTabs.Visual></RiverBreakoutTabs.Item></RiverBreakoutTabs></Section>
Component props
RiverBreakoutTabs Required
Name
Type
Default
Description
children
RiverBreakoutTabs.Item[]
Includes one required RiverBreakoutTabs.A11yHeading and one or more items
defaultSelectedIndex
number
0
Default selected index for uncontrolled mode
selectedIndex
number
Selected index for controlled mode
onChange
(selectedIndex: number) => void
Callback called when selected index changes
backgroundVisual
ReactNode
Decorative aria-hidden visual behind the shared visual region; persists across tab changes. Must not contain interactive content
imagePosition
'center' | 'block-end'
'center'
Positions the media over backgroundVisual; block-end pins it to the bottom edge
backgroundVisualFullBleed
boolean
false
When true, the backgroundVisual bleeds out to the gridline edges instead of being inset within them
RiverBreakoutTabs extends the HTML section element and supports all section props.
RiverBreakoutTabs.A11yHeading Required
Name
Type
Default
Description
children
ReactNode
Screen reader label for the tabs group
as
'h2' | 'h3'
'h3'
Semantic heading level for assistive technologies
id
string
Optional custom ID used for aria-labelledby relationships
RiverBreakoutTabs.A11yHeading extends the Heading component.
RiverBreakoutTabs.Item Required
Name
Type
Default
Description
children
React.ReactElement[]
Must include Heading, Content, and Visual
className
string
Optional custom class
RiverBreakoutTabs.Item is a structural child component.
RiverBreakoutTabs.Heading Required
Name
Type
Default
Description
children
ReactNode
Item heading text
RiverBreakoutTabs.Heading extends the Heading component.
RiverBreakoutTabs.Content Required
Name
Type
Default
Description
children
ReactNode
Item body and action
RiverBreakoutTabs.Content extends the HTML div element and supports all div props.
RiverBreakoutTabs.Icon
Name
Type
Default
Description
icon
IconType
Octicon to render
color
'green' | ...
'green'
Icon color token
RiverBreakoutTabs.Icon extends the Icon component.
RiverBreakoutTabs.Visual Required
Name
Type
Default
Description
children
React.ReactElement
Item visual media
imageBackgroundColor
'default' | 'subtle'
Optional background around visual
RiverBreakoutTabs.Visual extends River.Visual and supports all River.Visual props.