Cards & Wallets · Mobile SDK · UI Components
Card Input Slim

This component is used to input card details in a slim card input form. The form consists of the following fields:
- Card number
- Expiry date
- CVV
- Cardholder name
Parameters
| Parameter | Description |
|---|---|
textSize | (Optional) The size of the text in the card input. Defaults to 16.sp. |
textFontWeight | (Optional) The font weight of the text in the card input. Defaults to ComponentFontWeight.NORMAL. |
showCardHolderName | (Optional) Whether the cardholder’s name should be shown. Defaults to true. |
cardHolderName | (Optional) The initial name of the cardholder. Defaults to an empty string. This is required if showCardHolderName is set to false. |
modifier | (Optional) The modifier to apply to this layout node. |
For uses other than Compose you can use CardInputSlimStyleState to define the styling.