Splitter Theming

Theming documentation for Splitter component

Styled#

CSS Classes#

List of class names used in the styled mode.

classNamedescription
p-splitterClass name of the root element
p-splitterpanelClass name of the panel element
p-splitter-gutterClass name of the gutter element
p-splitter-gutter-handleClass name of the thumb element

Design Tokens#

List of design tokens.

tokenCSS Variabledescription
splitter.background
--p-splitter-background
Background of root
splitter.border.color
--p-splitter-border-color
Border color of root
splitter.color
--p-splitter-color
Color of root
splitter.transition.duration
--p-splitter-transition-duration
Transition duration of root
splitter.gutter.background
--p-splitter-gutter-background
Background of gutter
splitter.handle.size
--p-splitter-handle-size
Size of handle
splitter.handle.background
--p-splitter-handle-background
Background of handle
splitter.handle.border.radius
--p-splitter-handle-border-radius
Border radius of handle
splitter.handle.focus.ring.width
--p-splitter-handle-focus-ring-width
Focus ring width of handle
splitter.handle.focus.ring.style
--p-splitter-handle-focus-ring-style
Focus ring style of handle
splitter.handle.focus.ring.color
--p-splitter-handle-focus-ring-color
Focus ring color of handle
splitter.handle.focus.ring.offset
--p-splitter-handle-focus-ring-offset
Focus ring offset of handle
splitter.handle.focus.ring.shadow
--p-splitter-handle-focus-ring-shadow
Focus ring shadow of handle

Unstyled#

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