Skip to content

LayoutSticky ​

Keeps an element at an edge while the page scrolls.

ts
import { LayoutSticky } from '@zairakai/vue-components/Layout'

Usage ​

vue
<LayoutSticky />

Props ​

NameTypeDefaultDescription
idstring
classstring
offsetstring'0'The distance to the edge, any CSS length.
edgestring'top'
asstring'div'

Slots ​

NameDescription
default

See Theming for the class hooks and the data-* state of the components.

Documentation of 1.4.4 , built from 8e9b054 on 1.4.4 by pipeline #2989941079 on 2026-10-26.