Proyek
Tentang
๐ Komponen GUI yang mengutamakan React
Pengembangan web dan aplikasiYang dapat Anda lakukan
- โญ๏ธ Beautiful by default
- ๐ More than 12 different kinds of inputs available
- ๐ง Smart input type recognition
- ๐ Easy-to-make plugins
Pertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- +3
- dalam 15 hari
- +7
- dalam 1 bulan
- +13
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliA GUI you are going to lava.
Customizable, extensible and beautiful by default.
by Poimandres
๐ง๐ง This repo is under heavy development ๐ง๐ง
Features
- โญ๏ธ Beautiful by default
- ๐ More than 12 different kinds of inputs available
- ๐ง Smart input type recognition
- ๐ Easy-to-make plugins
- โ Keyboard accessible
- โก๏ธ No setup necessary
Installation
npm i leva
Quick start
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
Documentation
Contributors โจ
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Jelajahi proyek terkait
Memuatโฆ
