InputNumber Theming

Theming documentation for InputNumber component

Styled#

CSS Classes#

List of class names used in the styled mode.

classNamedescription
p-inputnumberClass name of the root element
p-inputnumber-textClass name of the text element

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
inputnumber.transition.duration
--p-inputnumber-transition-duration
Transition duration of root
inputnumber.button.width
--p-inputnumber-button-width
Width of button
inputnumber.button.border.radius
--p-inputnumber-button-border-radius
Border radius of button
inputnumber.button.vertical.padding
--p-inputnumber-button-vertical-padding
Vertical padding of button
inputnumber.button.background
--p-inputnumber-button-background
Background of button
inputnumber.button.hover.background
--p-inputnumber-button-hover-background
Hover background of button
inputnumber.button.active.background
--p-inputnumber-button-active-background
Active background of button
inputnumber.button.border.color
--p-inputnumber-button-border-color
Border color of button
inputnumber.button.hover.border.color
--p-inputnumber-button-hover-border-color
Hover border color of button
inputnumber.button.active.border.color
--p-inputnumber-button-active-border-color
Active border color of button
inputnumber.button.color
--p-inputnumber-button-color
Color of button
inputnumber.button.hover.color
--p-inputnumber-button-hover-color
Hover color of button
inputnumber.button.active.color
--p-inputnumber-button-active-color
Active color of button

Unstyled#

Theming is implemented with the pass through properties in unstyled mode.