π React-first components GUI
See the codenpm i leva
Simply call the useControls hook from anywhere in your app:
import { useControls } from 'leva'
function MyComponent() {
const { name, aNumber } = useControls({ name: 'World', aNumber: 0 })
return (
<div>
Hey {name}, hello! {aNumber}
</div>
)
}
NOTE: Using Leva with React 18 will cause a console error about createRoot which you can safely ignore, or fix by following the instructions here: discussion
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 63)
6,294 followers Β· starred Apr 2022
1,152 followers Β· starred Jun 2026
1,741 followers Β· starred Jul 2026
368 followers Β· starred Jul 2024
π React-first components GUI
See the codenpm i leva
Simply call the useControls hook from anywhere in your app:
import { useControls } from 'leva'
function MyComponent() {
const { name, aNumber } = useControls({ name: 'World', aNumber: 0 })
return (
<div>
Hey {name}, hello! {aNumber}
</div>
)
}
NOTE: Using Leva with React 18 will cause a console error about createRoot which you can safely ignore, or fix by following the instructions here: discussion
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Overall
Maintained
Code review
npm
Latest release
Releases this year
(top 24 of 63)
6,294 followers Β· starred Apr 2022
1,152 followers Β· starred Jun 2026
1,741 followers Β· starred Jul 2026
368 followers Β· starred Jul 2024