> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# InputStyle

**Input Style Properties**

**hover** `BaseInputStyle`

An object of type [BaseInputStyle](https://primer.io/docs/sdk/web/v2.x.x/checkout-style/BaseInputStyle.md) that defines the style of the input element when it is being hovered over.

**focus** `BaseInputStyle`

An object of type [BaseInputStyle](https://primer.io/docs/sdk/web/v2.x.x/checkout-style/BaseInputStyle.md) that defines the style of the input element when it has focus.

**placeholder** `BaseInputStyle`

An object of type [BaseInputStyle](https://primer.io/docs/sdk/web/v2.x.x/checkout-style/BaseInputStyle.md) that defines the style of the input element's placeholder text.

**webkitAutofill** `BaseInputStyle`

An object of type [BaseInputStyle](https://primer.io/docs/sdk/web/v2.x.x/checkout-style/BaseInputStyle.md) that defines the style of the input element's autofill values in webkit-based browsers.

**selection** `BaseInputStyle`

An object of type [BaseInputStyle](https://primer.io/docs/sdk/web/v2.x.x/checkout-style/BaseInputStyle.md) 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.