Skip to content

clipsContent

Whether content extending past the element’s bounds is cut off at them.

Path

…elements.<element>.styles.clipsContent

Elements Supported

component · container · slot

Value

boolean (default: false)

Example

TypeExample
booleantrue

Platform bindings

Figma

Disposition: bound · Realised by: node.clipsContent

Container types only; the key never reaches another type because no other key list admits it.

CSS

Disposition: bound · Realised by: layoutToCSS, overflow, truncation

Emits overflow: hidden or overflow: visible. A non-boolean is dropped.

Decisions

  • ADR-069 — Rename clipContent to clipsContent
  • ADR-113 — Style defaults belong to the schema

Rules

RuleStatement
DSPEC-44Every property of Styles declares a default, and its value validates against that property’s own schema
DSPEC-45A declared default is a literal, never a TokenReference, PropBinding or Conditional

Source

FormatFile
JSON Schemapackages/schema/schema/styles.schema.json
TypeScriptpackages/schema/types/Styles.ts
Specification§4.1a, §11