Every export, precisely specified.
The complete contract for components, pages, plugins, and the CLI. Each page documents one export, its TypeScript signature, and the diagnostics that guard it.
Component API
Top-level named exports in src/components/<tag-name>.html.
attributes
Declare, coerce, and validate host HTML attributes into reactive state.
client
The browser runtime block: refs, events, observation, and cleanup.
server
Fetch data in Node.js at build time, then hydrate component state.
getters
Pure, synchronous derivations shared by the server and the browser.
style
Map reactive state onto host CSS custom properties.
slots
Intercept and transform projected child content before rendering.
formControl
Opt into native form association and constraint validation.
Page & Plugin API
Entry points and build-time extensions.
New to Coralite?
Start with the fundamentals before diving into the API surface.