Blocks
Learn how to use blocks in your application.
What are Blocks?
Blocks
refers to a reusable component or module in a design system. They are built on CSS variables and styles provided by shadcn/ui to quickly create a consistent and beautiful UI in your application.
What is the difference between Blocks and components?
Blocks
is a collection of higher-order components,including:
header
, footer
, hero
, features
, subscribe
, waitlist
, faq
, pricing
, testimonials
, cta
, usage
, login
, brand
and contact
Components are components of Blocks, they are the smallest units of Blocks, used to build Blocks.
How to use Blocks?
The data of Blocks
is configured through config.ts
, and you only need to introduce Blocks where you need it, such as our Landing Page:
Blocks
can help you build applications quickly. We are constantly building new Blocks
, you can modify them according to your needs, or create your own Blocks
.