Version: 3.0.0-next.40

NativeBase Formik UI

NativeBase FormikUI Components. No need of using and managing formik hooks manually just use these components and NativeBase will do that for you.

Installation#

To Install NativeBase-Formik-UI just copy this and paste in your terminal.

yarn add @native-base/formik-ui

Checkbox#

Basic#


Custom#

Input#

Basic#


Custom#

NumberInput#

Basic#


Custom#

PinInput#

Basic#


Custom#

Radio#

Basic#


Custom#

Select#

Basic#


Custom#

Slider#

Basic#


Custom#

Switch#

Basic#


Custom#

TextArea#

Basic#


Custom#

Note: @native-base/formik-ui provides some basic helper components from native-base so you don't have to keep track of those components, but it's not possible to provide each and every component , therefore there can be situations where you have to import components from native-base separately.

Props#

  • name : ( string ) Name of the form field, this will be the key in the formik state.
  • label : ( string ) FormControl Label Value will be displayed over the form element, you can skip this ,for some custom label.

Rest you can pass all the other props related to that specific component.