For the complete documentation index, see llms.txt. Markdown variants are available by appending .md to any URL or sending an Accept: text/markdown header. An agent skill is available at /.well-known/agent-skills/site-skill.md.
/
241
Sponsor

Grid Lines

Four edge-to-edge guide lines that frame the canvas.

Customize

Installation

$ pnpm dlx shadcn@latest add @ogimagecn/grid-lines

Usage

import { GridLines } from "@/components/og/grid-lines";
<div
  style={{
    display: "flex",
    height: "100%",
    position: "relative",
    width: "100%",
  }}
>
  <GridLines inset={64} color="#44403c" variant="dashed" />
  {/* content */}
</div>

API Reference

PropTypeDefault
insetnumber64
colorstring"#44403c"
variant"solid" | "dashed""dashed"