Skip to content

Divider 分隔线

基础用法

常用

分隔线方向(direction)

携带内容(default slot)

内容位置(position)

属性(Attributes)

属性描述类型默认
direction分割线的方向stringrow / columnrow
position分割线的位置stringcenter / left / right /bottom / topcenter

插槽(slot)

名称描述
default默认插槽

变量(cssVariables)

变量名变量值描述
--color-bg-1--分隔线文子块的背景颜色
--font-weight-5500分隔线内容的 font-weight
--toyar-gray-10--分隔线内容的 color
--font-body-314px分隔线内容的 font-size
--padding-212px分隔线内容的 padding
--toyar-gray-2--分隔线内容的颜色
--border-11px分隔线内容的粗细

Released under the MIT License.