Skip to main contentCarbon Design System

Content switcher

Preview the content switcher component with the React live demo. For detailed code usage documentation, see the Storybooks for each framework below.

Documentation

Live demo

<ContentSwitcher onChange={console.log}>
<Switch name={'first'} text='First section' />
<Switch name={'second'} text='Second section' />
<Switch name={'third'} text='Third section' />
</ContentSwitcher>
Switch
Modifiers
ContentSwitcher
size