size

fun size(init: SizeOptions.() -> Unit): Middleware

See also


external fun size(options: SizeOptions? = definedExternally): Middleware

Provides data that allows you to change the size of the floating element — for instance, prevent it from overflowing the clipping boundary or match the width of the reference element.

See also

https

://floating-ui.com/docs/size