Skip to content

ExperienceDisplay

ExperienceDisplay = { dismiss?: ExperienceDismissal; kind: "modal"; } | { dismiss?: ExperienceDismissal; edge: "top" | "bottom"; kind: "banner"; } | { corner: "bottom-right" | "bottom-left" | "top-right" | "top-left"; dismiss?: ExperienceDismissal; kind: "slide-in"; } | { kind: "inline"; width: "column" | "bleed"; }

How EdgeKit frames an experience. The module draws only what is inside the frame.

{ dismiss?: ExperienceDismissal; kind: "modal"; }


{ dismiss?: ExperienceDismissal; edge: "top" | "bottom"; kind: "banner"; }


{ corner: "bottom-right" | "bottom-left" | "top-right" | "top-left"; dismiss?: ExperienceDismissal; kind: "slide-in"; }


{ kind: "inline"; width: "column" | "bleed"; }

kind: "inline"

width: "column" | "bleed"

column is the anchor’s width. bleed is the viewport’s, edge to edge wherever the anchor sits: draw the full-width band and centre your own content in it.

edgekit.ai