Field

Fields allow the user to input data.
There are several types of field in Element.

Used to input general numbers.

Storybook failed to load. Please connect to the VPN to access.

When to use

  • Use the phone field component to allow the user to enter a phone number.

When not to use

  • Don't use the phone field to display and editble phone number.

 

Availabile platforms

Platform

Available

Figma

Web (@ovotech/element)

App (@ovotech/element-native)


How to use it


Properties

Name

Values

Default

Accepts all FieldProps

FieldProps
see Properties section

 

iconLeft

IconName

 

iconRight

IconName

 

...

JSX.IntrinsicElements["input"]

 


Related components


External links