InputOtp Theming

Theming documentation for InputOtp component

Styled#

CSS Classes#

List of class names used in the styled mode.

classNamedescription
p-inputotpClass name of the root element
p-inputotp-inputClass name of the input element

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
inputotp.gap
--p-inputotp-gap
Gap of root
inputotp.input.width
--p-inputotp-input-width
Width of input
inputotp.input.sm.width
--p-inputotp-input-sm-width
Width of input in small screens
inputotp.input.lg.width
--p-inputotp-input-lg-width
Width of input in large screens

Unstyled#

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