Skip to content

Packs / design-systems-and-ui-kits-public

shadcn-tremor-setup

Set up a Next.js app with shadcn/ui components and Tremor charts, pinned versions, our tokens

Install

logicpacks pack use design-systems-and-ui-kits-public/shadcn-tremor-setup
get_pack design-systems-and-ui-kits-public/shadcn-tremor-setup

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: npx
  • Checks: 2 in outcome/checks.yaml
  • Code: components.jsonsetup.sh
  • Tools: node, npx

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Set up a Next.js app with shadcn/ui components and Tremor charts, pinned versions, our tokens.

Steps

  1. sh code/setup.sh my-app creates a Next.js app, writes our components.json and adds the base components with the pinned shadcn CLI.
  2. Copy Tremor Raw chart components from tremor.so into components/ (Apache-2.0; keep the licence header).
  3. Generate app/globals.css variables with the design-tokens pack.
  4. Port a template (admin-dashboard-template etc.) to these components.

Edge cases

  • create-next-app@latest moves; pin it if the template must be reproducible.
  • Tremor's older npm package (@tremor/react) is in maintenance; use the copy-paste components.

Don'ts

  • Don't buy or copy Tailwind Plus (commercial) templates into our packs.

Check

lp pack check design-systems-and-ui-kits/shadcn-tremor-setup runs outcome/checks.yaml.