Skip to content

Tabs

tabs, tab, and tab-panel are designed to be used together.

View on: 

A group of tabs and panels.

Import



BundlerCDNReact Legacy
import '@kemet-ui/tabs';
<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/tabs.js"></script>
import { KemetTabs } from 'kemet-ui/react';

The example above identifies tabs by their name and links them by name explicitly. You can also link by index and exclude the extra attributes.

You can use the closable attribute to make tabs closable.

You can add a divider between the tabs and panels.

You can change the placement of the tabs with the placement attribute.

You can change the animation effect of the tabs when change with the effect attribute.








The gods are nature. Nature is completely free.
Version 5.0.0