Skip to content

React / macro: Plural

Functions, types, and exports for React / macro: Plural.

Page outline
import { Plural } from "@palamedes/react/macro"

<Plural value={…} other={…} />

Props

NameTypeRequired
valuestring | numberYes
zerostringNo
onestringNo
twostringNo
fewstringNo
manystringNo
otherstringYes
offsetnumberNo
contextstringNo
commentstringNo

Props type: PluralMacroProps

Additional members may be defined by the props type above; this table shows the members that could be expanded.

Source entry on GitHub

Last updated: November 10, 2026