Go Main page
Go Main page

Web components

cover

components

Input Currency

v.1.0.0 | Saturn

Field that allows the user enter currencies with the appropiate format.

import { InputCurrency } from '@kubit-ui-web/react-components'
1
<InputCurrency variant="DEFAULT" currencyName={{ content: 'EUR' }} currencyPosition="LEFT" />

The inputCurrency component inherits its properties of the input component. For more information visit the Input documentation.

Variant

In Kubit Design System, users have the freedom to generate variants for each component according to their needs. While predefined variants are provided as examples, they can be modified or new ones can be added to align with the specific requirements of each project.

We have set this predefined style for quick use. Access them through the variant prop:

1
<InputCurrency variant='DEFAULT' currencyName={{ content: 'EUR' }} currencyPosition='LEFT'/>