@chakra-ui/form-control

2.2.0last stable release 1 year ago
Complexity Score
High
Open Issues
N/A
Dependent Projects
14
Weekly Downloadsglobal
419,080

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

Build Accessible React Apps with Speed ⚑️



Chakra UI is a comprehensive library of accessible, reusable, and composable React components that streamlines the development of modern web applications and websites. The library offers a diverse range of components that can be easily combined to build complex user interfaces while adhering to accessibility best practices.

Table of contents

  • πŸ“‹ Documentation
  • πŸš€ Features
  • πŸ“¦ Installation
  • πŸ’» Usage
  • πŸ“š CodeSandbox Templates
  • πŸ“– create-react-app Templates
  • πŸ“ Contributing
  • πŸ’– Support
  • πŸ™Œ Testimonials
  • πŸ† Awards and Mentions
  • ✨ Contributors
  • βš–οΈ License

Documentation

It’s the https://chakra-ui.com website for the latest version of Chakra UI. For older versions head over here

  • v1: https://v1.chakra-ui.com
  • v0: https://v0.chakra-ui.com

Features

  • Ease of Styling: Chakra UI contains a set of layout components like Box and Stack that make it easy to style your components by passing props. Learn more
  • Flexible & composable: Chakra UI components are built on top of a React UI Primitive for endless composability.
  • Accessible. Chakra UI components follow the WAI-ARIA guidelines specifications and have the right aria-* attributes.
  • Dark Mode 😍: Most components in Chakra UI are dark mode compatible.

Installation

To use Chakra UI components, all you need to do is install the @chakra-ui/react package and its peer dependencies:

# with Yarn
$ yarn add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6

# with npm
$ npm i @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6

# with pnpm
$ pnpm add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6

# with Bun
$ bun add @chakra-ui/react @emotion/react@^11 @emotion/styled@^11 framer-motion@^6

Usage

To start using the components, please follow these steps:

  1. Wrap your application with the ChakraProvider provided by @chakra-ui/react.
import { ChakraProvider } from "@chakra-ui/react"

// Do this at the root of your application
function App({ children }) {
  return <ChakraProvider>{children}</ChakraProvider>
}

Optionally, you can wrap your application with the ColorModeProvider so you can toggle between light and dark mode within your app.

  1. Now you can start using components like so!:
import { Button } from "@chakra-ui/react"

function Example() {
  return <Button>I just consumed some ⚑️Chakra!</Button>
}

More guides on how to get started are available here

CodeSandbox Templates

  • JavaScript Starter: https://codesandbox.io/s/chakra-ui-javascript-lzzg9
  • TypeScript Starter: https://codesandbox.io/s/chakra-ui-typescript-pomi8
  • NextJS TypeScript Starter: https://codesandbox.io/s/chakra-ui-next-js-typescript-kxvyr

create-react-app Templates

Check out our guide for information on how to use our official create-react-app templates.

Contributing

Feel like contributing? That’s awesome! We have a contributing guide to help guide you.

Our docsite lives in a separate repo. If you’re interested in contributing to the documentation, check out the docsite contribution guide.

Support Chakra UI

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Individuals

By donating $5 or more you can support the ongoing development of this project. We’ll appreciate some support. Thank you to all our supporters! πŸ™ [Contribute]

Testimonials

People throw React component libraries and design systems at me regularly. This might be the best one I’ve seen. The APIs are simple but composable and the accessibility on the couple components I looked is complete.

Great work @thesegunadebayo, really inspiring work. – Ryan Florence

Awesome new open-source component library from @thesegunadebayo. Really impressive stuff! – Colm Tuite

This is incredible work. Amazing job Segun! – Lee Robinson

Chakra UI is glorious! I love the consistent use of focus styling and the subtle animation – Guillermo β–²

Awards and Mentions

We’ve been extremely humbled to receive awards and mentions from the community for all the innovation and reach Chakra UI brings to the JavaScript ecosystem.

Solution Worth Pursuing

Technology Radar (2020–2021)

The Most Impactful Contribution to the community

Open Source Awards (2020)

Contributors

Thanks goes to these wonderful people


