Website Blocks for Astro
Prebuilt Astro blocks for business websites and landing pages. Browse hero, service, pricing, FAQ, contact, and footer sections with editable source.
Composable Astro blocks for business websites, landing pages, funnels and more. Copy and paste the example source code into your Astro project, or use the shadcn add command to install from the shadcn registry.
Blocks for Business Websites
Follow the local business website guide to plan service pages and connect your content to the right blocks. Start with a hero, services, and contact section.
Keep sections reusable
Load collections and route data in your page or template, then pass only the required content to the block. Use local image imports when a prop expects Astro ImageMetadata. Replace sample links and labels with content that describes the actual site.
Check the complete page
Review heading order, spacing between sections, and image crops at narrow and wide widths. A block can fit on its own while the complete page still has repeated headings or conflicting actions. Use the shared theme tokens across sections and test both light and dark modes. See Credits for the project sources.
Blocks are grouped by function. Templates compose these same blocks with one complete preset. For example, Gnotch selects Graphite and Portfolio selects Glow. Install a block on its own to use it with your project preset.