Guide Lines
Thin layout lines that frame a section, with a small dot at every crossing. Two rails run down the page and horizontal rules cross them.
pixikit.com/docs/effects/guide-lines
Customize
Width560px
Columns1
Rows1
Inset56px
Line color
Line width1.0px
Line style
Show vertical
Show horizontal
Horizontal
Dots
Dot size4px
Dot color
Dot shape
Fade
Fade size80px
Draw
Duration0.80s
Stagger0.08s
Min height320px
Props
23| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | Content shown inside the frame. |
width | number | 940 | Width of the frame between the outer vertical lines, in px. It shrinks to fit narrow containers. |
columns | number | 1 | Columns inside the frame. 1 gives the two outer lines, 3 adds two more between them. |
rows | number | 1 | Bands between horizontal lines. 1 gives a top and a bottom line. |
inset | number | 48 | Distance of the first and last horizontal line from the top and bottom, in px. |
lineColor | string | "var(--border)" | Line colour. |
lineWidth | number | 1 | Line thickness, in px. |
lineStyle | "solid" | "dashed" | "dotted" | "solid" | Line style. |
showVertical | boolean | true | Draws the vertical lines. |
showHorizontal | boolean | true | Draws the horizontal lines. |
horizontal | "bleed" | "frame" | "bleed" | `bleed` runs the horizontal lines across the whole container, `frame` stops them at the outer vertical lines. |
dots | boolean | true | Marks every crossing with a dot. |
dotSize | number | 4 | Dot size, in px. |
dotColor | string | "var(--foreground)" | Dot colour. |
dotShape | "circle" | "square" | "plus" | "circle" | Dot shape. |
fade | boolean | false | Fades the lines out toward the container edges. |
fadeSize | number | 80 | Length of the fade, in px. |
draw | boolean | false | Draws the lines in when the frame scrolls into view. |
duration | number | 0.8 | Seconds each line takes to draw. |
stagger | number | 0.08 | Seconds between one line starting and the next. |
minHeight | number | 320 | Smallest height of the container, in px. |
className | string | "" | |
style | CSSProperties | None |