Skip to content

Components

The components you can use in any page, with no imports, and what happens when you use one Specly doesn't have.

2 min read

Updated

Write a component’s tag in an .mdx page and it renders. You don’t import anything. .md pages don’t render components; use .mdx.

MDX
<Tip>This renders as a tip.</Tip>
For Components
Notes in the text Note, Info, Tip, Check, Warning, Danger and Callout
Links and layouts Card, CardGroup, Columns and Tile
Sequences Steps and Step
Alternatives Tabs and Tab, CodeGroup
Hiding detail Accordion and AccordionGroup
Images and embeds Frame
Words in a sentence Badge, Icon and Tooltip
API pages ParamField, ResponseField, Expandable, RequestExample, ResponseExample and Panel
Release notes Update
Files Tree, Tree.Folder and Tree.File
Diagrams Mermaid

Wherever a component takes an icon, the name can be a Lucide icon, such as zap, or a Font Awesome name, such as bolt. Specly maps Font Awesome names to the nearest Lucide icon, so a repo written for Mintlify keeps its icons. It also knows common brands, like github, and takes an image path or URL.

A name Specly can’t find leaves the icon out and adds a warning to the build.

If a page uses a component that isn’t on this list, Specly draws its content inside a dashed frame and adds a warning to the build, so nothing disappears. For example, this tag:

MDX
<Quiz question="Ready?">Yes.</Quiz>

shows Yes. in a dashed frame, and the build says that <Quiz> isn’t a component Specly knows yet.

Was this page helpful?

Report a problem

What’s the problem?

The docs team sees this. Other readers don’t.