Tabsv1

Tabs allow a user to switch between panels of related content. Panels of varying component type can be created.

Examples

Standard

Tabs with three tab panels with each tab panel being a layout container.

  1. sling:resourceType: core-components-examples/components/tabs

Sample Content

Tabs with three tab panels with each tab panel being a layout container and containing sample content.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Eu mi bibendum neque egestas congue quisque egestas. Varius morbi enim nunc faucibus a pellentesque. Scelerisque eleifend donec pretium vulputate sapien nec sagittis.

Lava flowing into the ocean
  1. sling:resourceType: core-components-examples/components/tabs

Default Active Item

Tabs with three tab panels with the default active item being the third tab.

  1. sling:resourceType: core-components-examples/components/tabs
  2. activeItem: item_1544184936449

Nested

Nested tabs structure with each tab panel containing a tabs component in its layout container.

  1. sling:resourceType: core-components-examples/components/tabs

Deep Linking

Linking to a tabs item displays the item and scrolls to it.