Projetos
Ver no GitHub
pmndrs/leva
Sobre
🌋 Componentes de GUI com foco em React
Desenvolvimento web e de aplicativosO que você pode fazer
- ⭐️ Beautiful by default
- 🎚 More than 12 different kinds of inputs available
- 🧐 Smart input type recognition
- 🔌 Easy-to-make plugins
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +3
- em 15 dias
- +7
- em 1 mês
- +13
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalA 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!
Explore projetos relacionados
Carregando…
