MDX Components Reference
This page serves as a reference for the custom components available in the Lynx documentation. You can import these from @lynx.
Callout & Alerts
Used to highlight important information. You can use standard Markdown syntax :::type for callouts.
This is an info callout.
This is a warning callout.
This is a tip callout.
This is a danger callout.
Badges
Platform Badges
Indicate platform support.
Status Badges
Indicate API or feature status.
Runtime Badges
Indicate which thread the script runs on.
Version Badge
Indicates the Lynx version a feature was introduced.
Generic Badges
Standard Rspress badge.
Layout & Containers
Platform Tabs
Organize content by platform.
Columns
Split content into columns. Pass titles prop for column headers.
Responsive Dual Column
A layout that switches to single column on smaller screens. Use FlexItem to control width.
Left Content (min 300px)
Right Content (min 300px)
Browser Container
Wraps content in a browser-like window frame.
CodeFold
Collapsible code block, optionally with an image.
Media & Embeds
YouTube
Video List
Display a list of videos with titles.
Mermaid Diagrams
Complex Components
Blog & Social
See Writing Blog Posts for details on <BlogList> and <BlogAvatar>.
Interactive Example
See Managing Interactive Examples for details on <Go>.
API Tables
See Documenting APIs for details on <APITable> and <APISummary>.
Documentation Utilities
Edit This
Renders "Edit source" and "Edit in Cloud IDE" links.
Version Table
Renders a table of Lynx versions.
| Version Number | release | docs repo branch | docs link | release blog |
|---|---|---|---|---|
| 3.7 | --- | release/3.7 | https://lynxjs.org/3.7 | --- |