Git Product home page Git Product logo

leva's Introduction

npm (tag) npm bundle size GitHub Workflow Status Discord Shield


A GUI you are going to lava.
Customizable, extensible and beautiful by default.



๐Ÿšง๐Ÿšง 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):


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!

leva's People

Contributors

alex-streza avatar andrewprifer avatar ariaminaei avatar bjornstar avatar codyjasonbennett avatar dbismut avatar dennissmolek avatar dmy147 avatar drcmda avatar elrumordelaluz avatar github-actions[bot] avatar gsimone avatar guidovizoso avatar gusted avatar hasparus avatar jeetiss avatar jonlambert avatar jorjordandan avatar lewisvrobinson avatar marcofugaro avatar n1ru4l avatar peterjcaulfield avatar renaudrohlinger avatar rileyjshaw avatar rodrigohamuy avatar sandiiarov avatar sec-ant avatar servinlp avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.