🧩 Component Library
Visual showcase of reusable components powering The Water Foundation website
💬 Core Messages
Large-scale narrative sections that tell our story
AtCrisisPoint--Jumbo
Full-screen crisis messaging with visual impact
The Critical Resource Crisis
Water is quickly becoming the world's most critical resource...
InvestInTransformation--Jumbo
Hopeful transformation messaging with animations
More Than A Crisis
This is a call to invest in the future...
📊 Message Grids
Structured data displays and metric showcases
MessageCardRow
Key metrics display with hover animations
UnsiloedFinanceColumn
Investment verticals with color-coded categories
Unsiloed Finance
Venture Builders
Identify best water IP/ideas, build teams, enable with capital
VC Funds
Invest in existing teams, plug into venture ecosystem, scale
PE Funds
Buy incumbents and hidden champions, build something bigger
FactsGrid
Responsive grid layout for displaying water facts
Sample Water Facts
Visual preview of facts grid layout
Global Water Crisis
Water scarcity affects 40% of the global population...
Ocean Pollution
Over 8 million tons of plastic waste enter our oceans...
FactCard--w-Image
Individual fact card with image and source attribution
Global Water Crisis
Water scarcity affects 40% of the global population and is projected to increase with climate change and population growth.
📊 Infographics
Data visualization components for water-related statistics and indicators
IndicatorsGrid
Responsive grid of key water indicators with severity levels
Access to Safe Drinking Water
2.2B
people without access
UNICEF/WHO JMP, 2023
Sanitation Access
3.5B
lack safe sanitation
WHO/UNICEF JMP, 2023
Wastewater
80%
untreated globally
UNESCO WWDR, 2023
Economic Losses
$260B
annually
World Bank, 2021
Market Growth
$1T+
water tech market by 2030
BNEF, 2023
Climate Impact
74%
of climate disasters water-related
UNDRR, 2022
Basic Usage
// 1. Import the component
import IndicatorsGrid from '@components/infographic/IndicatorsGrid.astro';
// 2. Use with default indicators
<IndicatorsGrid />Custom Data
// 1. Define your indicators data
const customIndicators = [
{
severity: 'critical', // 'critical' | 'severe' | 'opportunity'
title: 'Water Scarcity',
value: '2.2B',
description: 'people without access',
source: 'UN Water, 2023'
},
// ... more indicators
];
// 2. Pass data to the component
<IndicatorsGrid indicators={customIndicators} />IndicatorCard
Individual indicator card component with severity levels
Water Scarcity
2.2B
People affected globally
UN Water, 2023
Market Growth
$1T+
Water tech market by 2030
BNEF, 2023
Basic Usage
// 1. Import the component
import IndicatorCard from '@components/infographic/IndicatorCard.astro';
// 2. Use with required props
<IndicatorCard
severity="critical" // 'critical' | 'severe' | 'opportunity'
title="Water Scarcity"
value="2.2B"
description="People affected globally"
source="UN Water, 2023"
class="custom-class" // Optional: Add custom classes
/>Props
| Prop | Type | Required | Description |
|---|---|---|---|
| severity | 'critical' | 'severe' | 'opportunity' | Yes | Determines the color and styling of the indicator |
| title | string | Yes | The main title of the indicator |
| value | string | Yes | The main value to display (e.g., '2.2B', '74%') |
| description | string | Yes | Short description of what the value represents |
| source | string | Yes | Data source attribution |
| class | string | No | Additional CSS classes to apply |
📊 Data Display
Components for presenting data and information in a structured way
FactCard
Display facts with source attribution
Basic Fact Card
Fact Card with Image
Ocean Pollution
Basic Usage
// 1. Import the component
import FactCard from '@components/facts/FactCard.astro';
import FactCardWithImage from '@components/facts/FactCard--w-Image.astro';
// 2. Use with a content collection entry
<FactCard entry={entry} />
// 3. Or with the image variant
<FactCardWithImage entry={entry} />Content Collection Example
// 1. In your content/config.ts
export const collections = {
facts: defineCollection({
type: 'data',
schema: z.object({
title: z.string(),
index: z.number(),
zinger: z.string().optional(),
source_org: z.string().optional(),
source_title: z.string().optional().nullable(),
source_url: z.string().url().optional().nullable(),
companion_image_url: z.string().optional(),
sources: z.array(
z.object({
org: z.string(),
title: z.string().optional().nullable(),
url: z.string().url().optional().nullable(),
})
).optional(),
}),
}),
// ... other collections
};
// 2. In your page component
const entries = await getCollection('facts');
// 3. Render the cards
{entries.map(entry => (
<FactCard entry={entry} class="mb-4" />
))}📈 Data Display
Tables, timelines, and structured information
Timeline
Animated timeline for showcasing progress
Desalination
Advanced technologies addressing water scarcity with unprecedented efficiency.
Advanced Treatment
Next-generation wastewater treatment solutions creating circular water economies.
PFAS Destruction
Breakthrough technologies eliminating forever chemicals from water systems.
BrandTableDisplay
First principles strategy table with sticky headers
| First Principle | Strategic Response | Donor Example | Investor Example |
|---|---|---|---|
| 1. Water is essential — but mispriced. | Align capital with access and risk. | Fund women-led kiosks for clean water access in underserved regions. | Invest in a digital water rights platform scaling across LATAM. |
| 2. Resilience is the true return. | Build for long-term, systemic stability. | Core support for water-health-data systems across rural zones. | Growth equity in climate-smart irrigation with cross-border reach. |
| 3. Complexity is the alpha. | Step in where others hesitate. | De-risk blended municipal water reuse pilots in India. | Structure SPV for desalination plant in MENA with ESG premiums. |
| 4. Tech must meet governance. | Fund tech + policy + community capacity. | Grants for soil-water-tech agroforestry in climate-hit Sahel. | Hybrid investment in leak detection SaaS + retrofitting ops. |
| 5. Value compounds across sectors. | Track and multiply co-benefits. | Cross-sector school WASH programs embedded in gender equity. | Carbon + biodiversity credits via blue-carbon mangrove assets. |