在视觉或语义上分离内容。
¥API Reference
此组件继承了 Separator 基础组件 的属性并支持 常用边距属性。
¥This component inherits props from the Separator primitive and supports common margin props.
¥Examples
¥Size
使用 size
属性控制分隔符的大小。最大步长占用容器的整个宽度或高度。
¥Use the size
prop to control the size of the separator. The largest step takes full width or height of the container.
¥Color
使用 color
属性指定特定的 color。
¥Use the color
prop to assign a specific color.
¥Orientation
使用 orientation
属性控制分隔符是水平还是垂直。
¥Use the orientation
prop to control whether the separator is horizontal or vertical.