How to Use
- Select a platform: Web, iOS, Android, or React Native
- Choose a layout preset: Vertical, grouped, compact, or single-line
- Toggle fields: Enable or disable optional fields like cardholder name and submit button
- Configure options: Platform-specific controls for styling, theming, and form behavior
- Copy the code: Switch between code tabs and use the copy button
Layout Presets
See also
Layout customization
Learn about slot-based layout customization
Styling customization
CSS variables and styling options
Design tokens explorer
Interactive token visualization
PrimerCardForm (iOS)
iOS card form view and slot API reference
Card inputs (React Native)
React Native card fields for a layout of your own