Your complete guide to every Taildown component with live examples.
Jump directly to any component category:
Layout
Card, Grid, Button Group
Interactive
Tabs, Accordion, Carousel
Overlays
Modal, Tooltip
Feedback
Alert, Badge, Progress
Content
Details, Callout, Columns, Definitions, Stats, Divider, Steps, Mark
Data & Comparison
Enhanced Tables, Image Comparison Slider, Mermaid Diagrams, Math Equations, Timeline
Media
Video Embeds
Organize and structure your content beautifully.
Versatile content containers with glassmorphism effects.
Cards support any content: headings, paragraphs, lists, images, icons, and nested components.
Key Features:
Cards work perfectly with all other components!
Make entire cards clickable by adding an href
attribute - modern UX best practice!
The entire card is a link! This is the modern approach for navigation cards - no visible link styling, just an intuitive clickable surface.
Try hovering over this card - the whole thing responds!
Click anywhere on this card to navigate. The hover-lift
variant provides visual feedback on hover.
Syntax:
:::card {glass hover-lift href="#target"}
Content here
:::
Benefits:
:::card {glass padded}
Your content here
:::
:::card {subtle-glass padded-xl rounded-xl hover-lift}
Card with multiple attributes
:::
:::card {glass padded hover-lift href="#destination"}
Clickable card - entire card is a link
:::
Glass Variants: subtle-glass
light-glass
glass
heavy-glass
Padding: padded-sm
padded
padded-lg
padded-xl
Effects: elevated
floating
hover-lift
rounded
rounded-lg
rounded-xl
Clickable: Add href="#target"
to make entire card a link
Responsive column layouts with automatic equal-height columns.
2 Columns:
Equal height columns automatically adjust to match the tallest sibling.
This column has more content to demonstrate the equal-height behavior. Notice how both columns maintain the same height regardless of content length. This creates a clean, professional grid layout without manual height adjustments.
3 Columns:
Developer Friendly
Plain English syntax that just makes sense.
Beautiful Design
Zero-config professional aesthetics.
Lightning Fast
Sub-100ms compilation targets.
4 Columns:
Home
Search
Settings
Profile
Nested 1
Nested 2
Grids can be nested infinitely for complex layouts that maintain equal heights throughout.
:::grid {2}
:::card
Column 1
:::
:::card
Column 2
:::
:::
:::grid {3 gap-lg}
Three columns with large gap
:::
Columns: 2
3
4
Gaps: gap-sm
gap
gap-lg
Intelligent button layout with centering and mobile stacking.
Left Aligned:
Centered (default):
Right Aligned:
Small Gap:
Medium Gap (default):
Large Gap:
Desktop: Horizontal layout with auto-sizing and proper gaps
Mobile: Automatically stacks vertically with full-width buttons for better touch targets
Try resizing your browser to see it in action!
:::button-group
[Primary](#){button primary large}
[Secondary](#){button secondary large}
:::
:::button-group {right lg}
Right-aligned with large gaps
:::
Alignment: left
center
right
stack
Sizes: sm
md
lg
Components with built-in JavaScript behaviors - zero configuration required.
Tabbed interface using headings as labels.
Tabs use headings (h2 or h3) as labels. Everything between headings becomes panel content.
Features:
Simple, intuitive syntax:
:::tabs
## First Tab
Content for first tab
## Second Tab
Content for second tab
## Third Tab
Content for third tab
:::
Tabs support full Taildown syntax:
Code snippets
Even alerts work inside tabs!
Complex layouts inside tabs:
Left Column
Cards work perfectly
Right Column
Grids too!
:::tabs
## First Tab
Content
## Second Tab
More content
:::
Key Points:
Expandable sections using bold text as triggers.
How do I create one?
Use :::accordion
fences and bold text for triggers. Everything between triggers becomes panel content.
What content is supported? Everything! Full markdown, components, icons, images - the entire Taildown syntax works inside accordion panels.
Can I nest components? Absolutely! Here's a card inside an accordion:
This card lives inside an accordion panel with full styling support.
Alerts work here too!
How is accessibility handled?
Accordions include proper ARIA attributes (aria-expanded
, aria-controls
) and full keyboard navigation for screen readers.
Optimized for speed:
Design System
Beautiful by default:
Glass
Glassmorphism
Light
Light mode
Dark
Dark mode
Developer Experience
Simple syntax:
:::accordion
**Section Title**
Section content here
:::
Clean, intuitive, and powerful!
:::accordion
**First Section**
Content (open by default)
**Second Section**
More content
**Third Section**
Even more content
:::
Key Points:
Slideshow with navigation, indicators, and 3D card effects.
:::carousel
First slide content
---
Second slide content
---
Third slide content
:::
Features:
---
) divide slidesCreate stunning modals and tooltips with zero configuration - just add an attribute.
Modals
Overlay dialogs with backdrop blur, focus management, and accessibility built-in.
Tooltips
Contextual help on hover or click. Perfect for definitions, hints, and extra context.
Zero Config
No JavaScript setup required. Just add modal="..."
or tooltip="..."
to any element.
Powerful overlay dialogs that work beautifully across all devices.
The simplest modal is just one attribute:
[Click Me](#){button primary modal="Your message here"}
Perfect for:Alerts, confirmations, simple messages
For complex layouts with markdown, components, and interactivity, use ID-referenced modals:
Define once, trigger from anywhere. Perfect for reusable content:
[Button](#){button modal="Simple text"}
[Link](#){modal="Also works on links"}
Best for:Short messages, alerts, confirmations
[Open](#){button modal="#my-modal"}
:::modal {id="my-modal"}
# Full Markdown Support
With components, styling, everything!
:::
Best for:Rich content, complex layouts, reusable modals
Modals include enterprise-grade accessibility out of the box:
Contextual help that appears on hover or click. Perfect for hints, definitions, and extra context.
Add tooltips to any element with one attribute:
Hover over this text or this link to see tooltips in action.
[Hover me](#){tooltip="Helpful information"}
Perfect for:Help text, definitions, extra context, hints
On Buttons
On Icons
For complex tooltip content, use ID references:
Hover over this badge for a rich tooltip with full markdown support.
Another trigger can reference the same tooltip content.
Share one tooltip across multiple triggers for consistency:
[Text](#){tooltip="Help text"}
[Button](#){button tooltip="Hint"}
[Badge](#){badge tooltip="Info"}
Best for:Short hints, simple definitions
[Term 1](#){tooltip="#def"}
[Term 2](#){tooltip="#def"}
:::tooltip {id="def"}
**Definition** with full markdown
:::
Best for:Complex content, shared definitions
Professional tooltips with excellent UX:
aria-describedby
for screen readersDo:
Don't:
Display messages, status, and notifications.
Semantic message boxes with theming and icons.
Information: This is an informational alert with proper theming and icon integration.
Success: Your operation completed successfully with no errors!
Warning: Please review this information carefully before proceeding.
Error: An error occurred. Please check your input and try again.
Alerts support full markdown content:
Code snippets
and technical termsClean alert without an icon for minimal, focused messaging.
:::alert {info}
:icon[info]{info} Information message
:::
:::alert {success}
:icon[check-circle]{success} Success message
:::
:::alert {warning}
:icon[alert-triangle]{warning} Warning message
:::
:::alert {error}
:icon[x-circle]{error} Error message
:::
Variants:
info success warning errorFeatures: Proper theming • Dark mode support • Responsive padding • Smooth animations
default primary secondary success warning error info muted
Use badges to highlight status and metadata:
Features: new beta deprecated coming soon
Combine badges with icons and markdown content for visual context and alternative use:
Pro Tip: Badges support content but don't go overboard. trending hot# Inline badges
Project Status: :badge[active]{success}
Version: :badge[v2.1.0]{info}
License: :badge[MIT]{primary}
Features: :badge[new]{warning} :badge[beta]{info} :badge[deprecated]{error}
# Component syntax
Combine badges with icons for visual context:
:::badge {primary}
:icon[star]{warning} featured
:::
:::badge {success}
:icon[trending-up]{success} trending
:::
:::badge {error}
:icon[flame]{error} hot
:::
Colors: default
primary
secondary
success
warning
error
info
muted
Sizes: sm
md (default)
lg
Progressive disclosure and semantic alert boxes for better content organization.
Native HTML5 disclosure widget with beautiful Taildown styling - zero JavaScript required!
The <details>
element is a native HTML5 component for progressive disclosure - perfect for FAQs, collapsible content, and expandable sections. Taildown adds beautiful glassmorphism styling while maintaining full accessibility.
Key Benefits:
What is Taildown?
Taildown is a markup language for creating beautiful UIs with plain English styling. It compiles to pure HTML, CSS, and minimal vanilla JavaScript.
Key Features:
How do I install it?
Installation is simple with pnpm, npm, or yarn:
pnpm install @taildown/cli
Then create a .td
file and compile it:
taildown compile myfile.td
What components are available?
Taildown includes a comprehensive component library:
Subtle Glass
Minimal transparency with soft shadows for a clean, professional look.
Standard Glass
Balanced glassmorphism - the default choice for most use cases.
Heavy Glass
Pronounced frosted blur that makes a bold statement.
Add {open}
to start expanded:
This details is open by default
Perfect for showing important content that should be visible initially while still being collapsible.
Users can still click to collapse it if they want to focus on other content.
:::details {glass}
**Summary Text** {bold}
Details content here - supports full markdown, components, everything!
:::
:::details {elevated open}
**Open by Default**
Content visible initially
:::
Glass Variants: subtle-glass
glass
light-glass
heavy-glass
Other Variants: elevated
bordered
Attributes: open
- Start expanded
Semantic alert boxes with color-coded types for notes, tips, warnings, and critical alerts.
Callouts (also known as admonitions) are highlighted content boxes that draw attention to important information. They're essential for documentation, technical writing, and any content that needs clear visual hierarchy.
Why Use Callouts?
Note: This is a note callout for general information and context. Use for neutral, informational content that provides additional detail.
Info: Similar to note but with a lighter blue color scheme. Perfect for helpful information and guidance.
Pro Tip: This is a tip callout for helpful advice and best practices. Use green to convey positive, helpful guidance.
Success: Use for positive messages, confirmations, and successful outcomes. Emphasizes that something worked correctly.
Warning: This is a warning callout for caution messages. The amber/orange color draws attention without being alarming.
Danger: For critical warnings about destructive or irreversible actions. The red border immediately signals importance.
Error: For error messages and problems that need attention. Use when something went wrong or failed.
Callouts support full markdown and nested components:
Advanced Usage Tip
You can nest any Taildown content inside callouts:
Example workflow:
.td
filetaildown compile
Fast
Beautiful
Icons are optional - callouts work great with just text:
Clean and Minimal: Callouts don't require icons. The colored left border and background tint provide clear visual distinction.
Operation Successful: Your changes have been saved and deployed to production.
Add {glass}
for glassmorphism styling:
Important Notice: Combining callout types with glass effects creates a modern, professional appearance while maintaining readability.
:::callout {note}
:icon[info]{primary} **Note:** Additional information here
:::
:::callout {tip glass}
:icon[lightbulb]{success} **Pro Tip:** Helpful advice with glass effect
:::
:::callout {danger elevated}
:icon[alert-octagon]{error} **Danger:** Critical warning with shadow
:::
Types: note
info
tip
success
warning
danger
error
Visual Variants: glass
elevated
bordered
Sizes: sm
md
lg
CSS multi-column layout for magazine-style text flow - content reflows naturally.
The :::columns
component uses CSS multi-column layout to create magazine-style text flow. Content automatically reflows between columns, creating professional, space-efficient layouts perfect for long-form content.
Key Benefits:
Magazine-style text flow
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Automatic reflow
The text naturally flows from one column to the next, creating a professional magazine-style layout. Paragraphs, lists, and images all work seamlessly within the column structure.
This is perfect for long-form content, documentation, articles, and any content that benefits from shorter line lengths for improved readability.
First Column - Content automatically distributes across three columns with large gaps between them for optimal readability and visual separation.
Second Column - Notice how the text flows naturally and the layout remains balanced. CSS columns automatically handle the distribution.
Third Column- Perfect for feature lists, specifications, or any content that benefits from compact, organized presentation.
:::columns {2}
Content flows between 2 columns
:::
:::columns {3 gap-lg}
Three columns with large gap
:::
:::columns {4 divider}
Four columns with divider lines
:::
Column Counts: 2
3
4
auto
Gap Sizes: gap-sm
gap
(default) gap-lg
gap-xl
Options: divider
(column rule line) balanced
(equal column heights)
Semantic <dl>
element for term-definition pairs - perfect for glossaries and API docs.
Definition lists use semantic HTML (<dl>
, <dt>
, <dd>
) to pair terms with their definitions. They're perfect for glossaries, API parameters, metadata, and any key-value documentation.
Key Benefits:
API Key : A unique identifier for authentication with the service. Keep this secure and never commit it to version control.
Base URL {term} : https://api.example.com/v1
Rate Limit : 1000 requests per hour per API key. Contact support for higher limits.
Authentication : Bearer token authentication via the Authorization header. Include your API key in all requests.
Name: John Doe Email: john@example.com Role: Lead Developer Location: San Francisco, CA Status: Active
Version: v2.1.0 License: MIT Author: Taildown Team Updated: 2025-10-11
:::definitions {glass}
**Term** {term}
: Definition text here
**Another Term** {term}
: Another definition
:::
:::definitions {horizontal}
**Key:** Value
**Another:** Value
:::
Layouts: vertical
(default) horizontal
compact
Visual Variants: glass
subtle-glass
elevated
bordered
Sizes: sm
md
lg
Large, prominent statistics for landing pages, dashboards, and social proof.
The stats component displays large, eye-catching numbers with labels and icons - perfect for showcasing key metrics, social proof, and important statistics on landing pages.
Key Benefits:
Active Users
Uptime SLA
Response Time
Downloads
Contributors
Rating
Support
:::stats {3}
### 10,000+ {stat}
:icon[users]{primary huge}
Active Users
### 99.9% {stat}
:icon[check-circle]{success huge}
Uptime
### < 50ms {stat}
:icon[zap]{warning huge}
Response Time
:::
Column Counts: 2
3
(default) 4
Visual Variants: glass
elevated
bordered
compact
Usage: Use H3 headings with {stat}
marker, add icon above, label text below
Enhanced horizontal rules with text, icons, and decorative styles.
Dividers create visual section breaks with more expressiveness than plain markdown ---
. Add text, icons, gradients, and decorative styles to match your brand.
Key Benefits:
---
Simple divider
Section Break
Dotted:
Dashed:
Thick:
Double Line:
Important Section
:::divider
Basic divider
:::
:::divider {text}
Section Break
:::
:::divider {icon}
:icon[star]{warning}
:::
:::divider {gradient primary}
Gradient with color
:::
:::divider {dots muted}
Decorative style
:::
Styles: solid
text
icon
gradient
dots
dashed
double
wavy
thick
Colors: primary
accent
muted
success
warning
error
Beautiful blockquotes with attribution, citations, and pull-quote styling.
Enhanced blockquotes go beyond basic markdown >
syntax with professional styling, attribution support, and special variants for pull quotes and testimonials.
Key Benefits:
This is a standard blockquote with regular styling. It has a colored left border, subtle background tint, and decorative quote marks.
Multiple paragraphs in a blockquote work seamlessly.
Each paragraph flows naturally with proper spacing and formatting.
The best design tool I've used. Taildown makes beautiful UIs effortless.
Taildown transformed our documentation. The glassmorphism is stunning and the plain English syntax is so intuitive. Our entire team adopted it in days.
— Sarah Chen, Lead Designer Company Name
This blockquote has a beautiful glassmorphism effect with backdrop blur, creating a modern, professional appearance that stands out.
This blockquote features a heavier left border (6px) for extra emphasis without background styling.
Information blockquote with blue accent
Success or positive quote
Warning or caution quote
Error or critical quote
> Standard blockquote
> with multiple lines
> Pull quote for emphasis
{pull-quote primary}
> Testimonial with attribution
>
> — Author Name
> Title/Company
{testimonial glass}
> Glass effect blockquote
{glass}
> Bordered with color
{bordered success}
Variants: pull-quote
testimonial
bordered
glass
subtle-glass
Colors: primary
success
warning
error
accent
Visual progress indicator for multi-step processes, tutorials, and onboarding flows.
Step indicators show progress through multi-step processes with visual markers, numbers, and connecting lines. Perfect for installation guides, tutorials, and documenting workflows.
Key Benefits:
Run pnpm install
to install all required packages.
Create a .env
file with your configuration settings:
API_KEY=your-api-key-here
BASE_URL=https://api.example.com
Run pnpm build
to compile the project.
Push to production using your deployment pipeline.
Initial setup and configuration
Compile and package
Push to production
:::steps {numbered connected}
### Install Dependencies {step completed}
First step is done
### Configure {step current}
Currently working on this
### Deploy {step}
Future step
:::
:::steps {horizontal glass}
Simple horizontal steps
:::
Layouts: vertical
(default) horizontal
compact
Styles: numbered
icons
connected
(connecting lines)
States: {step}
{step current}
{step completed}
Visual Variants: glass
elevated
bordered
Inline text highlighting with semantic colors - like a highlighter pen for your content.
The ==highlighted text==
syntax creates inline text highlighting with semantic color variants. Better than just bold or italic, it provides visual emphasis with meaning.
Key Benefits:
==text==
wrapperThis is highlighted text with default yellow background.
Important! uses orange/red highlighting for warnings.
Success uses green highlighting for positive emphasis.
Critical uses red highlighting for errors or critical content.
Note uses blue highlighting for informational content.
Featured uses the primary brand color.
Muted uses gray for subtle emphasis.
Example Documentation:
The API uses REST architecture with JSON payloads.
Recommended: Use HTTPS for all requests
Warning: Rate limits apply
Deprecated: Legacy endpoint removed
==highlighted text== with default yellow
==Important!=={warning} orange/red
==Success=={success} green
==Critical=={error} red
==Note=={info} blue
==Custom=={primary} brand color
==Subtle=={muted} gray
Variants: warning
success
error
info
primary
muted
(default: yellow)
Usage: Wrap text with ==
on both sides, optionally add {variant}
after
Embed videos and rich media with responsive aspect ratios.
Responsive video embeds for YouTube, Vimeo, and self-hosted videos with aspect ratio preservation.
The video component creates responsive video embeds with automatic aspect ratio preservation, lazy loading, and platform detection. Works with YouTube, Vimeo, or self-hosted videos.
Key Benefits:
Widescreen (16:9 default):
Standard (4:3):
Ultrawide (21:9):
Square (1:1):
:::video {youtube}
https://youtube.com/watch?v=VIDEO_ID
:::
:::video {vimeo glass}
https://vimeo.com/VIDEO_ID
:::
:::video {16:9}

:::
:::video {glass autoplay muted loop}

:::
Platforms: youtube
vimeo
(auto-detected from URL)
Aspect Ratios: 16:9
(default) 4:3
21:9
1:1
Visual Variants: glass
subtle-glass
Attributes: autoplay
muted
loop
controls
Professional data presentation and visual comparison tools.
GFM tables supercharged with sorting, zebra striping, glass effects, and sticky headers.
Enhanced tables extend GitHub Flavored Markdown tables with professional features like client-side sorting, alternating row colors, glassmorphism effects, and sticky headers. Perfect for data presentation, documentation, and dashboards.
Key Benefits:
Click any header to sort the data:
Employee | Department | Salary | Performance | Status |
---|---|---|---|---|
Alice Chen | Engineering | $95,000 | Excellent | Active |
Bob Smith | Design | $82,000 | Good | Active |
Charlie Davis | Product | $105,000 | Excellent | Active |
Diana Wilson | Marketing | $78,000 | Very Good | Active |
Eve Martinez | Engineering | $98,000 | Excellent | Active |
Frank Johnson | Sales | $88,000 | Good | Active |
Try it: Click on "Salary" to sort by amount, or "Department" to alphabetize!
Metric | Q1 2024 | Q2 2024 | Q3 2024 | Growth |
---|---|---|---|---|
Revenue | $1.2M | $1.5M | $1.8M | +50% |
Users | 10,500 | 12,300 | 14,800 | +41% |
Conversion | 3.2% | 3.8% | 4.1% | +28% |
Churn | 2.1% | 1.8% | 1.5% | -29% |
{glass sticky-header} | ||||
::: |
Setting | Value | Description |
---|---|---|
Version | v2.1.0 | Current release |
License | MIT | Open source |
Build | 1,234 | Latest CI run |
Status | Passing | All tests green |
Styling Variants:
sortable
- Interactive column sortingzebra
/ striped
- Alternating row colorsbordered
- Full cell bordersglass
- Glassmorphism effectsticky-header
- Header stays on scrollcompact
- Tighter spacinghoverable
- Row hover effectsSize Modifiers:
sm
- Small (0.5rem/0.75rem padding)md
- Medium (default)lg
- Large (1rem/1.25rem padding)Combinations:
{sortable zebra hoverable}
{glass sticky-header}
{compact bordered sm}
# Basic sortable table
| Name | Value | Status |
|------|-------|--------|
| Item A | 100 | Active |
| Item B | 200 | Pending |
{sortable}
# Full-featured dashboard table
| Metric | Q1 | Q2 | Q3 |
|--------|-----|-----|-----|
| Revenue | $1.2M | $1.5M | $1.8M |
| Users | 10.5K | 12.3K | 14.8K |
{sortable zebra glass sticky-header hoverable}
# Compact data list
| Key | Value |
|-----|-------|
| API | v2.0 |
| Status | Live |
{compact bordered sm}
Attributes: Place {variants}
after the table (last row or separate line)
Features:
aria-sort
attributes for screen readersInteractive before/after image comparisons with draggable slider - perfect for showcasing transformations.
The image comparison slider creates interactive before/after comparisons with a draggable slider. Perfect for design showcases, photo editing demos, renovation projects, or any visual transformation.
Key Benefits:
Try it: Click and drag the slider, or use arrow keys!
Small (280px):
Perfect for thumbnails or compact comparisons.
Large (580px):
Great for detailed visual comparisons.
Orientation:
horizontal
- Left/right comparison (default)vertical
- Top/bottom comparisonVisual:
labels
- Show "Before" and "After" overlaysglass
- Glassmorphism on handle and labelsshadow
- Enhanced shadow on handleSizes:
sm
- 280px (36px handle)md
- 450px (48px handle, default)lg
- 580px (48px handle)xl
- 700px (56px handle)full
- Full height (400px min)All sizes respect viewport (no awkward scrolling!)
# Basic horizontal
:::compare-images {horizontal}
before: https://example.com/before.jpg
after: https://example.com/after.jpg
alt: Workspace transformation
:::
# Vertical with labels
:::compare-images {vertical labels}
before: /images/design-v1.png
after: /images/design-v2.png
beforeAlt: Original design
afterAlt: New design
:::
# Small with glass effect
:::compare-images {sm glass labels}
before: /photos/original.jpg
after: /photos/edited.jpg
alt: Photo editing showcase
:::
# Extra large hero
:::compare-images {xl labels shadow}
before: /portfolio/mockup-before.png
after: /portfolio/mockup-after.png
alt: Website redesign
:::
Required Attributes:
before
- URL to before imageafter
- URL to after imageOptional Attributes:
alt
- Alt text for both imagesbeforeAlt
- Specific alt for before imageafterAlt
- Specific alt for after imageMouse/Track Interaction:
Touch Devices:
Keyboard Navigation:
Enterprise-Grade Accessibility:
role="slider"
with ARIA attributesaria-valuenow
updates as slider moves (0-100)alt
text for screen readersClient-side rendered diagrams with zero-overhead tree-shaking.
Tree-Shaken: 0KB overhead when no diagrams present. ~2.7MB inline UMD bundle only when diagrams detected.
Mermaid enables you to create diagrams and visualizations using text-based syntax:
graph LR
A[Start] --> B{Decision}
B -->|Yes| C[Action 1]
B -->|No| D[Action 2]
C --> E[End]
D --> E
Simple decision tree:
graph TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[Car]
UML sequence diagram for interactions:
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
Object-oriented structure:
classDiagram
Animal <|-- Duck
Animal <|-- Fish
Animal <|-- Zebra
Animal : +int age
Animal : +String gender
Animal: +isMammal()
Animal: +mate()
class Duck{
+String beakColor
+swim()
+quack()
}
class Fish{
-int sizeInFeet
-canEat()
}
class Zebra{
+bool is_wild
+run()
}
State machine visualization:
stateDiagram-v2
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
Project timeline:
gantt
title Project Development Timeline
dateFormat YYYY-MM-DD
section Design Phase
Research & Planning :a1, 2024-01-01, 30d
UI/UX Design :a2, after a1, 20d
Design Review :milestone, after a2, 0d
section Development
Backend Development :b1, 2024-02-15, 45d
Frontend Development :b2, after b1, 30d
Integration :b3, after b2, 15d
section Testing
QA Testing :c1, after b3, 20d
User Acceptance :c2, after c1, 10d
Launch :milestone, after c2, 0d
Data visualization:
pie title Browser Usage
"Chrome" : 65
"Firefox" : 15
"Safari" : 12
"Edge" : 5
"Other" : 3
Branch visualization:
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
merge develop
commit
commit
Entity relationships:
erDiagram
CUSTOMER ||--o{ ORDER : places
CUSTOMER {
string name
string custNumber
string sector
}
ORDER ||--|{ LINE-ITEM : contains
ORDER {
int orderNumber
string deliveryAddress
}
LINE-ITEM {
string productCode
int quantity
float pricePerUnit
}
Journey map:
journey
title My working day
section Go to work
Make tea: 5: Me
Go upstairs: 3: Me
Do work: 1: Me, Cat
section Go home
Go downstairs: 5: Me
Sit down: 5: Me
Glass Effect:
graph LR
A --> B
B --> C
C --> A
Elevated:
graph TD
Start --> Stop
Control diagram container size:
```mermaid {sm} # Small (max-width: 640px)
```mermaid {md} # Medium (768px, default)
```mermaid {lg} # Large (1024px)
```mermaid {xl} # Extra Large (1280px)
Performance:
Features:
Enterprise-Grade Accessibility:
<title>
and <desc>
elementsrole="img"
Compile-time LaTeX to MathML conversion with zero runtime JavaScript.
Zero Overhead: MathML is generated at compile time. No JavaScript libraries loaded in browser!
Write beautiful mathematical equations using standard LaTeX syntax. Rendered as native MathML for perfect rendering in modern browsers:
Inline Math: The quadratic formula is fundamental in algebra.
Display Math (Centered):
Use single $
delimiters for inline equations:
Einstein's $E = mc^2$ changed physics.
Result: Einstein's changed physics.
Use double $$
for centered display equations:
$$
\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}
$$
Result:
Greek letters: , , , , ,
Special symbols: , , , , , ,
Simple: , ,
Complex: ,
Fraction:
Roots: , ,
Sum of natural numbers:
Product notation:
Definition of derivative:
Fundamental theorem:
Identity matrix:
Often called the most beautiful equation in mathematics:
The probability density function:
The foundations of electromagnetism:
+
, -
, \times
, \div
\pm
, \mp
=
, \neq
<
, >
, \leq
, \geq
\frac{a}{b}
- Fractions\sqrt{x}
- Square root\sqrt[n]{x}
- Nth rootx^2
, x_i
- Exponents/subscripts\sum
, \prod
, \int
\lim
, \log
, \sin
, \cos
\begin{bmatrix}
- Matrices\begin{aligned}
- AlignmentPerformance:
Features:
Modern Browser Support:
Accessibility:MathML provides semantic meaning for screen readers, making equations accessible to all users.
Tips for Beautiful Math:
$$
) for important equations$
) for simple formulas in text\begin{aligned}
for equation systems\,
\:
\;
\quad
where neededChronological visualization of events and milestones with state management.
Perfect For: Project roadmaps, company history, process workflows, and event chronologies!
Display events in chronological order with visual state indicators and connecting lines. H2 headings automatically become milestones:
This milestone is marked as completed with a checkmark.
This milestone is marked as current with a pulsing dot.
This milestone has no state (pending by default).
:::timeline
## Milestone Title {state}
Content for this milestone goes here.
- List items
- More details
## Next Milestone {state}
More content...
:::
H2 headingsbecome milestones automatically.
Add state markers to milestones:
{completed}
- Green checkmark ✓{current}
- Pulsing dot ●## Done {completed}
## Active {current}
## Todo
Default (Vertical)
Left-aligned milestones with connecting line
:::timeline
## Milestone 1
:::
Centered
Alternating left/right alignment
:::timeline {centered}
## Milestone 1
:::
Compact
Smaller markers, tighter spacing
:::timeline {compact}
## Milestone 1
:::
Glass Effect
Glassmorphism on content
:::timeline {glass}
## Milestone
:::
Elevated
Shadow elevation
:::timeline {elevated}
## Milestone
:::
Bordered
Primary color border
:::timeline {bordered}
## Milestone
:::
A typical project timeline with phases and current status:
Duration: 4 weeks | Status: ✓ Complete
Initial planning and requirements gathering phase.
Key Deliverables:
"Understanding the problem is half the solution"
Duration: 6 weeks | Status: ✓ Complete
Created comprehensive designs and interactive prototypes.
Achievements:
Team: 3 designers, 1 UX researcher
Duration: 12 weeks | Status: 🔄 In Progress (Week 7)
Building core features and functionality.
Current Sprint Focus:
Tech Stack:
Progress: 60% complete
Duration: 4 weeks | Status: ⏳ Upcoming
Comprehensive testing and quality assurance phase.
Testing Plan:
Duration: 2 weeks | Status: ⏳ Planned
Final deployment and go-live.
Launch Checklist:
Centered layout for alternating presentation:
Company founded with initial seed funding of $1M.
Founders: Alex Kim, Sarah Chen, Michael Rodriguez
Mission: Transform how teams collaborate on complex projects.
Launched MVP and acquired first 100 customers.
Metrics:
Closed $10M Series A led by Accel Partners.
Achievements:
Expanding into EMEA and APAC markets.
Current Status:
Planning initial public offering.
Targets:
Compact timeline for dense information:
Team Standup Meeting
Daily sync - 15 minutes
Client Presentation
Q4 roadmap review with Acme Corp
Lunch Break
Team lunch at the new cafe
Code Review Session
Review PRs from morning work
1-on-1 with Manager
Quarterly goal check-in
Sprint Planning
Plan next week's sprint
Timeline for documenting multi-stage processes:
Goal: Build brand recognition and attract potential customers.
Tactics:
KPIs:
Goal: Convert awareness into qualified leads.
Tactics:
KPIs:
Goal: Nurture leads and demonstrate value.
Tactics:
KPIs:
Goal: Close deals and onboard customers.
Tactics:
KPIs:
Goal: Keep customers happy and turn them into advocates.
Tactics:
KPIs:
Visual Features:
Best Practices:
Use Cases:
Accessibility:
Components for site navigation and wayfinding.
Modern navigation bar with glassmorphism and responsive behavior.
Live Example: The navbar at the top of this page is a working Taildown navbar!
The navbar uses a heading for branding and paragraph links for navigation:
:::navbar
# Brand Name
[Home](/) [About](/about) [Docs](/docs) [Contact](/contact)
:::
Automatic Theming:
Scroll Behavior:
:::navbar
# Site Name
[Link 1](#) [Link 2](#) [Link 3](#)
:::
Best Practices:
Variants: glass
(default) solid
minimal
floating
Powerful layouts using multiple components together.
Combine grids, cards, and icons for stunning feature sections:
Lightning Fast
Sub-100ms compilation targets
Beautiful Design
Zero-config glassmorphism
Simple Syntax
Plain English styling
Rich Components
Interactive with auto JS
Full Theming
Dark mode everywhere
Accessible
ARIA and keyboard nav
Combine cards, tabs, and alerts for rich documentation:
New to Taildown? Start here for a quick introduction!
Quick Steps:
npm install @taildown/cli
.td
filetaildown compile file.td
Common patterns at a glance:
Syntax | Purpose |
---|---|
{large-bold} |
Plain English styling |
:icon[name] |
Inline icons |
:::component |
Component blocks |
[Text](#){button} |
Button links |
All available components:
Cards, buttons, and icons create compelling CTAs:
Ready to build something amazing?
Get started with Taildown in 5 minutes. No configuration, no complexity - just beautiful results.
Accordion inside a card for elegant FAQs:
Taildown is in active development with strong stability focus. The core syntax is stable and backwards compatibility is a priority. Many features are production-ready while others are being refined.
Does it work with existing Markdown?
Yes! Taildown is a superset of Markdown. Every valid Markdown document is also valid Taildown. You can gradually add Taildown features to existing content.
What about bundle size?
Taildown uses tree-shaking to include only JavaScript for components you actually use. Documents with no interactive components generate zero JS. Full component usage is typically 2-5KB minified.
Can I customize the styling?
Absolutely! The generated CSS can be extended or overridden. You can use custom CSS classes alongside Taildown's plain English shorthands.
How does it compare to MDX?
Taildown focuses on zero-config simplicity with plain English syntax, while MDX focuses on JSX integration. Taildown is markup-first, MDX is component-first. Choose based on your needs!
Every component at a glance:
You've mastered every component!
Now start building your own beautiful documents.