Skip to main content

atoms

Margin and bleed marks

Two nested outlines, one dashed for bleed and one solid for margin, inset from the edges of a positioned box.

Specimens

Default
{{ MarginBleedMarks.render() }}
Sized and coloured The values are Tailwind scale keys that build the class names.
{{ MarginBleedMarks.render({ color: "primary-400", bleedInset: "4", marginInset: "8" }) }}

Params

ParamTypeDescription
colorstringColour suffix for the border (border-{color}). Defaults to white.
bleedColorstringColour suffix for the outer (bleed) box only. Defaults to color.
sizestringBorder width suffix (border-{size}). Defaults to 1.
stylestringBorder style suffix (border-{style}) on the outer box. Defaults to dashed.
bleedInsetstringInset suffix for the outer box (inset-{bleedInset}). Defaults to 8.
marginInsetstringInset suffix for the inner box (inset-{marginInset}). Defaults to 6.