Primitives

Checkbox card

RadioCard's twin for choosing several: the whole card toggles, a square mark, a price on the right.

Add-ons: ৳900 a month per site

Import#

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

your-component.tsx
import { CheckboxCard } from "@waveinno/ui";

Props#

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

<CheckboxCard>

src/components/ui/checkbox-card.tsx
PropTypeDefaultDescription
titlerequiredReact.ReactNode—
descriptionReact.ReactNode—
iconReact.ReactNode—
asideReact.ReactNode—On the right: a price, a time, a badge.

Also takes Omit<React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>, "title">.

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