Skip to main content

atoms

Trim marks

Corner brackets that show where a printed sheet would be trimmed, inset within a positioned box.

Specimens

On paper The default colour is black, so it suits a light surface.
{{ TrimMarks.render() }}
Coloured
{{ TrimMarks.render({ color: "white", inset: "6", weight: "2" }) }}

Params

ParamTypeDescription
classesstringAppended as-is to the root <div>. No classes filter.
insetstringInset suffix (inset-{inset}). Defaults to 10.
sizestringCorner size suffix (size-{size}). Defaults to 6.
weightstringBorder width suffix for the corner edges (border-{t,r,b,l}-{weight}). Defaults to 1.
colorstringBorder colour suffix (border-{color}). Defaults to black.