Primer home page
2.x.x-latest
Search...
⌘K
Ask AI
Contact Sales
Contact support
Contact support
Search...
Navigation
CheckoutStyle
BaseSubmitButtonStyle
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
BaseSubmitButtonStyle
Hide Base Submit Button Style Properties
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.
SubmitButtonStyle
PrimerClientError
Assistant
Responses are generated using AI and may contain mistakes.