Authoring kit
Every component writers can use in these docs, with an example of each.
This page exists to test the components. It is hidden from search engines until the Reference section is written.
Before you start
The box at the top of this page comes from the role, plan and flag frontmatter fields.
Search fields
Three optional frontmatter fields let a page rank for the words people search without making the sidebar long.
| Field | Rule | What it changes |
|---|---|---|
seoTitle | 30 to 45 characters. Leave out "Loopwix Docs", which is added for you | The browser tab title, the title in search results and social cards. The page heading still shows title |
sidebarTitle | Up to 40 characters | The label in the sidebar, the previous and next links and the Related cards |
useFor | A key from lib/marketing-links.json, such as booking or ecommerce | The marketing page the doc points readers to |
Example:
title: "Connect WhatsApp to your AI agent"
seoTitle: "Connect an AI chatbot to WhatsApp Business"
sidebarTitle: "WhatsApp"Keep the main phrase of seoTitle in title too. The build stops if a field breaks its rule.
Steps
Open the dashboard
Go to Agents and select Create agent.
Name your agent
Type a name and select Save.
Tabs
Accordion
Callouts
Screenshot
Diagram
flowchart LR A[Draft] --> B[Test chat] B --> C[Publish] C --> D[Version] D -->|roll back| A
Questions and answers
Use <Faq> for questions readers ask. Each <FaqItem> becomes a heading in the page outline, and the page gets FAQ structured data built from the same text. Use one <Faq> per page. Put the tags and the answer on separate lines.
What does the Beta label on a page mean?
Beta means the feature works but may still change. Check the page before you rely on it for a critical flow.
Can I read a page as Markdown?
Yes. Add .md to the end of any docs address to get the Markdown version of that page.
Glossary
Use <Glossary> with one <Term> per word. Each term gets its own heading and anchor, such as #status-label. Start each definition with the term: "Status label is…".
Status label
Status label is the tag on a docs page that says whether a feature is available, in beta or coming soon.
Markdown version
Markdown version is a plain-text copy of a docs page, made for AI tools, at the same address with .md added.
Video
Use <Video src="/media/agents/create.mp4" captions="/media/agents/create.vtt" title="Create an agent" duration="0:60" transcript="..." />. The transcript is always shown on the page.