Install the component dependency:
Include a React component in your project:
View toggles are used when there are just a couple options to switch between. Use a Tab component when more options exist.
Make a toggle with up to 3 options.
Keep labels short. Long labels will truncate with ellipsis.