Files
shadcn-ui__ui/templates/astro-app
dependabot[bot] 37f364e293 chore(deps): bump astro from 6.3.8 to 7.1.0 in /templates/astro-app (#11231)
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 6.3.8 to 7.1.0.
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@7.1.0/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-version: 7.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 21:23:59 +04:00
..
2026-02-26 17:11:56 +04:00
2026-03-04 14:21:03 +04:00
2026-05-27 21:08:26 +04:00
2026-02-26 17:11:56 +04:00
2026-02-26 17:11:56 +04:00
2026-02-26 17:11:56 +04:00
2026-02-26 17:11:56 +04:00
2026-05-27 21:08:26 +04:00

Astro + React + TypeScript + shadcn/ui

This is a template for a new Astro project with React, TypeScript, and shadcn/ui.

Adding components

To add components to your app, run the following command:

npx shadcn@latest add button

This will place the ui components in the src/components directory.

Using components

To use the components in your app, import them in an .astro file:

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

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Astro App</title>
  </head>
  <body>
    <div class="grid h-screen place-items-center content-center">
      <Button>Button</Button>
    </div>
  </body>
</html>