Skip to main content
zerotal

Documentation


Documentation / @zerotal/flow / index / SkeletonProps

Interface: SkeletonProps

Defined in: flow/src/components.ts:750

Props for Skeleton: bar width/height/rounded, or lines for a multi-line block.

Indexable

[key: string]: unknown

Properties

width?

optional width?: string

Defined in: flow/src/components.ts:752

Bar width (CSS length). Defaults to 100%.


height?

optional height?: string

Defined in: flow/src/components.ts:754

Bar height (CSS length). Defaults to 1rem (0.75rem in multi-line mode).


rounded?

optional rounded?: string | boolean

Defined in: flow/src/components.ts:756

Corner radius: true → pill, a string → that radius, omitted → 0.375rem.


lines?

optional lines?: number

Defined in: flow/src/components.ts:758

Render N stacked line bars (the last is shortened for realism).


class?

optional class?: string

Defined in: flow/src/components.ts:759