Documentation

Everything you need to use 4less effectively.

Getting Started

Install 4less and write your first template in under five minutes.

Syntax Reference

Complete reference for all 4less language constructs.

API Reference

TypeScript API for compiling, parsing, and generating 4less templates.

CLI Reference

Command-line interface for compiling .4l files to any supported output format.

Integrations

Use 4less with Vite, Webpack, esbuild, and Rollup via official plugins.