Segun Adebayo
πŸ’» 🚧 πŸ“– πŸ’‘ 🎨
Tioluwani Kolawole
πŸ“– πŸ’‘ 🚧
Devansh Jethmalani
πŸ’»
Adrian Aleixandre
πŸ’» πŸ“–
Lee
πŸ“–
KristΓ³f PoduszlΓ³
πŸ’» πŸ€” πŸ› πŸ“–
Justin Hall
πŸ’»
Mark Chandler
πŸ’» ⚠️ πŸ“– 🚧
Folasade Agbaje
πŸ’» πŸ€”
Christian Nwamba
πŸ“–
Jonathan Bakebwa
πŸ“– πŸ€”
Alex Luong
πŸ’» πŸ”Œ
Jesco WΓΌster
πŸ’»
Dusty Doris
πŸ’»
Alex Lobera
πŸ’»
Tommaso De Rossi
πŸ’»
Odi
πŸ’»
Hendrik Niemann
πŸ’»
Matt Rothenberg
πŸ’» πŸ’‘
Luis Felipe Zaguini
πŸ’»
Jean
πŸ’»
Temitope Ajiboye
πŸ“–
Jonathan Kim
πŸ’»
Chris Thompson
πŸ’»
WALTER KIMARO
πŸ’»
Jack Leslie
πŸ’»
Ken-Lauren Daganio
πŸ’»
Ramon
πŸ’»
jess
πŸ“– πŸ”
Ayelegun Kayode Michael
πŸ’»
Tal Williams
πŸ’»
Trevor Blades
πŸ’» πŸ“– πŸ›
Gord Lea
πŸ’»
Aggelos Arvanitakis
πŸ’»
Douglas Gabriel
πŸ’»
Martin NordstrΓΆm
πŸ’»
Danny Tatom
πŸ’»
Simon Collins
πŸ’»
Santi Albo
πŸ’» πŸ“–
PILO7980
πŸ’»
Ishimoto Koji
πŸ’»
Jeff Wen
πŸ’»
Pablo Saez
πŸ’»
Nejc Ravnik
πŸ’»
Julien Viala
πŸ’»
Sebastian Trebunak
πŸ’» πŸ“–
Adam Plante
πŸ’»
LΓΊcio Rubens
πŸ’»
Jason Miazga
πŸ’» πŸ“–
Gonzalo Pozzo
πŸ’»
Christian
πŸ’» πŸš‡
Christian Hagendorn
πŸ’»
Andrey Krasnov
πŸ’»
Dony Sukardi
πŸ’»
Meng
πŸ’»
Gabriele Belluardo
πŸ’»
Francois Best
πŸ’»
Tianci He
πŸ’»
Steven
πŸ’»
Baptiste Adrien
πŸ’»
Rob Bevan
πŸ’»
Tomasz
πŸ’»
徐愷
πŸ’»
David Wippel
πŸ’»
Naveen
πŸ’»
Vincent
πŸ’»
Osamah Aldoaiss
πŸ’»
Fred K. Schott
πŸ’»
Jared Palmer
πŸ’»
Austin Walela
πŸ’»
Tony Narlock
πŸ’» πŸ“–
Thomas Maximini
πŸ’»
David Baumgold
πŸ’»
ralphilius
πŸ’»
Rahul Rangnekar
πŸ’»
Pierre Nel
πŸ’»
Pierre Grimaud
πŸ’»
Whisp R&D
πŸ’»
Makenna Smutz
πŸ’» πŸ“– πŸ€”
Nelson Reitz
πŸ’»
Mohamed Nainar
πŸ“–
Mustafa Turhan
πŸ“–
Kim RΓΈen
πŸ“–
Justin Mak
πŸ’»
Jeremy Davis
πŸ’»
Jeremy Lu
πŸ“– πŸ’»
Ivan Dalmet
πŸ“– πŸ’» πŸ”Œ
Dillon Curry
πŸ’»
idfunctor
πŸ’»
denkigai
πŸ’»
Aaron Adams
πŸ’»
Abdulazeez Adeshina
πŸ’»
Sandro
πŸ’»
Premkumar Shanmugam
πŸ’»
Tobias Meixner
πŸ’»
Jeremie Leblanc
πŸ’»
Kelvin Oghenerhoro
πŸ’»
David J. Felix
πŸ’»
Brody McKee
πŸ“–
Per Svensson
πŸ’»
Patrick Cason
πŸ“–
Ivo Ilić
πŸ’»
Avaneesh Tripathi
πŸ’»
balibebas
πŸ“–
Navin Moorthy
πŸ’» πŸ“–
Tim Kindberg
πŸ“–
iodar
πŸ“–
MAO YUFENG
πŸ“–
Peng Jie
πŸ’» πŸ“–
James Gee
πŸ’» ⚠️ πŸ’‘
Anton
πŸ“–
Damnjan Lukovic
πŸ“–
Stanila Andrei
πŸ’»
Ekunola Ezekiel
πŸ’»
Ben Mitchinson
πŸ“–
Jess Telford
πŸ’»
Simo Aleksandrov
πŸ“–
HΓ©ricles Emanuel
πŸ’»
CodinCat
πŸ“–
Sam Dawson
πŸ€”
hy2k
πŸ’»
Pierre Ortega
πŸ’»
Kerem Sevencan
πŸ“–
harveyhalwin
πŸ“–
Mansour benyoucef
πŸ“–
Andrew Garrison
πŸ“–
Carlos Rodrigues
πŸ“–
Dwight Watson
πŸ“–
ChasinHues
πŸ“–
Nahuel Greco
πŸ“† πŸ›
Pablo Rocha
πŸ“–
Dustin Larimer
πŸ’» 🎨
Juliano Farias
πŸ“–
Joe Bell
πŸ› πŸ’»
Henning Pohlmeyer
πŸ’»
Sivert Schou Olsen
πŸ“–
Andrei Lazarescu
πŸ“–
JosΓ© Teixeira
πŸ›
Adriano Resende
πŸ“–
Victor Bastos
πŸ“–
Vincent
πŸ“–
Candice
🎨 πŸ› πŸ“–
Dave Bauman
πŸ“–
TimKolberger
πŸ› πŸ“– πŸ’»
Stephane Mensah
πŸ›
iskanderbroere
πŸ“–
Dominik Sumer
πŸ’»
Pavel 'Strajk' Dolecek
πŸ“–
Keshav Bohra
πŸ“–
okezieuc
πŸ“–
Clayton Faria
πŸ“–
Andrew Ellis
πŸ’» πŸ› πŸ“–
Joel Gallant
πŸ›
Jaya Krishna Namburu
πŸ’»
Ifeoma Imoh
πŸ“–
Jason Adkison
πŸ›
Gauthier Rodaro
πŸ›
Tom Dohnal
πŸ’»
Sam Margalit
πŸ›
Marcus Wood
πŸ’»
Spencer Duball
πŸ“–
Jacob Arriola
πŸ“–
Kenley Jean
πŸ“–
Dennis Morello
πŸ›
Umar Gora
πŸ“–
Zyclotrop-j
πŸ’»
Hong Suk Woo
πŸ“–
Junho Yeo
πŸ“–
Thomas Siller
⚠️ πŸ’»
Samuel Kauffmann
πŸ“–
Jozef MikulΓ‘Ε‘
πŸ’»
JoΓ£o Victor
πŸ’»
yuichiro miyamae
πŸ“–
Gifa Eriyanto
πŸ›
Yuzi
⚠️ πŸ’»
songheewon
πŸ“–
Prasanna Venkatesh T S
πŸ“–
anthowm
πŸ“–
Osama Ahmaro
πŸ›
Danan Wijaya
πŸ“–
electather
πŸ›
Shubham Kaushal
πŸ“–
Petter Sæther Moen
πŸ“–
Herman Nygaard
πŸ“–
jnmsl
πŸ“–
Mohamed Sayed
πŸ’»
Sam Poder
πŸ“–
Dominic Lee
πŸ“– πŸ’»
Feras Aloudah
πŸ€”
JP Ungaretti
πŸ“–
Endika Intxaurtieta
πŸ“–
Matt Wells
πŸ’»
Anant Jain
πŸ“–
Tom Chen
πŸ“– πŸš‡
Ernie Miranda
πŸ“–
bjoluc
πŸ“–
Sujit Pradhan
πŸ“– πŸ’»
Abhishek Kashyap
πŸ“–
Kristian Djaković
πŸ’»
Antoniel MagalhΓ£es
πŸ’»
Griko Nibras
πŸ€” πŸ’»
imalbert
πŸ“–
mcha
πŸ’» ⚠️
Hasib Hassan
πŸ“–
Jamie Rolfs
πŸ€” πŸ“– πŸ’»
Surabhi Gupta
πŸ“–
Ningaro
πŸ›
Monae
πŸ’»
Wade McDaniel
πŸ“–
Gordon Goldbach
πŸ’»
Bhish
πŸ’»
Amilkar Munoz
πŸ“–
Samar Mohan
πŸ’»
JoΓ£o Paulo Rodrigues
πŸ“–
Avery Freeman
πŸ“–
Daniel Schulz
πŸ› πŸ’» πŸ“– πŸ€”
Michael Kilbane
πŸ’»
ngxCoder
πŸ’»
Kristofer Giltvedt Selbekk
πŸ“–
Johann Ehlers
πŸ“– πŸ’»
Lukas Bach
πŸ’»
Lazar Nikolov
πŸ›
iwata
πŸ› πŸ’»
Lee seung chan
πŸ’»
pomSense
πŸ’»
be-student
πŸ“–
Tatsuya Itakura
πŸ’» 🚧
Yuku Kotani
πŸ’» 🚧
Vadim Demedes
πŸ’»

(emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Testing supported by

License

MIT Β© Segun Adebayo

Dependencies

CVE IssuesActive
0
Scorecards Score
4.20
Test Coverage
No Data
Follows Semver
Yes
Github Stars
38,934
Dependenciestotal
8
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No Data
Repo Audits
No Data

Learn how to distribute @chakra-ui/form-control in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install @chakra-ui/form-control
Processing...
Done

473 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.