Layout
DocsLit provides layout components for multi-column grids, panels, frames, and side content.
Columns
Create multi-column layouts with wc-columns:
Column one
Content for the left column with Markdown support.
Column two
Content for the right column.
Three columns
Install
Set up DocsLit in your project.
Write
Create pages in Markdown.
Deploy
Build and publish your site.
Panels
Panels are bordered containers with a header:
name in your docslit.json to change the site title.
Frames
Frames wrap images or media with an optional caption:
Aside
Float supplementary content to the side of your main text:
The aside floats to the right on wide screens and collapses to full width on mobile.
Indent
Add a colored left border for visual grouping:
Familiar names
These Mintlify-style tag names work directly:
| MDX-style | Resolves to | Notes |
|---|---|---|
<Columns> |
<wc-columns> |
|
<Column> |
(unwrapped) | The wrapper is dropped; child content is kept as-is. Use plain <div> blocks inside <Columns> like the canonical examples above. |
<Frame> |
<wc-frame> |
caption and type are preserved. |
<Panel> |
<wc-panel> |
title is preserved. |
<Expandable> |
<wc-expandable> |
title and defaultOpen are preserved. |