Header

Field

Used as the standard input field

Usage

import { Field } from '@cleartrip/bento'

Playground

className

string

Class to be appended to the wrapping element

type

string

Html type of the input text/number/email etc.

hasError

bool

Boolean to indicate an error state

True
False

iconleft

string

Icon string to append to the right of the field

iconright

string

Icon string to append to the left of the field

wrapperClassName

string

Classes for internal wrapper

size

enum

Size of the input filed

dateField

bool

Date input field variant

True
False