clipsContent
Whether content extending past the element’s bounds is cut off at them.
Path
…elements.<element>.styles.clipsContent
Elements Supported
Value
boolean (default: false)
Example
| Type | Example |
|---|---|
boolean | true |
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
Rules
| Rule | Statement |
|---|---|
| DSPEC-44 | Every property of Styles declares a default, and its value validates against that property’s own schema |
| DSPEC-45 | A declared default is a literal, never a TokenReference, PropBinding or Conditional |
Source
| Format | File |
|---|---|
| JSON Schema | packages/schema/schema/styles.schema.json |
| TypeScript | packages/schema/types/Styles.ts |
| Specification | §4.1a, §11 |