百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

leva

> 前端框架
开源

以 React 为先的组件 GUI

6.2K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

以 React 为先的组件 GUI

[](https://bundlephobia.com/result?p=leva) [](https://discord.gg/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 ```bash npm i leva ``` ### Quick start Simply call the `useControls` hook from anywhere in your app: ```jsx import { useControls } from 'leva' function MyComponent() { const { name, aNumber } = useControls({ name: 'World', aNumber: 0 }) return ( ) } ``` 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](https://github.com/pmndrs/leva/issues/358) ### Documentation - [Getting Started](/docs/getting-started/introduction.md) - [Inputs](/docs/getting-started/inputs.md) - [Configuration](/docs/getting-started/configuration.md) - [Styling](/docs/getting-started/styling.md) - [Advanced: Controlled Inputs](/docs/advanced/controlled-inputs.md) - [Advanced: Creating Plugins](/docs/advanced/creating-plugins.md) ## Contributors ✨ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
Andrew Prifer


Aria


David Bismut


Dmitry Ivakhnenko


Gianmarco


Guido Vizoso


Han


Ivan Rossi


Laurin Quast


Marco Fugaro


Marco Ludovico Perego


Piotr Monwid-Olechnowicz


clementcassajus


thephoenixofthevoid

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •⭐️ Beautiful by default
  • •More than 12 different kinds of inputs available
  • •Smart input type recognition
  • •Easy-to-make plugins
  • •✅ Keyboard accessible
  • •⚡️ No setup necessary
  • •Getting Started
  • •Configuration
  • •Advanced: Controlled Inputs
  • •Advanced: Creating Plugins

> 标签

TypeScriptguireact

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架