New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

formik-chakra-ui

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formik-chakra-ui

Bindings for using Formik with Chakra UI.

Source
npmnpm
Version
1.4.4
Version published
Weekly downloads
1.7K
24.21%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

react

FAQs

Package last updated on 12 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts