Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have 2 separate independent panels with different options each #496

Open
donlluque opened this issue Apr 9, 2024 · 3 comments
Open

Have 2 separate independent panels with different options each #496

donlluque opened this issue Apr 9, 2024 · 3 comments

Comments

@donlluque
Copy link

Hello everyone! First of all, thank you in advance for all the help you can provide.

Is it possible to have 2 separate independent panels with different options at the same time in one component?
For example, I have an image where in one panel I would like to change the color and position.
And in another separate panel, I would like to make it visible or change the opacity.

Thank you!

@jdpigeon
Copy link

This is possible! Just have to create different leva stores using the useCreateStore hook and pass them into the store field in the useControls hooks options

@Jbmanllr
Copy link

Any chance the team add a proper documentation?

@baxiee
Copy link

baxiee commented Dec 12, 2024

@jdpigeon
Hi man,
I dont want to be rude, but if you know the solution why you didnt put code snippet. This tool has terrible documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants