Skip to content

Examples

Ready-to-use HTML examples for the most common MetrePay UI patterns. Each example is self-contained and can be copied directly into a project.


Example Library

Example Description Framework
Payment Form Complete single payment form Vanilla CSS
Catalog Page Product catalog with hero Vanilla CSS
Dashboard Widget Stats row + data table Vanilla CSS
Hero Section Landing page hero Vanilla CSS

How to Use

  1. Copy the HTML from any example
  2. Add the Cabin font link to your <head>
  3. Adjust the content (merchant name, amounts, products)
  4. The CSS is self-contained — no external dependencies needed

All examples use: - font-family: 'Cabin', sans-serif (Google Fonts) - MetrePay CSS variables - Vanilla CSS (no framework required)