Quaff

QFooter

Footers place navigation and actions at the bottom of a layout. Keep them visible or reveal them as users scroll back up.

info QFooter API Source

interface QFooterProps extends HTMLAttributes<HTMLElement>

bordered
?: boolean = false
Whether the component should have a border.

height
?: number = 80
The height of the footer in pixels.

reveal
?: boolean = false
Determines whether the footer should hide on scroll.

revealOffset
?: number = 250
The distance in pixels from the bottom of the layout content at which the footer is revealed.

value
?: boolean = $bindable(true)
The bound value of the component.

Usage

Custom Height
The default height is 80px. Pass a number to height to set it in pixels, for example when the footer needs a summary and an action.
Reveal on Scroll
reveal hides the footer while scrolling down and shows it when scrolling up. It also returns near the bottom; revealOffset sets that distance in pixels. Scroll through the day below to try it.