shadcn CLI compatible

Blocks for Astro

Production-ready landing page sections built with shadcn/ui. Install with one command. Customize everything.

npx shadcn@latest add @saastro/hero-01

16 blocks across 10 categories

Hero sections, feature grids, pricing tables, testimonials, and more.

Hero

Hero — Centered

Centered hero with badge, heading, description, and dual CTA buttons.

button badge
Hero

Hero — Split with Image

Split hero with content on the left and image/screenshot on the right.

button badge
Hero

Hero — Gradient

Hero section with gradient background, floating badge, and a single prominent CTA.

button badge
Features

Features — Icon Grid

3-column feature grid with icons, titles, and descriptions in cards.

card
Features

Features — Alternating

Alternating image and text sections to showcase features.

badge
Pricing

Pricing — 3 Tiers

Three-tier pricing cards with monthly/annual toggle and feature lists.

button card badge separator
CTA

CTA — Gradient Banner

Full-width CTA banner with gradient background, heading, and action buttons.

button
FAQ

FAQ — Accordion

FAQ section with accordion for expandable questions and answers.

accordion
Testimonials

Testimonials — Card Grid

Testimonial grid with avatar, name, role, and quote cards.

card avatar
Navigation

Footer — Multi-Column

Multi-column footer with navigation links, social icons, and copyright.

separator
Navigation

Navbar — Responsive

Responsive navbar with desktop navigation and mobile hamburger menu.

button sheet
Content

Blog — Post Grid

Responsive grid of blog post cards with image, title, excerpt, and metadata.

card badge
CTA

Newsletter — Signup

Email newsletter signup section with input and submit button.

button input
Social Proof

Stats — Counter Row

Row of key statistics with large numbers and labels.

Social Proof

Logos — Trusted By

"Trusted by" logo cloud section with grayscale hover effect.

Buttons

Button Pro

Enhanced button with CVA variants, icon effects, shine, gooey, underline, and gradient animations.

@radix-ui/react-slot class-variance-authority

How it works

1

Configure registry

Add the Saastro registry to your components.json.

2

Install blocks

Run npx shadcn add @saastro/hero-01 to add any block.

3

Customize & ship

Edit the code, change the styles, and deploy your site.

Add to your components.json

{
  "registries": {
    "@saastro": "https://ui.saastro.io/r/{name}.json"
  }
}