Learn how to integrate the Valley Solar Design System into your project and start building with our components and tokens.
The design system is distributed as a compiled bundle. Copy the design system folder into your project:
design-system/
├── _ds_bundle.js # Compiled components
├── colors_and_type.css # Design tokens
├── assets/ # Logos, icons, brand files
├── components/ # Component source files
└── templates/ # Reusable page templates
Add the design tokens stylesheet to your page head:
<link rel="stylesheet" href="path/to/colors_and_type.css">
Include the compiled bundle before your page markup:
<script src="path/to/_ds_bundle.js"></script>
Components are available via window.ValleySolar. Reference the Components Guide for usage examples.
All colors, fonts, spacing, and shadows are available as CSS custom properties. See Tokens for the complete reference.
Templates are ready-to-use page layouts. Copy a template folder and customize the content:
See Templates for a complete list and usage guide.