Primitives

Button

Working variants for product screens (one primary per screen); showcase variants for moments — sign-in, onboarding, upgrade, hero.

ParkingOS for owners

Every car park you run, on one screen.

Import#

Everything comes from the package root. The example above uses:

your-component.tsx
import { Button, Tooltip } from "@waveinno/ui";

Props#

Read from the source of this version, so they match the code exactly.

<Button>

src/components/ui/button.tsx
PropTypeDefaultDescription
asChildbooleanfalse
loadingboolean—

Also takes ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants>.

<Tooltip>

src/components/ui/tooltip.tsx
PropTypeDefaultDescription
labelrequiredstring—
shortcutstring—
childrenrequiredReact.ReactNode—
side"top" | "right" | "bottom" | "left""bottom"

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