@yuno-payments/prototype-kit
v0.1.1
Published
Yuno Dashboard Prototype Kit: shadcn-style atoms, patterns and organisms skinned with Yuno tokens, for high-fidelity Dashboard prototypes.
Maintainers
Keywords
Readme
@yuno-payments/prototype-kit
Yuno Dashboard Prototype Kit as an npm package: the shadcn-style atoms (ui),
patterns and organisms skinned with Yuno tokens. Source and docs:
https://github.com/yuno-payments/prototype-kit (https://prototype-kit.tools.y.uno).
This is the prototype-flavored mirror of the Dashboard design system, meant for
prototypes. Production code uses @yuno-payments/dashboard-design-system.
Install
npm install @yuno-payments/prototype-kitPeer dependencies: react ^19, react-dom ^19. Tailwind v4 in the consumer.
Styles
In your Tailwind CSS entry:
@import "tailwindcss";
@import "@yuno-payments/prototype-kit/styles.css";
@source "../node_modules/@yuno-payments/prototype-kit";Define --font-geist-sans and --font-geist-mono on <html> (next/font,
the geist package, or Google Fonts). Dark mode is the .dark class on <html>.
Providers
Wrap the app once:
import { LanguageProvider } from "@yuno-payments/prototype-kit/lib/i18n/context";
import { TooltipProvider } from "@yuno-payments/prototype-kit/ui/tooltip";
<LanguageProvider>
<TooltipProvider>{children}</TooltipProvider>
</LanguageProvider>The Sidebar and the keyboard-shortcuts dialog read labels through the i18n context; tooltips need the Radix provider.
Components
import { Button } from "@yuno-payments/prototype-kit/ui/button";
import { KpiCard } from "@yuno-payments/prototype-kit/patterns/kpi-card";
import { Sidebar } from "@yuno-payments/prototype-kit/organisms/sidebar";
import { cn } from "@yuno-payments/prototype-kit/lib/utils";Every file under components/ui, components/patterns and
components/organisms is an entry point. manifest.json lists all of them
with purpose, triggers, variants, recipes and the exact import line; it is what
the kit's Claude Code skills and MCP server read.
Assets
Some components reference static files by absolute URL (/yuno-logo.svg,
/illustrations/*, /empty-state/*). Copy node_modules/@yuno-payments/prototype-kit/assets/*
into your public directory, or pass your own paths where the component takes a
prop (e.g. Sidebar logoSrc).
Conventions
Tokens only (never hex), one Primary per screen, Phosphor icons in light /
fill, Geist Sans, spacing in multiples of 4, the 9-token radius scale, no
shadows on inputs. The full rules live in the kit's CLAUDE.md.
