# TanStack Router · JGuang UI

> Install and configure JGuang UI for TanStack Router.

- Page: https://jiguang132.com/systems/jguang-ui/docs/installation/tanstack-router
- Based on: shadcn/ui documentation (MIT) @ bc0705384b51252af26dcc65425b216bf5eb063c

### Create project

Start by creating a new TanStack Router project:

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

### Add Components

You can now start adding components to your project.

```text
Use the JGuang UI Registry URL provided on /systems/jguang-ui#install.
```

The command above will add the `Button` component to your project. You can then import it like this:

```tsx title="src/routes/index.tsx" showLineNumbers {3,12}
import { createFileRoute } from "@tanstack/react-router"

import { Button } from "@/components/ui/button"

export const Route = createFileRoute("/")({
  component: App,
})

function App() {
  return (
    <div>
      <Button>Click me</Button>
    </div>
  )
}
```

---

Index of all JGuang resources: https://jiguang132.com/llms.txt
