Core Components
TabGroup
Contains a collection of <TabPage>
components to be presented as a tabs.
Wrapper around Tweakpane's addTab
method.
The name of this concept within the underlying vanilla JS Tweakpane API is tab
, but it has been changed to TabGroup
in Svelte Tweakpane UI to clarify it's relationship to the <TabPage>
component.
Usage outside of a <Pane>
component will implicitly wrap the tab in <Pane position="inline">
.
optional | |
Description | Prevent interactivity and gray out the control. |
---|---|
Type | boolean |
Default | false |
bindableoptional | |
Description | Active page index. Note that SSR will always render the first page height, regardless of the initial active index. |
---|---|
Type | number |
Default | 0 |
optional | |
Description | Custom color scheme. |
---|---|
Type | Theme |
Default | undefined Inherits default Tweakpane theme equivalent to ThemeUtils.presets.standard , or the theme set with setGlobalDefaultTheme() . |
Description | A |
---|---|
Type | {} |