Skip to content
PixiKit

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
NameTypeDefaultDescription
childrenReactNodeNoneContent shown inside the frame.
widthnumber940Width of the frame between the outer vertical lines, in px. It shrinks to fit narrow containers.
columnsnumber1Columns inside the frame. 1 gives the two outer lines, 3 adds two more between them.
rowsnumber1Bands between horizontal lines. 1 gives a top and a bottom line.
insetnumber48Distance of the first and last horizontal line from the top and bottom, in px.
lineColorstring"var(--border)"Line colour.
lineWidthnumber1Line thickness, in px.
lineStyle"solid" | "dashed" | "dotted""solid"Line style.
showVerticalbooleantrueDraws the vertical lines.
showHorizontalbooleantrueDraws the horizontal lines.
horizontal"bleed" | "frame""bleed"`bleed` runs the horizontal lines across the whole container, `frame` stops them at the outer vertical lines.
dotsbooleantrueMarks every crossing with a dot.
dotSizenumber4Dot size, in px.
dotColorstring"var(--foreground)"Dot colour.
dotShape"circle" | "square" | "plus""circle"Dot shape.
fadebooleanfalseFades the lines out toward the container edges.
fadeSizenumber80Length of the fade, in px.
drawbooleanfalseDraws the lines in when the frame scrolls into view.
durationnumber0.8Seconds each line takes to draw.
staggernumber0.08Seconds between one line starting and the next.
minHeightnumber320Smallest height of the container, in px.
classNamestring""
styleCSSPropertiesNone

More background effects in Pro

View all

Related