Primer home page
2.x.x-latest
Search...
⌘K
Ask AI
Contact Sales
Contact support
Contact support
Search...
Navigation
CheckoutStyle
InputStyle
Home
Documentation
API Reference
SDK Reference
Connections
Changelogs
Web SDK
iOS SDK
Android SDK
React Native SDK
Web SDK
Getting started
Primer
PrimerCheckout
PrimerHeadlessCheckout
CheckoutStyle
Overview
InputStyle
BaseInputStyle
TextStyle
SavedPaymentMethodButtonStyle
BaseSavedPaymentMethodButtonStyle
SubmitButtonStyle
BaseSubmitButtonStyle
Common objects
Constants
Web SDK
CheckoutStyle
InputStyle
Hide Input Style Properties
hover
BaseInputStyle
An object of type
BaseInputStyle
that defines the style of the input element when it is being hovered over.
focus
BaseInputStyle
An object of type
BaseInputStyle
that defines the style of the input element when it has focus.
placeholder
BaseInputStyle
An object of type
BaseInputStyle
that defines the style of the input element’s placeholder text.
webkitAutofill
BaseInputStyle
An object of type
BaseInputStyle
that defines the style of the input element’s autofill values in webkit-based browsers.
selection
BaseInputStyle
An object of type
BaseInputStyle
that defines the style of the input element’s text selection.
height
number | string
A number or string that defines the height of the input element.
paddingHorizontal
number
A number that defines the horizontal padding of the input element.
color
string
An optional string that defines the color of the text.
fontFamily
string
An optional string that defines the font family of the text.
fontWeight
string
An optional string that defines the weight of the text.
fontSize
string
An optional string that defines the size of the text.
fontSmoothing
string
An optional string that defines the smoothing of the font.
lineHeight
string
An optional string that defines the height of the line.
textTransform
string
An optional string that defines the transformation of the text.
letterSpacing
string
An optional string that defines the spacing between letters in the text.
background
string
A string that defines the background color or image of the box element.
borderRadius
number | string
A number or string that defines the radius of the box element’s corners.
boxShadow
string
A string that defines the shadow effect of the box element.
borderStyle
string
A string that defines the style of the box element’s border.
borderColor
number | string
A number or string that defines the color of the box element’s border.
borderWidth
number | string
A number or string that defines the width of the box element’s border.
Overview
BaseInputStyle
Assistant
Responses are generated using AI and may contain mistakes.