Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@responsive-ui/tab

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@responsive-ui/tab

A tab component of responsive-ui.

  • 0.9.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-44.44%
Maintainers
1
Weekly downloads
 
Created
Source

@responsive-ui/tab

A tab component of responsive-ui.

npm download Bundle Size LICENCE

Install

npm install @responsive-ui/tab

or

yarn add @responsive-ui/tab

Look and Feel

@responsive-ui/tab

Properties, Events & Slots

interface TabItem {
  title: string;
  component?: SvelteComponent;
  style?: string;
}

interface TabProps {
  items: TabItem[];
  selected?: number;
  style?: string;
}

interface TabEvents {}

interface TabSlots {
  default: {
    selected: number;
  };
}

declare class Tab extends SvelteComponentTyped<TabProps, TabEvents, TabSlots> {}

Example

<script>
  import Tab from '@responsive-ui/tab';

  const tabItems = [
    { title: "Option A", value: "a" },
    { title: "Option B", value: "b" },
    { title: "Option C", value: "c" },
    { title: "Option D", value: "d" },
  ];
</script>

<Tab items={tabItems} />

Try it yourself in Svelte Repl

Sponsors

WeTix

License

@responsive-ui/tab is 100% free and open-source, under the MIT license.

Big Thanks To

Thanks to these awesome companies for their support of Open Source developers ❤

GitHub NPM

Keywords

FAQs

Package last updated on 25 Jan 2021

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