Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Svelte component library wrapping UI elements from Tweakpane, plus some additional functionality for convenience and flexibility.

License

NotificationsYou must be signed in to change notification settings

kitschpatrol/svelte-tweakpane-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Svelte Tweakpane UI Banner

NPM Package svelte-tweakpane-uiLicense: MITMadeWithSvelteDocumentation

Overview

🎛️Svelte Tweakpane UI wraps user-interface elements from the excellentTweakpane library in a collection of 33 idiomatic, reactive, type-safe, carefully-crafted, and obsessively-documentedSvelte components.

The library makes it easy to quickly and declaratively add knobs and dials to your projects using components that feel like they were made for Svelte. It also augments Tweakpane with a fewextra features for your convenience and enjoyment.

The components should be useful for integrating controls and value monitoring in parametrically driven artworks, data visualizations, creative tools, simulations, etc.

The library is compatible with both Svelte 4 and Svelte 5.

Demo

Svelte Tweakpane UI quick demo

Documentation

Please see the documentation site for much more information:
https://kitschpatrol.com/svelte-tweakpane-ui

Quick start

  1. AddSvelte Tweakpane UI to your Svelte project:
npm install svelte-tweakpane-ui
  1. Import and use Tweakpane components in your.svelte files:
<scriptlang="ts">import {Button }from'svelte-tweakpane-ui'</script><Buttonon:click={()=>alert('🎛️')} />

Components

Core

  • Binding
    Wraps the TweakpaneaddBinding method.
  • Blade
    Wraps the TweakpaneaddBlade method.
  • Folder
    Organize multiple controls into a collapsable folder.
  • Pane
    The root<Pane> component, used for organizing controls into a single group and controlling how and where the Tweakpane is displayed.
  • Separator
    A convenience component providing a subtle visual separator between controls, in the spirit of the HTML<hr> element.
  • TabGroup
    Contains a collection of<TabPage> components to be presented as a tabs.
  • TabPage
    Contains a collection of Tweakpane controls to be presented as a single group inside a<TabGroup> component.

Control

Monitor

  • FpsGraph
    A control for monitoring and graphing frame rates over time.
  • Monitor
    Wraps the Tweakpanemonitor binding functionality forboolean,number, andstring values.
  • Profiler
    Measure and visualize multiple quantities over time.
  • WaveformMonitor
    Visualize multiple numeric values as a waveform.

Extra

  • AutoObject
    Rapid-development component which automatically creates a set of Tweakpane controls for an arbitrary object.
  • AutoValue
    Rapid-development component which automatically creates a Tweakpane control for an arbitrary value.
  • Element
    A component for embedding arbitrary HTML elements into a pane.

Maintainers

@kitschpatrol

Acknowledgments

Thank you toHiroki Kokubun for creating theTweakpane library.

Additional acknowledgments are listedon the documentation site.

Contributing

Issues and pull requests are welcome.

License

MIT © Eric Mika


Note: This library is not to be confused with Karl Moore'ssvelte-tweakpane.


[8]ページ先頭

©2009-2025 Movatter.jp