TidalUI

Office locations footer preview

An office directory with an interactive location diagram and contact details.

pro · Blocks · section

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/footer-locations

Import components/ui/tidal.css, components/ui/footer-locations.css. Wrap installed components in tidal-scope.

Preview

Office locations footer component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/footer-locations.css";
import{TidalFooterLocations}from"./components/ui/footer-locations";
export default(p:Parameters<typeof TidalFooterLocations>[0])=><div className="tidal-scope"><TidalFooterLocations {...p}/></div>;

API and props

TidalFooterLocations.brand (required)
ReactNode

Required brand value accepted by this exported component.

TidalFooterLocations.heading (required)
ReactNode

Required heading value accepted by this exported component.

TidalFooterLocations.navigationGroups (required)
ReadonlyArray<TidalFooterLocationsNavGroup>

Required navigation groups value accepted by this exported component.

TidalFooterLocations.offices (required)
ReadonlyArray<TidalFooterLocationOffice>

Required offices value accepted by this exported component.

TidalFooterLocations.activeOfficeId
string | null | undefined

Optional active office id value accepted by this exported component.

TidalFooterLocations.defaultActiveOfficeId
string | null | undefined

Optional default active office id value accepted by this exported component.

TidalFooterLocations.description
ReactNode

Optional description value accepted by this exported component.

TidalFooterLocations.headingLevel
TidalFooterLocationsHeadingLevel | undefined

Optional heading level value accepted by this exported component.

TidalFooterLocations.legal
ReactNode

Optional legal value accepted by this exported component.

TidalFooterLocations.mapLabel
string | undefined

Optional map label value accepted by this exported component.

TidalFooterLocations.navigationHeadingLevel
TidalFooterLocationsSubheadingLevel | undefined

Optional navigation heading level value accepted by this exported component.

TidalFooterLocations.officeLabel
string | undefined

Optional office label value accepted by this exported component.

TidalFooterLocations.onOfficeChange
((officeId: string, event: MouseEvent<HTMLButtonElement>) => void) | undefined

Callback invoked when the office change interaction is proposed.

TidalFooterLocations.status
ReactNode

Optional status value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas