WFP UI-Kit alternatives
How to replicate some WFP UI-Kit components using WFP Design System.
Hero
Recommended alternative for WFP UI-Kit Hero:
A hero section is often unique to each application, so there isn’t a one-size-fits-all component for it. However, you can easily create hero sections using a combination of layout components, typography, and media elements.
Here are a few variations that can be built using Card, Aspect Ratio, and Item:

Supporting families with food, nutrition, and resilience programmes where needs are highest.

Communities are supported to overcome food insecurity through emergency assistance during crises and long-term resilience programmes.This approach combines immediate relief with sustainable solutions, helping people recover and thrive.
Join the mission to eliminate hunger and deliver hope to communities facing food insecurity worldwide.Every contribution, big or small, helps reach families in their darkest moments and build a more resilient future.
NumberInput
Recommended alternative for WFP UI-Kit NumberInput:
Numeric inputs can be implemented in multiple ways. The first example demonstrates a basic Input type number, while the second implements manual increment/decrement controls using Input Group.
Both approaches are valid and can be chosen based on your application’s requirements.
For additional features such as validation, error handling, or custom styling, integrate the input with the Field component to create a more reliable and user-friendly number input experience.
Enter the quantity you wish to order (1-10)
Enter the price per unit in dollars
ReadMore
Recommended alternative for WFP UI-Kit ReadMore:
The Collapsible component provides the same show/hide functionality; it allows content to be toggled based on user interaction, which is the core behaviour needed for read-more patterns.
This pattern can be implemented by chunking text based on character or word count, and conditionally rendering the "Read more" button based on content length.
StepNavigation
Recommended alternative for WFP UI-Kit StepNavigation:
Use Stepperize, a lightweight, type-safe stepper library. Below are horizontal and vertical layout variations.
Details
Provide your information
Review
Verify your details
Payment
Complete the payment
Complete
Order confirmed
Content for details
Create Account
CurrentSet up your credentials and profile information.
Set Preferences
Choose your notification and display preferences.
Verification
Verify your identity through email or phone.
Get Started
You're all set! Start exploring the platform.
Content for account