Skip to content
Nizivo UI

Augment

The @nizivo/react/augment entry.

Import

Exports

ButtonVariant type

import type { ButtonVariant } from '@nizivo/react/augment'

type ButtonVariant = keyof ButtonVariantMap

ButtonVariantMap type

import type { ButtonVariantMap } from '@nizivo/react/augment'

Button variants, as lowercase Figma names. Augment this interface to add one.

NameTypeDefaultDescription
accentrequiredtrue–
criticalrequiredtrue–
primaryrequiredtrue–
secondaryrequiredtrue–
tertiaryrequiredtrue–
ControlSize type

import type { ControlSize } from '@nizivo/react/augment'

Control heights 32 / 40 / 48 px.

type ControlSize = "sm" | "md" | "lg"

On this page