FanOptions
Defined in: layout/fan.ts:14
Tunes fan()’s look.
Example
Section titled “Example”import { fan } from '@rpxl/riffle'
const layout = fan({ scaleStep: 0.1, offset: 24 })Properties
Section titled “Properties”offset?
Section titled “offset?”
optionaloffset?:number
Defined in: layout/fan.ts:18
Pixels each card behind the front is offset. Default 32.
scaleStep?
Section titled “scaleStep?”
optionalscaleStep?:number
Defined in: layout/fan.ts:16
Scale lost per unit of depth. Default 0.08.