Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

leva

> 前端框架
Open source

React-first components GUI

6.2K stars0 likes0 views
WebsiteGitHub

About

React-first components GUI





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:

javascript
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

Documentation

  • Getting Started

  • Inputs

  • Configuration

  • Styling

  • Advanced: Controlled Inputs

  • Advanced: Creating Plugins

Contributors ✨

Thanks goes to these wonderful people (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 specification. Contributions of any kind welcome!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptguireact

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category前端框架
PricingOpen source

> Related tools

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