---
title: "Writing with components"
description: "MDX components available in TeachPilot docs (Nimbus starter kit)."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.teachpilot.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Writing with components

Docs are MDX. Register every component you use in `src/components.ts`.

## Aside

:::tip
Tips, notes, and warnings render as asides.
:::

## Steps

1. **Edit content**

   Add or change files under `src/content/docs/`.
2. **Preview**

   Run `bun run dev:docs` from the monorepo root.
3. **Deploy**

   Run `bun run deploy:docs`.

## Cards

- **Product site** — Marketing and demos at [teachpilot.in](https://teachpilot.in).
- **LMS app** — Day-to-day teaching at [lms.teachpilot.in](https://lms.teachpilot.in).

Source: https://docs.teachpilot.in/components/index.mdx
