🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@fluentui-contrib/react-interactive-tab

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui-contrib/react-interactive-tab

The `InteractiveTab` component is an extension of the Tab component from `@fluentui/react-components`. It allows you to add interactive elements, such as buttons, inside a tab.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

@fluentui-contrib/react-interactive-tab

The InteractiveTab component is an extension of the Tab component from @fluentui/react-components. It allows you to add interactive elements, such as buttons, inside a tab.

Installation

To install the InteractiveTab component, you can use either npm or yarn:

npm install @fluentui-contrib/react-interactive-tab

or

yarn add @fluentui-contrib/react-interactive-tab

Usage

To use the InteractiveTab component, you need to import it and use it as a child component of the TabList component:

import { TabList } from '@fluentui-contrib/react-components';
import { InteractiveTab } from '@fluentui-contrib/react-interactive-tab';

<TabList>
  <InteractiveTab contentBefore={<button>x</button>}>Tab 1</InteractiveTab>
  <InteractiveTab contentAfter={<button>x</button>}>Tab 2</InteractiveTab>
</TabList>;

Please note that the InteractiveTab component uses a div as its root instead of the default Tab component. It also includes three additional slots: button (where role=tab is assigned), beforeContent, and afterContent. This design allows users to insert interactive content before or after the tab button.

FAQs

Package last updated on 18 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts