--- components: ["Tabs", "Tab", "TabContent", "TabsSkeleton"] --- ### Default
Content 1 Content 2 Content 3
### Container type
Content 1 Content 2 Content 3
### Reactive example Use the `selected` prop to bind the current tab index. ### Re-rendering tabs In the example below, tabs are rendered using the `#each` block. However, the Tabs component can lose track of the current index if the number of rendered tabs changes. Use the [`#key` block](https://svelte.dev/docs#key) to dynamically update tab items or content. ### Skeleton