Skip to content
On this page

Tab

The Tab component provides an efficient solution for organizing content into clickable tabs, allowing users to switch between different sections seamlessly. Its intuitive interface streamlines navigation, offering a user-friendly experience.

html
<Tab [...props] />
typescript
interface TabProps {
  tabs: {
    name: string;
    componentAdd?: FunctionalComponent<
      HTMLAttributes & VNodeProps,
      Record<string, never>,
      never
    >;
    addAction?: () => void;
  }[];
}

Examples

Basic

Clinux UI - Released under the MIT License.