Skip to main content

Install

The packages live in the public @usecredo scope.

pnpm add @usecredo/ui @usecredo/tokens
pnpm add -D @usecredo/tailwind-config tailwindcss
PackageRole
@usecredo/uiReact components, one subpath per component (@usecredo/ui/button)
@usecredo/tokensToken stylesheet (CSS variables) and token table
@usecredo/tailwind-configTailwind CSS v4 mapping of the token contract

Peer requirements:

  • react and react-dom ^18.0.0 || ^19.0.0 (peers of @usecredo/ui).
  • @usecredo/tokens (peer of @usecredo/ui and @usecredo/tailwind-config).
  • tailwindcss ^4.3.3 (peer of @usecredo/tailwind-config).

All packages are ESM only. Import from the documented subpaths; deep imports are not part of the public API.

Next: import the stylesheet.