PhoenixKitOG.Render.Placeholder (PhoenixKitOG v0.1.0)

Copy Markdown View Source

Stand-in image for previews and any other spot that needs a reference visual when a real image slot is unresolved.

Ships as a data URL — no static file serving to configure, and it works everywhere <image href="…"> accepts a data: scheme (browsers, resvg, and every rasterizer we use).

The design is intentionally boring — a light-gray square with four arrows radiating from the center to the corners, plus a small "Placeholder image" caption. Zero brand, zero color, zero risk of being mistaken for real content.

Summary

Functions

The stand-in as a data URL — drop it into any <image href="…"> slot to preview what a fully-wired template would look like.

Raw SVG string, useful if you want to embed it directly.

Functions

data_url()

@spec data_url() :: String.t()

The stand-in as a data URL — drop it into any <image href="…"> slot to preview what a fully-wired template would look like.

svg()

@spec svg() :: String.t()

Raw SVG string, useful if you want to embed it directly.