@scoped-vaadin/tabsheet
TypeScript icon, indicating that this package has built-in type declarations

23.4.1 • Public • Published

@scoped-vaadin/tabsheet

This component is based on @vaadin/tabsheet

A web component for organizing and grouping content into sections.

Documentation + Live Demo ↗

npm version Discord

<vaadin23-tabsheet>
  <vaadin23-tabs slot="tabs">
    <vaadin23-tab id="tab-1">Tab 1</vaadin23-tab>
    <vaadin23-tab id="tab-2">Tab 2</vaadin23-tab>
    <vaadin23-tab id="tab-3">Tab 3</vaadin23-tab>
  </vaadin23-tabs>

  <div tab="tab-1">Panel 1</div>
  <div tab="tab-2">Panel 2</div>
  <div tab="tab-3">Panel 3</div>
</vaadin23-tabsheet>

Screenshot of vaadin-tabsheet

Installation

Install the component:

npm i @scoped-vaadin/tabsheet

Once installed, import the component in your application:

import '@scoped-vaadin/tabsheet';

Themes

Vaadin components come with two built-in themes, Lumo and Material. The main entrypoint of the package uses the Lumo theme.

To use the Material theme, import the component from the theme/material folder:

import '@scoped-vaadin/tabsheet/theme/material/vaadin-tabsheet.js';

You can also import the Lumo version of the component explicitly:

import '@scoped-vaadin/tabsheet/theme/lumo/vaadin-tabsheet.js';

Finally, you can import the un-themed component from the src folder to get a minimal starting point:

import '@scoped-vaadin/tabsheet/src/vaadin-tabsheet.js';

Contributing

Read the contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.

License

Apache License 2.0

Vaadin collects usage statistics at development time to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.

Package Sidebar

Install

npm i @scoped-vaadin/tabsheet

Weekly Downloads

91

Version

23.4.1

License

Apache-2.0

Unpacked Size

36.2 kB

Total Files

14

Last publish

Collaborators

  • robrez