Scale
A ruler-tick strip - diagonal hairlines at a fixed pitch. One component, two orientations. Reads its line color from a --pattern CSS variable set by the consumer.
Installation
npx stepwise-ui add scale
Horizontal
Vertical
Usage
A hairline separator between two page sections - here, the last section before a footer. Reads as an intentional seam rather than a plain divider.
Props
PropTypeDescription
orientation'horizontal' | 'vertical'Strip direction. Default 'horizontal'.
thicknessnumberStrip thickness in px. Default 40.
classNamestringMerged onto the root.
styleCSSPropertiesMerged onto the root - set --pattern here to control the line color.