Giter VIP home page Giter VIP logo

formik-chakra-ui's Introduction

Chakra UI Bindings for Formik ๐Ÿงต

Bindings for using Formik with Chakra UI.

license npm

Why?

Inversion of Control is really cool and Compound Components do provide really flexible API.

Yet this library is opinionated, provides bindings for Formik, with necessary paddings etc. You can easily opt-out continue to use Chakra UI if you need custom components. But this library will support %90 of the use-cases when building forms.

Getting started

yarn add @chakra-ui/react @emotion/react @emotion/styled framer-motion formik formik-chakra-ui

Or

npm i @chakra-ui/react @emotion/react @emotion/styled framer-motion formik formik-chakra-ui

Than setup providers.

import * as React from 'react';
// 1. import `ChakraProvider` component
import { ChakraProvider } from '@chakra-ui/react';

function App() {
  // 2. Use at the root of your app
  return (
    <ChakraProvider>
      <App />
    </ChakraProvider>
  );
}

Documentation

All documentation can be found here

Example

Codesandbox example

Progress

Components

  • Button
  • Checkbox
  • Editable ๐Ÿ‘€
  • Input
  • Number Input
  • Pin Input
  • Radio (<RadioGroup/>)
    • Rendering util function/component for <Radio/>
  • Select
  • Slider
  • Switch
  • Textarea

Utility Components

  • Submit button
  • Reset button
  • Form progress

formik-chakra-ui's People

Contributors

dependabot[bot] avatar michaeldeboey avatar stringke avatar takethefake avatar thekaganugur avatar verekia avatar

Stargazers

 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.