
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
@master-technology/svelte-tabs
Advanced tools
A tabs component for Svelte
npm install --save svelte-tabs
<script>
import { Tabs, Tab, TabList, TabPanel } from 'svelte-tabs';
</script>
<Tabs>
<TabList>
<Tab>One</Tab>
<Tab>Two</Tab>
<Tab>Three</Tab>
</TabList>
<TabPanel>
<h2>Panel One</h2>
</TabPanel>
<TabPanel>
<h2>Panel Two</h2>
</TabPanel>
<TabPanel>
<h2>Panel Three</h2>
</TabPanel>
</Tabs>
selectedTabIndex (number): The index of the tab to initially select, when the Tabs component is mounted.svelte-tabs comes with a basic default style, but it can be overridden. To override the styles to use your own, you will need to use global styles that have a higher specificity than the built-in styles.
To make sure your overridden styles have the most specificity, include the parent class .svelte-tabs in your selector, and include the element type (see below). An example selector would be :global(.svelte-tabs li.svelte-tabs__selected).
Below are CSS selectors that can be used for the different components in this library:
:global(.svelte-tabs):global(.svelte-tabs li.svelte-tabs__tab):global(.svelte-tabs li.svelte-tabs__selected):global(.svelte-tabs div.svelte-tabs__tab-panel)As a last resort, if you can't get the right specificity, you can always use !important.
npm install.npm link.npm run build:watch.examples directory, run npm link svelte-tabs.examples directory, run npm run dev.To do a single run of the tests, run npm test. To run the tests in watch mode, run npm run dev:watch.
Derived from the code at https://svelte.dev/repl/8e68120858e5322272dc9136c4bb79cc?version=3.7.0 by Rich Harris
FAQs
A tabs component for Svelte
We found that @master-technology/svelte-tabs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.