test
Component Name
Spacer
Description
A customizable spacer component for adding vertical or horizontal space with optional decorative borders.
Use like example
Properties
Property | Type | Default | Description |
---|---|---|---|
is_vert | boolean | false | Determines whether the spacer is vertical (true) or horizontal (false). |
ml | number | 0 | Margin left in rem. |
mr | number | 0 | Margin right in rem. |
mt | number | 0 | Margin top in rem. |
mb | number | 0 | Margin bottom in rem. |
sw | number | 0.1 | Stroke width of the spacer's border in rem. |
color | string | var(--shadow7-t) | Color of the spacer's border. |
min_length | number | 2 | Minimum length of the spacer in rem. |