Under maintenanceMVP Verson: 0.9.7 beta
Lang Icon
Toggle Icon
Line
Displays a break line between components.
Default
PreviewCode
somethings...
somethings...
With words
PreviewCode
somethings...
here is a break
somethings...
Props
Universal Props
Prop
Type
Accepted Values
Description
Default
size
string
small | medium | large | huge
Default provides four styles, and you can customize other spacing styles using the 'sx' prop.
medium
sx
object
object
Inline styles for customizing the Line component. Note: When using the 'style' prop, the same CSS properties will override the 'sx' prop.
{}
children
string
string
Content for the Line component.
-
className
string
-
Defines the custom CSS class names applied to the Line component.
-