---
title: Shadcn components. Built for Astro.
description: "Build fast business websites with shadcn UI components and blocks for Astro. Preview examples, install editable source, and bring your own brand palette."
seo:
    title: "Astro UI components and blocks"
---

Build fast business websites with polished Astro components and complete page
blocks. Bring your content and brand palette. Keep the source.

## Browse the library

- [Astro UI components](/components): buttons, forms, dialogs, navigation, and more.
- [Astro page blocks](/blocks): heroes, services, reviews, contact sections, and footers.
- [Background patterns](/patterns): dots, grids, and glow effects that use your theme colors.
- [Astro themes](/themes): one preset for colors, fonts, radius, and component styles.
- [Component examples](/examples/overview): see the parts used together.

## Start at the scale you need

Choose a [component](/components), compose a [page block](/blocks), and add a
[background pattern](/patterns). The homepage uses simple form, feature section,
and dot pattern sketches that follow the selected preset in light and dark mode.
Its hero and floating call to action use the shared [CTA button](/components/cta-button).

## Built for websites

A business website does not need to be a React app. Gnostic uses Astro markup,
Tailwind CSS, and small browser scripts where interaction needs them. Install
editable source through the shadcn registry and use Astro props and slots to
compose your pages. Read the [project credits](/docs/credits) for the shadcn,
Fulldev, and Coss foundations.

Follow the [local business website guide](/docs/astro-business-websites) to plan
service pages, choose blocks, and prepare page content for search. Astro serves
HTML; your site still needs useful content, accurate metadata, and internal links.

## Bring your own brand palette

Use the [theme generator](/themes) to choose a complete preset. Preview the
palette, font, radius, and component styles before installation. Read the
[theming guide](/docs/theming) for the supported options.

## Start building

Add the Gnostic registry to your Astro project:

```sh
bunx --bun shadcn@latest registry add "@gnostic=https://ui.gnosticai.com/r/{name}.json"
```

The homepage shows this command in a centered floating section with a copy button.

1. Follow the [Astro installation guide](/docs/installation).
2. Choose your design in the [theme generator](/themes).
3. Add [components](/components) and [blocks](/blocks) through the shadcn CLI.

Inspect the examples and source before you install. Contact blocks supply the
interface; connect form submissions to your chosen backend. The reusable
components, blocks, and patterns are available now.
