Brand
Powered by (signature)
How WAVEMAP signs its maps. Inline for footers and sign-in; floating for maps, kiosks and gate screens.
powered by
WAVEMAPpowered by
powered by
powered-by.tsx
"use client";
import { PoweredBy } from "@waveinno/ui";
import { ParkingOSMark, WaveMapPin } from "./product-marks";
export default function PoweredByExample() {
return (
<div className="space-y-4">
<div className="flex flex-wrap items-center gap-8">
<PoweredBy />
{/* A product passes its own mark: here the ParkingOS logo from its brand folder. */}
<PoweredBy product="ParkingOS" icon={<ParkingOSMark />} />
</div>
<div className="relative h-44 overflow-hidden rounded-card border border-border bg-[repeating-linear-gradient(45deg,var(--surface),var(--surface)_12px,var(--hover)_12px,var(--hover)_24px)]">
<PoweredBy variant="floating" product="WaveMap" icon={<WaveMapPin />} />
<PoweredBy variant="floating" position="top-right" />
</div>
</div>
);
}Imports from ./product-marks are the docs' own (a product's logo). Use your product's mark in their place.
Import#
Everything comes from the package root. The example above uses:
your-component.tsx
import { PoweredBy } from "@waveinno/ui";Props#
Read from the source of this version, so they match the code exactly.
<PoweredBy>
src/components/brand/waveinno-logo.tsx| Prop | Type | Default | Description |
|---|---|---|---|
product | string | — | Product name as sold, e.g. "ParkingOS". Shown in capitals. |
icon | React.ReactNode | — | The product's own mark, shown before its name. |
variant | "inline" | "floating" | "inline" | |
position | keyof typeof corners | "bottom-left" | |
label | string | "powered by" | Translated "powered by". |
className | string | — |
Install#
If the project does not have the package yet, add it, then follow the setup for Next.js or Vite once.
$ npm install @waveinno/ui