Primitives

Button

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

15 examples 10 animated · 5 Pro Code and Figma for each

ParkingOS for owners

Every car park you run, on one screen.

Examples#

Each one on its own: copy its code into your app, or copy it to Figma and paste it on the canvas as layers.

Primary

The one action a screen is for. One per screen.

Secondary

The default: every other action, next to a primary or on its own.

Subtle

A brand-tinted action that should not compete with the primary.

Ghost

Toolbars and quiet actions: no fill until you hover.

Danger

Deleting or anything that cannot be undone. Pair it with a confirmation.

Gradient

Showcase: sign-up, upgrade and hero calls to action. A light sweeps across on hover.

Glow

Showcase: a primary that lifts off the page.

Dark

Showcase: a deep, premium action that holds on light and dark pages.

Outline

Showcase: a brand-coloured secondary for marketing pages.

Elevated

Showcase: a white card of a button that rises on hover.

White and glass on a hero

For a dark or photo backdrop: white is the primary there, glass the secondary.

Sizes and shapes

sm for dense tables, the default for forms, lg and xl for marketing; pill rounds any of them.

Icon button

A square button for an icon. Always give it an aria-label; add a tooltip with the shortcut.

Loading and disabled

loading shows a spinner and blocks clicks; disabled greys it out.

Animated#

Motion that earns its place: free ones to copy now, and Pro ones whose code and Figma copy come with a Wavi Pro licence. They respect the visitor's reduced-motion setting.

ShimmerFree

A band of light crosses every few seconds: draws the eye to one call to action.

Arrow nudgeFree

The arrow steps forward on hover: says 'this takes you somewhere'.

Spring pressFree

Sinks when pressed and springs back: a tap you can feel.

Attention ringFree

A soft ring pulses out: for the one thing a new user should do first.

Save, then doneFree

Spinner while it works, then a tick that pops in, then back to normal.

Magnetic Pro

Leans towards the pointer and springs back when it leaves.

Spotlight Pro

A soft light follows the pointer across the button.

Border beam Pro

A beam of brand colour runs round the edge, for hero and upgrade actions.

Ripple Pro

Each click sends a ripple out from where it landed.

Text roll Pro

On hover the label rolls up and a fresh copy rolls in from below.

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