FloatConfig
Defined in: ui/src/floating.ts:18
Per-floating-element config. All optional; the floating layer fills
sensible defaults (computePosition defaults: center placement, flip +
shift on). maxWidth caps content width; it always also clamps to the
space available at the resolved side so a bubble can’t run off-screen.
Properties
Section titled “Properties”
optionalflip?:boolean
Defined in: ui/src/floating.ts:23
maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:number
Defined in: ui/src/floating.ts:22
offset?
Section titled “offset?”
optionaloffset?:number
Defined in: ui/src/floating.ts:20
padding?
Section titled “padding?”
optionalpadding?:number
Defined in: ui/src/floating.ts:21
placement?
Section titled “placement?”
optionalplacement?:Placement
Defined in: ui/src/floating.ts:19
shift?
Section titled “shift?”
optionalshift?:boolean
Defined in: ui/src/floating.ts:24
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/ui.md.