Use PaceUI Blocks in a TanStack Start App
Install a PaceUI campaign overview block into a TanStack Start project with the shadcn CLI, then render it from a file-based route.
PaceUI
TanStack Start apps can use PaceUI's React block source as part of their own interface. This walkthrough installs the app-analytics-4 campaign overview and renders it from a file-based route. The block is free and does not require a PaceUI registry token.
PaceUI blocks are copied into your codebase through the shadcn CLI. Confirm the block's listed dependencies and your project's styling setup before adding it.
1. Add the PaceUI registry
In the root components.json, add the PaceUI registry while preserving your existing configuration:
For Pro blocks, configure the authorization header and PACEUI_REGISTRY_TOKEN as described in the installation docs.
2. Install a block
Run this command in the project directory:
The campaign overview block page includes its preview, source, and requirements. The block shows example campaign categories and progress values; plan to replace those with data from your app.
3. Render it from a TanStack Start route
In a file-based TanStack Start project, add a route such as src/routes/dashboard.tsx:
If your project uses different path aliases, update the import to match your tsconfig.json. Keep the route registered according to your TanStack Start setup. The example uses the block's built-in sample content; edit its installed source to connect your own campaign data.
Continue building
- Explore PaceUI blocks and check each item for framework and dependency requirements.
- Follow the installation guide for free and Pro registry configuration.
- Review pricing and access before choosing a Pro item.