Socket
Socket
Sign inDemoInstall

nextra-synced-tabs

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextra-synced-tabs

Synchronize selected tabs in your Nextra site and store the selected index in local storage


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

nextra-synced-tabs

Synchronize selected tabs in your Nextra site and store the selected index in local storage

Demo

Installation

npm install nextra-synced-tabs

Usage

import { SyncedTabs } from "nextra-synced-tabs";

<SyncedTabs name="packageManager" items={["pnpm", "npm", "yarn"]}>
  <SyncedTabs.Tab>
    **pNPM**: Fast, disk space efficient package manager.
  </SyncedTabs.Tab>
  <SyncedTabs.Tab>
    **npm** is a package manager for the JavaScript programming language.
  </SyncedTabs.Tab>
  <SyncedTabs.Tab>**Yarn** is a software packaging system.</SyncedTabs.Tab>
</SyncedTabs>;

API Reference

<SyncedTabs>

Props
NameTypeDescription
namestringThe name of the tab group. This will be used as a key in local storage.
itemsReact.ReactNodeThe tab names to be displayed in the tab group.
defaultIndexnumberThe default selected index of the tab group.
childrenReact.ReactNodeThe content panel for each tab.

Keywords

FAQs

Package last updated on 16 Mar 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc