Skip to content
Documentation

Install Blocks and Templates

Free blocks and templates need no account, license key or registry setup. Three steps take you from an existing project to a block on the page.

  1. 1. Prepare your project

    Your project needs React, Tailwind CSS v4 and shadcn/ui on Base UI. Blocks use Base UI APIs such as render, so a Radix-based project has to migrate its components first; editing components.json alone is not enough.

    Run every command from the folder that contains components.json (in a monorepo, the app's folder). If shadcn/ui is not set up yet, initialize it and pick a Base UI style:

    Terminal

    pnpm dlx shadcn@latest init
  2. 2. Install a block

    Copy the command from any Free block preview, or try this one. No registry setup is needed: the CLI finds @7ovr through the shadcn registry directory⁠ (opens in a new tab).

    Terminal

    pnpm dlx shadcn@latest add @7ovr/hero-1

    The CLI installs the dependencies and writes the source to components/blocks/hero-1.tsx.

  3. 3. Render the block

    Installing only copies the source; it does not add the block to a page for you. Import it where you want it. In the Next.js App Router with the default aliases:

    app/page.tsx (example)

    import HeroBlock from "@/components/blocks/hero-1"
    
    export default function Page() {
      return <HeroBlock />
    }

    Adjust the import to your paths, then start your dev server and open the page.

Install a template

A template is a complete page rather than one section. The same kind of command installs the page and every section it uses as source you own:

Terminal

pnpm dlx shadcn@latest add @7ovr/saas-landing

The page goes to components/saas-landing/page.tsx, with each section beside it. In Next.js, React Router and Laravel projects the CLI also adds a route (app/saas-landing/page.tsx in the App Router); in Vite or another React app, render the page from your own router.

Build a SaaS landing page

Set up the free Next.js Landing Starter⁠ (opens in a new tab), then install a hero, pricing cards and an FAQ accordion.

Terminal

pnpm exec shadcn add @7ovr/hero-1 @7ovr/pricing-1 @7ovr/faqs-1

Keep existing UI files if prompted. In src/app/page.tsx, keep the metadata export and replace the demo imports and page component with this example.

src/app/page.tsx (page component)

import HeroBlock from "@/components/blocks/hero-1"
import PricingBlock from "@/components/blocks/pricing-1"
import FaqsBlock from "@/components/blocks/faqs-1"

export default function Page() {
  return (
    <>
      <HeroBlock />
      <PricingBlock />
      <FaqsBlock />
    </>
  )
}

Run pnpm dev and open http://localhost:3000. For a complete site, see the SaaS Website Kit.

Next steps

Browse the blocks catalog. To match your theme, fonts, radius and icon library, build a preset in the Customize panel and apply it with shadcn apply --preset.

Free blocks are MIT-0: use them in personal, commercial and client work with no attribution. Pro blocks and templates install the same way after Pro setup. If a command fails, see Troubleshooting.