Skip To Content

Free And Open Source

The free Vite React starter with shadcn/ui
and TanStack. Start on the product.

A React template with shadcn/ui on Base UI, TanStack Router, Query, Form and Table, strict TypeScript and Vitest, all working from the first pnpm dev. An example table and issue form show the patterns, so you only bring your API.

git clone https://github.com/7ovr/shadcn-vite-starter
Use This Template
The example app included in the Vite starter.
The Vite starter app showing its sidebar and paginated Pokémon table

What Ships In The shadcn/ui Vite Starter

Clone, Install, Run

With Node 24+ and pnpm 12+, from an empty folder to the example app on localhost:5173.

Quick Start
zsh

$ git clone https://github.com/7ovr/shadcn-vite-starter

Cloning into 'shadcn-vite-starter'...

$ cd shadcn-vite-starter

$ pnpm install

# Optional: add a 7Ovr block

$ pnpm exec shadcn add @7ovr/hero-1

$ pnpm dev

➜  Local:   http://localhost:5173/

In The Repo

React, TypeScript, Vite, shadcn/ui and TanStack, installed and configured together.

  • ReactUI Runtime
  • TypeScriptStrict Mode
  • ViteDev Server, Build
  • Tailwind CSSTheme Tokens
  • shadcn/uiComponents
  • Base UIPrimitives
  • TanStack RouterType-Safe Routes
  • TanStack QueryServer State
  • TanStack FormValidation
  • TanStack TableSorting, Paging
10 Included

Theme Tokens

Tailwind CSS v4 tokens drive every colour, in light and dark mode.

  • Primary
  • Success
  • Warning
  • Info
  • Danger

Checked In CI

The build, lint, type checks and Vitest run on every push and pull request.

  1. 1pnpm lint
  2. 2pnpm format:check
  3. 3pnpm typecheck
  4. 4pnpm test
  5. 5pnpm build

Guarded Commits

Lefthook lints and formats staged files before every commit.

  1. Staged
  2. Lint
  3. Format
  4. Commit
feat: billingmain · 4f2c1a9Passed
Free And Pro 7Ovr Blocks

Customize And Deploy Your App

After the app runs locally, change the theme, connect your API, or add a shadcn/ui block from 7Ovr.

  1. Clone The Starter

    One repo with TanStack routing, server state, forms, Vitest and git hooks already set up.

    7ovr/shadcn-vite-starter
    Cloned And Installed
  2. Add A Block

    Install any free or Pro 7Ovr block with the shadcn CLI. The source lands in your repo, ready to edit.

    pnpm exec shadcn add @7ovr/hero-1
  3. Make It Yours

    Blocks read the theme tokens the starter already ships, so they match from the start.

    Theme Tokens Applied
  4. Ship The Page

    Run pnpm build and serve dist/ on a static host. Configure an index.html fallback so direct links to app routes work.

    Production Build Readypnpm build
Built For Coding Agents

Project Conventions For Coding Agents

Claude Code, Codex and Cursor can read the project's routing, data, testing and component conventions from the repository.

  • One Rulebook

    CLAUDE.md holds every convention, from data fetching to the design-system variants, and AGENTS.md points every other agent to it.

  • Skills Included

    Four vendored skills, from shadcn to vercel-react-best-practices, ship for Claude Code and every other agent.

  • Checks That Catch Drift

    Lint, format, types, tests and the build run on every push, and @shadcn/lint fails any style that leaves the design system.

Also From 7Ovr, The Landing Starter

Building The Landing Page Behind Your App?

Use the free Next.js landing page template for your marketing site. It shares the shadcn/ui and Base UI stack and includes editable sections, a sitemap and tests for search metadata.

  • One preset styles the landing page and its app alike
  • Static pages, metadata and structured data tested for SEO
  • Free, MIT licensed and ready to deploy on Vercel
Before You Clone It

Questions & Answers

What ships in the shadcn/ui Vite starter, what is free, and how it fits your stack.

A free, open-source React frontend template with the stack already wired: Vite, strict TypeScript, Tailwind CSS v4, shadcn/ui on Base UI, TanStack Router, Query, Form and Table, Vitest and Lefthook.

Open Source, Built In The Open

Build With The Vite Starter

Everything lives in the repository: components, routes, tokens and the tooling around them. Read it, change it, or open a pull request and improve it for everyone.