Bonusway design system

Feedback

BottomBar

The fixed bottom shell StickyBanner and CookieConsentBanner share — edge-to-edge on phones, a centred floating card from sm: up — so the two look like one system even though the shell knows nothing about the buttons inside it.

import BottomBar from '@/components/ui/BottomBar';

Source: src/components/ui/BottomBar.tsx

Examples

Props

<BottomBar> props

PropTypeDefaultDescription
titlerequiredstring—

Accessible name of the region — the bar's own heading text.

childrenrequiredReactNode——
classNamestring''—

Accessibility

  • Rendered as a labelled region (`role="region"`, `aria-label` from `title`) so a screen-reader user can find and skip it.

Usage

Do

  • Decide server-side whether it mounts; one bar at a time — MasterLayout shows the cookie prompt before the phone reminder.

Don’t

  • Add a close control to a consent prompt — an unanswered prompt stays, as production's does.

Related:StickyBanner

Az oldal sütiket használ

Sütiket használunk, hogy a felhasználói élményedet jobbá tegyük és személyre szabott tartalmat mutathassunk. A létfontosságú sütik teszik lehetővé, hogy a szolgáltatásunk működjön számodra. Amennyiben egyetértesz, hogy információt gyűjtünk rólad a létfontosságú és marketing sütik segítségével, akkor kattints az "Összes süti elfogadására". Bármikor megváltoztathatod a beállításaidat, a "Süti beállításra" látogatva.

Sütik beállítása