Component libraryOffice locations footer
Office locations footer
ProAn office directory with an interactive location diagram and contact details.
npx shadcn@latest add @tidal-pro/footer-locationsInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/footer-locations.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Consumer-owned offices require city, timezone, address, timeReference, and numeric mapX/mapY values. The active office can be controlled or initialized, with an onOfficeChange callback. Address and navigation links forward safe native attributes and refs while owning children, href, and dangerous markup. Subheading levels are constrained to a deeper h3-h5 level than the main h2-h4 heading, with automatic derivation when omitted. Office selection uses aria-pressed without aria-controls because all details remain visible. The diagram uses only inline original neutral geometry and never reads current time, a clock, a map service, storage, or network.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.