WFP logoDesign System

Blocks

Pre-built, reusable sections for building pages quickly and consistently.

Blocks are larger, composed UI sections built from registry components. Use them as starting points for common page layouts.

Installation

Blocks are installed the same way as components, using the CLI:

pnpm dlx shadcn@latest add https://designsystem.wfp.org/r/<block-name>.json

This will copy the block files into your project. From there, you own the code – modify it freely to fit your application.

Available blocks

CategoryBlocksDescription
Navigationnavigation-01, navigation-02Header navigation, breadcrumb page navigation
Footerfooter-01, footer-minimalSite footer with links and branding, or a minimal copyright-only variant
Wizardswizard-01Multi-step form wizards with stepper