Skip to content

Kiln API / kiln / Anchor

Type Alias: Anchor ​

ts
type Anchor = 
  | "top-left"
  | "top"
  | "top-right"
  | "left"
  | "center"
  | "right"
  | "bottom-left"
  | "bottom"
  | "bottom-right";

Where on screen an element sits. Elements with the same anchor stack in order.