<primer-input-card-holder-name>
Input for collecting the cardholder’s name. Updates card form context in real-time as user types.Quick Reference
Examples
Default
Custom Labels
In Custom Layout
Properties
Configuration
Control visibility and requirement via SDK options:Pre-filling
Via SDK options (recommended)
Via primer:ready event
Events
<primer-input-card-holder-name> does not emit its own events. Validation and submission are managed by the parent <primer-card-form>.
Relevant Parent Events
CSS Properties
This component uses the shared Input Styling Tokens.Typography
Colors
Border & Background
Spacing
Animation
States
Usage Guidelines
Do
- Place inside
<primer-card-form> - Configure via SDK options
- Use
defaultValueto pre-fill from user profile
Don’t
- Don’t place outside card form context
Content Guidelines
Label
Placeholder
Error messages
See also
primer-card-form
Parent container
SDK options
Configuration options