0.10.0 • Published 9 months ago

leva v0.10.0

Weekly downloads
448
License
MIT
Repository
github
Last release
9 months ago

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

🚧🚧 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!

@puneet_epigraph/epigraph_configurator_uipan-lyra@everything-registry/sub-chunk-2061test-r3f-projectthreed-gardenthetearbuttonvitexprogram5kitchen-color-studioluighiflamina@twinlify/nexus@three-material-editor/core@tverse/core@tverse/ui@trunkery/ui@unitalkai/ui@toboto/lobehub-ui@treasured/player@utsubo/lamina@yogan/react@yogan/core@zalastax/nolb-lev@yuntijs/uialeph-r3f@zhoufantest/3d-componetaibit-uiantd-color-editorantd-gui@govey1nw/lobehub-ui3d-specimen-viewer@ayahub/ui@aipmorg/ui@aipmui/ui@aeonlabs/ecctrl@codemoss/ui@amaspace-editor/editor-3dtwkrtracer-motion@chat2db/ui@bentwnghk/ui@infinitebrahmanuniverse/nolb-lev@lana-commerce/ui@lobehub/readme-generator@lobehub/ui@laterfinancial/pillar-ui@leericch/ui@mitalic/view@mitalic/viewers@momentchan/r3f-template@react-three/editor@puneet_epigraph/epigraph_configurator_core@p2-es/sandbox@senja24/cleek-ui@senja24/uinullikaiuireact-lib-lefebvrenext-playgroundplugin-filer3f-lod-terrainr3f-stagequadspheresmart-compose-reactreact-skia-fiberreact-three-avatarreact-tts-lipsyncglowglobe-sitecore-infra-componentsdbld_webflowsite_scriptsavatar-ttsbrainyai-uiboteuigaesup-world@strategies/r3f-speckle@swiftcast/clip-editor-reacteasycc-3d-pieeasycc-rc-4ecctrlecctrl-joestar@fcodes/ui@mathewjordan/thumbnail-panel@headstash/ui@ant-design/leva-panel@anishwij/test-package@intersect.mbo/cmbo-roadmap@arietta-studio/readme-wizard@arietta-studio/ui@luighi/ui@idev-cn/ui@iiif/thumbnail-panel@epigraph/configurator-core@datoou/components@ezcax/editor@dxos/react-ui-sfx@minox/themed@simonghales/react-three-scene-editor@shubh799/viewers
0.9.36

9 months ago

0.10.0

9 months ago

0.9.35

2 years ago

0.9.34

3 years ago

0.9.32

3 years ago

0.9.33

3 years ago

0.9.31

3 years ago

0.9.30

3 years ago

0.9.26

3 years ago

0.9.27

3 years ago

0.9.28

3 years ago

0.9.29

3 years ago

0.9.24

3 years ago

0.9.25

3 years ago

0.9.16

4 years ago

0.9.17

4 years ago

0.9.18

4 years ago

0.9.19

4 years ago

0.9.23

4 years ago

0.9.20

4 years ago

0.9.21

4 years ago

0.9.22

4 years ago

0.9.15

4 years ago

0.9.14

4 years ago

0.9.13

4 years ago

0.9.12

4 years ago

0.9.11

4 years ago

0.9.10

4 years ago

0.9.9

4 years ago

0.9.8

5 years ago

0.9.7

5 years ago

0.9.6

5 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.0

5 years ago

0.9.1

5 years ago

0.8.4

5 years ago

0.8.3

5 years ago

0.8.2

5 years ago

0.8.1

5 years ago

0.8.0

5 years ago

0.7.2

5 years ago

0.7.1

5 years ago

0.7.3

5 years ago

0.7.0

5 years ago

0.6.3

5 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.5.4

5 years ago

0.5.5

5 years ago

0.5.3

5 years ago

0.5.0

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.0

5 years ago

0.3.1

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.1.0-beta.0

5 years ago

0.1.0

5 years ago