Primer home pagelight logodark logo
  • Contact Sales
  • Contact support
  • Contact support
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

    BaseInputStyle

    Hide Base Input Style Properties

    ​
    height
    number | string

    An optional number or string that defines the height of the input element.

    ​
    paddingHorizontal
    number

    An optional 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.

    InputStyleTextStyle
    youtubelinkedinwebsite
    Powered by Mintlify
    Assistant
    Responses are generated using AI and may contain mistakes.