RadioTabs

A component for tab navigation.

$ import { RadioTabs, RadioTab } from 'geist-ui-svelte';

Basic

If no tab is initially selected the first tab will automatically be selected.

Colors

Sizes

Get selected tab

By adding ids to the tabs you can get the selected tab from RadioTabs. You can also set the default selected tab from RadioTabs. Selected from RadioTabs overrides initialSelected from RadioTab.

Mobile

More tabs

You can have as many tabs as you want.