Skip to main content

TextField

Uncontrolled​

Result
Loading...
Live Editor

Password​

Result
Loading...
Live Editor

Controlled​

Result
Loading...
Live Editor

With mask​

Result
Loading...
Live Editor

With prefix and suffix​

Result
Loading...
Live Editor

With custom add-ons​

Result
Loading...
Live Editor

As textarea​

Result
Loading...
Live Editor

Analytics​

The TextField component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'TextField',
actions: {
onClick: { type: 'TEXTFIELD_CLICK', payload: 'Click' },
onChange: { type: 'TEXTFIELD_CHANGE', payload: 'Change' },
},
};

Props​