Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Float

Float is a component used to fix elements to the edges of a container.

Source@yamada-ui/layouts

Props

FloatProps

offset

Description

Changes position offset, usually used when element has border-radius.

Type

UIValue<number | "px" | "2xl" | "lg" | "md" | "sm" | "xl" | ({} & string) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | (string & {}) | "-0.5" | ... 100 more ... | "xs">

placement

Description

The placement of the float.

Type

FloatPlacement

Default

start-end

Edit this page on GitHub

PreviousBleedNextDivider