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?
optionalwidth?:string
Defined in: flow/src/components.ts:752
Bar width (CSS length). Defaults to 100%.
height?
optionalheight?:string
Defined in: flow/src/components.ts:754
Bar height (CSS length). Defaults to 1rem (0.75rem in multi-line mode).
rounded?
optionalrounded?:string|boolean
Defined in: flow/src/components.ts:756
Corner radius: true → pill, a string → that radius, omitted → 0.375rem.
lines?
optionallines?:number
Defined in: flow/src/components.ts:758
Render N stacked line bars (the last is shortened for realism).
class?
optionalclass?:string
Defined in: flow/src/components.ts:759