FloatLabel Theming

Theming documentation for FloatLabel component

Styled#

CSS Classes#

List of class names used in the styled mode.

classNamedescription
p-floatlabelClass name of the root element

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
floatlabel.color
--p-floatlabel-color
Color of root
floatlabel.focus.color
--p-floatlabel-focus-color
Focus color of root
floatlabel.active.color
--p-floatlabel-active-color
Active color of root
floatlabel.invalid.color
--p-floatlabel-invalid-color
Invalid color of root
floatlabel.transition.duration
--p-floatlabel-transition-duration
Transition duration of root
floatlabel.position.x
--p-floatlabel-position-x
Position x of root
floatlabel.position.y
--p-floatlabel-position-y
Position y of root
floatlabel.font.weight
--p-floatlabel-font-weight
Font weight of root
floatlabel.active.font.size
--p-floatlabel-active-font-size
Active font size of root
floatlabel.active.font.weight
--p-floatlabel-active-font-weight
Active font weight of root
floatlabel.over.active.top
--p-floatlabel-over-active-top
Active top of over
floatlabel.in.input.padding.top
--p-floatlabel-in-input-padding-top
Input padding top of in
floatlabel.in.input.padding.bottom
--p-floatlabel-in-input-padding-bottom
Input padding bottom of in
floatlabel.in.active.top
--p-floatlabel-in-active-top
Active top of in
floatlabel.on.border.radius
--p-floatlabel-on-border-radius
Border radius of on
floatlabel.on.active.background
--p-floatlabel-on-active-background
Active background of on
floatlabel.on.active.padding
--p-floatlabel-on-active-padding
Active padding of on

Unstyled#

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