Divider#
A Divider draws a horizontal rule (a <hr> tag in HTML) to separate multiple components in a layout.
Use pn.ui.Divider to create this component.
API#
.. py:class:: Divider(*objects, **params) :module: panel_material_ui.layout.base
A Divider draws a horizontal rule (a <hr> tag in HTML) to separate
multiple components in a layout.
:References:
https://panel.holoviz.org/reference/layouts/Divider.html
https://mui.com/material-ui/react-divider/
:Example:
Divider(sizing_mode=”stretch_width”)
.. !! processed by numpydoc !!
Parameter Definitions
Parameters inherited from:
:class:`panel.layout.base.ListLike`: objects
:class:`panel.viewable.Layoutable`: align, aspect_ratio, css_classes, design, height, min_width, min_height, max_width, max_height, styles, stylesheets, tags, width, width_policy, height_policy, sizing_mode, visible
:class:`panel.custom.ReactComponent`: use_shadow_dom
:class:`panel_material_ui.base.MaterialComponent`: loading, dark_theme, theme_config, sx
:class:`panel_material_ui.layout.base.MaterialLayout`: margin
:class:`panel_material_ui.layout.base.MaterialListLike`: scroll
orientation = Selector(default='horizontal', label='Orientation', names={}, objects=['horizontal', 'vertical'])
Orientation of the divider.
variant = Selector(default='fullWidth', label='Variant', names={}, objects=['fullWidth', 'inset', 'middle'])
Variant style of the divider.