# loom > loom is a reactive, components-first JavaScript framework. Components are tagged templates, reactivity is a small pub/sub primitive called an activity, and the same render path runs in the browser, on a server, and at build time. Every topic below in one file: https://loom-js-docs.vercel.app/llms-full.txt ## Onboarding - [Getting Started](https://loom-js-docs.vercel.app/docs/getting-started): loom is a reactive, components-first JavaScript framework. - [Bootstrapping](https://loom-js-docs.vercel.app/docs/bootstrapping): Every loom app starts with a single call: `init` takes your app's root component and mounts it into the document. - [Configuration](https://loom-js-docs.vercel.app/docs/configuration): Some behavior is decided at boot: debug narration, the `$event` names the renderer recognizes, its placeholder token. ## Templating - [Components](https://loom-js-docs.vercel.app/docs/components): Components are loom's unit of UI: a render function around a tagged template, registered with `component`. - [Element Syntax](https://loom-js-docs.vercel.app/docs/element-syntax): Templates compose components as markup — elements, attribute props, children, named slots — and it all compiles to the functional form with no new runtime semantics. - [Fragments](https://loom-js-docs.vercel.app/docs/fragments): A fragment is a template with no single root: its top level is a list of nodes that loom renders, moves, and removes as one group. - [Custom Elements](https://loom-js-docs.vercel.app/docs/custom-elements): `defineElement` registers a component as a real custom element, so any page — loom or not — can consume it as ``. ## Reactivity - [Activities](https://loom-js-docs.vercel.app/docs/activities): The activity is loom's reactive primitive: a small pub/sub with an initial value, an optional transform, and subscription styles for content, attributes, and plain handlers. - [Routing](https://loom-js-docs.vercel.app/docs/routing): Routing turns location changes into rendered pages: a two-layer pipeline over the browser's History API, built on activities. - [Lazy Imports](https://loom-js-docs.vercel.app/docs/lazy-imports): Code you don't need yet shouldn't block first render. ## Server-first - [Server Rendering](https://loom-js-docs.vercel.app/docs/server-rendering): Pages don't have to start in the browser: loom can serialize an app to HTML on a server or at build time. - [Client Hydration](https://loom-js-docs.vercel.app/docs/hydration): Pre-rendered markup needs a client takeover the reader never sees. - [Dehydrated State](https://loom-js-docs.vercel.app/docs/dehydrated-state): A server-rendered page has already fetched its data; the hydrating client shouldn't pay for it again. ## Reference - [Diagnostics](https://loom-js-docs.vercel.app/docs/diagnostics): When loom has something to say, it says it through one console surface with predictable rules. - [Devtools](https://loom-js-docs.vercel.app/docs/devtools): Loom's inspector shows a running app's component tree, the props each instance last rendered with, and the activities driving the page. - [App Structure](https://loom-js-docs.vercel.app/docs/app-structure): A loom app is three kinds of module: the component tree, the browser entry that boots it, and the server modules that render it ahead of time. - [Build Tool](https://loom-js-docs.vercel.app/docs/build-tool): loom ships its own build tool. ## Pink - [Pink](https://loom-js-docs.vercel.app/docs/pink): `@loom-js/pink` is the design system for loom apps: a stylesheet, an icon font, and a set of loom components that emit its class names. - [Composing](https://loom-js-docs.vercel.app/docs/pink-composition): Every pink component follows the same contract, so once you know how one takes props you know them all. - [Elements](https://loom-js-docs.vercel.app/docs/pink-elements): Elements are pink's single-purpose building blocks: a button, a card, a tag, a loader. - [Components](https://loom-js-docs.vercel.app/docs/pink-components): Components are pink's composite pieces: a table, a collapsible, a drop list, tabs, avatars. - [Layout](https://loom-js-docs.vercel.app/docs/pink-layout): The layout components frame a page: a container, a grid, a page header, a side nav and a top nav. - [Code Panels](https://loom-js-docs.vercel.app/docs/pink-code-panels): `PinkCodePanel` renders a block of code: a header with a label, tabs and a copy button, and a content area with line numbers and syntax highlighting.