πŸ“– Clera DocumentationΒΆ

Clera is a JavaScript runtime for building HTML-first apps on web, iOS, and Android.


🧭 Where to start¢

I want to…

Go here

Understand what Clera is

00: Introduction

Build something right now

01: Getting Started

Look up a specific API

04: Runtime API

See complete app examples

09: Examples

Use AI to build with Clera

10: AI


πŸ“š ContentsΒΆ

Section

What it covers

00: Introduction

What Clera is, why it exists, and how it thinks

01: Getting Started

Installation, first app, project structure

02: Core Concepts

Pages, actions, lifecycle, context, data system, inline args, platform targeting

03: Styling

CSS with Clera, built-in tags, layout, baseline reset

04: Runtime API

Full app.* API: global, start, config, navigate, hardware, extensions, diagnostics

05: Routing

Built-in routing, persisted page routing, custom router

06: Native Features

Hardware bridge: vibration, clipboard, share, camera, location, files

07: Clera Language

The .clera source format, transpiler rules, and error codes

08: Production

Performance, debugging, error handling, deployment

09: Examples

Complete working apps you can copy and learn from

10: AI

Prompts and rules for AI-assisted Clera development

11: Reference

HTML attributes, context API, lifecycle, config keys, error codes, version history