Ds One StatTile
direction of the move; `polarity` decides whether that move is coloured as good (accent) or bad (fault). Exactly 0 is neutral: no glyph, muted. Which direction is the good one for this metric. `'lower-is-better'` for response time, latency, error rate, incident count — a drop there is an improvement and must not render red. `'none'` for readings with no good/bad sense at all (demand, headcount,…

Build promptPaste into Claude, Cursor or v0 with the Niblet MCP connected
Build the "Ds One StatTile" React component in this project using the Niblet MCP (connected with my Niblet API key).
1. Call get_ui_component {"id": "ds-one-stattile"} to fetch its source files and dependencies.
2. Write each returned file at its target path, adapting the `@/` imports to this project's aliases.
3. Install the npm dependencies it lists. Add unprefixed registry dependencies with `npx shadcn@latest add <name>`; fetch `@niblet/<id>` ones with get_ui_component.
4. Render it on a page, run the type check, and confirm it works the way the live preview does.
Live preview: https://niblet.pymodel.com/components/ds-one-stattile
If the Niblet MCP is not connected, stop and tell me to create an API key at https://niblet.pymodel.com/account and follow https://niblet.pymodel.com/docs.- Category
- ds-one
- License
- MIT
Adapted from MIT-licensed open-source UI projects. Keep the MIT license notice with copies.
- npm dependencies
- class-variance-authority
- clsx
- framer-motion
- tailwind-merge
- Registry dependencies
- None
- Files it installs
- components/niblet/ds-one/components/StatTile.tsx
- components/niblet/ds-one/components/lib/utils.ts
- components/niblet/ds-one/components/lib/motion.ts
- components/niblet/ds-one/tokens.ts
- components/niblet/ds-one/components/Card.tsx
- components/niblet/ds-one/components/CornerMarkers.tsx
Get the source
The source is served to your agent through the hosted Niblet MCP. Have it run:
find_ui_materials {"query": "ds one stattile", "kind": "component"}get_ui_component {"id": "ds-one-stattile"}
Needs an API key: get one on your account, then see the MCP setup docs.