Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mrfoxpro/solid-tweakpane

Solid components for Tweakpane
https://github.com/mrfoxpro/solid-tweakpane

gui solid tweakpane

Last synced: about 2 months ago
JSON representation

Solid components for Tweakpane

Awesome Lists containing this project

README

        

`pnpm i -S solid-tweakpane solid-js`

## Without binding
`initialValue` prop required in this case.
```tsx

console.log(e.value)}
/>
{
// ...
}}
/>

```
## With binding
Currently it can be used with mutable.
You need to place all elements into and provide target.
Example:

```tsx
const settings = createMutable({
bool: false,
current: 0.01,
folder1: {
bool: true,
folder11: {
number: 2,
color: '#f05',
},
},
})


console.log('changed value test', e.value)}
/>















```
![alt](https://i.imgur.com/kK7IPX8.png)

It's possible to automatically build Pane from mutable with ``:

```jsx

```
![alt](https://i.imgur.com/9mlRCMu.png)