Skip to content

TWBlocks

TWBlocks is a free, open-source collection of ready-to-use website blocks built with shadcn/ui, Radix UI, Tailwind CSS, and Next.js that developers can easily copy and paste into React projects.

Add shadcn.io to your AI agent. · Pro It installs blocks, icons and premium templates from a prompt, with Pro.

Set up MCP
TWBlocks — preview
Updated

Live preview

Live Preview

Interact with the actual deployed template — every section, every interaction, no mockups.

Loading preview…

About

About TWBlocks

The MIT-licensed library provides visually consistent, production-ready components including headers, hero sections, feature displays, CTAs, pricing tables, FAQs, blog layouts, contact forms, and footers, all designed to work seamlessly together. Built with TypeScript and supporting both dark and light modes through shadcn themes, TWBlocks eliminates the need to build common website sections from scratch while maintaining full customization capabilities.

Each block requires shadcn UI installation and can be customized through shadcn's theming system, providing a balance between ready-to-use components and design flexibility. Perfect for landing pages, marketing websites, portfolio sites, or any React project requiring polished website sections without the time investment of building components from scratch, TWBlocks accelerates development while maintaining code quality and visual consistency across all blocks.

Get started

Free, open source, and ready to ship.

Clone the repo, install dependencies, and start customising. TWBlocks is free and open source: its license is in the repository.

  1. Clone the TWBlocks repository from GitHub.
  2. Run npm install or pnpm install to install all required packages.
  3. Run npm run dev to start the development server and begin customizing.
  4. Check the repository’s README and license before you ship.

Terminal

$ git clone https://github.com/tommyjepsen/twblocks
$ cd twblocks
$ npm install
$ npm run dev

More like this

Open source Next.js templates like TWBlocks, those with the most in common first.

Included in Pro

More Templates

Hand-built premium templates from shadcn.io — production-ready and bundled in Pro.

Every template, every block. One Pro plan unlocks all 14, with 6,000+ blocks and MCP for your AI editor.

Get Pro

Pricing

Every premium template, with Pro

All 14 premium templates come with every Pro plan, with 6,000+ blocks and the MCP server. Pick the seats you need.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

Billed once a year in USD. Cancel anytime.

Individual

For personal projects & open source

$32instead of $49/mo

$389 billed yearly

  • How many people can use the license.Seats: 1 seat
  • Client work, SaaS products and anything you charge for.Commercial use: Personal & open source only
  • Production-ready React sections: hero, pricing, features, dashboards and more.Pro blocks: 6,000+ blocks
  • Complete multi-page sites you can ship as they are.Templates: All 14 templates
  • React icons from every major library, installable with one command.React icons: 294k+ icons
  • Presets that restyle every block, in light and dark.Themes: All 59 themes
  • Lets your AI editor search, preview and install blocks for you.MCP server: Basic usage
  • Priority requests are answered first.Support: Standard

Team

Most popular

For freelancers, agencies & startups

$66instead of $99/mo

$789 billed yearly · ≈ $13/dev/mo

Everything in Individual, plus

  • How many people can use the license.Seats: Up to 5 seats
  • Client work, SaaS products and anything you charge for.Commercial use: Included
  • Lets your AI editor search, preview and install blocks for you.MCP server: High usage
  • Priority requests are answered first.Support: Priority

Organization

For companies with larger teams

$132instead of $199/mo

$1,589 billed yearly

Everything in Team, plus

  • How many people can use the license.Seats: Unlimited seats
  • Lets your AI editor search, preview and install blocks for you.MCP server: Unlimited usage
  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

Ship your next site this weekend

14 premium templates, 6,000+ blocks and MCP in every Pro plan. TWBlocks and the other 214 open source templates stay free.

Get Pro