Core Components
Separator
A convenience component providing a subtle visual separator between controls, in the spirit of the
HTML <hr> element.
Wraps Tweakpane's separator blade.
Usage outside of a <Pane> component will implicitly wrap the separator in <Pane position="inline">.
Example
Section titled “Example”<script lang="ts"> import { Button, Separator } from 'svelte-tweakpane-ui'</script>
<Button title="Oil" /><Separator /><Button title="Water" />disabledSection titled “disabled” | |
| Description | Prevent interactivity and gray out the control. |
|---|---|
| Type | boolean |
| Default | false |
| optional | |
| Description | Custom color scheme. |
|---|---|
| Type | Theme |
| Default | undefined Inherits default Tweakpane theme equivalent to ThemeUtils.presets.standard, or the theme
set with setGlobalDefaultTheme(). |