wiremd Syntax Guide & Component Showcase

Welcome to the comprehensive wiremd syntax guide! This document serves as both a reference and tutorial for all supported components and patterns.

💡 Tip: Use this document as a reference when creating your wireframes. Each section includes syntax examples and best practices.

🎨 Visual Styles: This showcase is available in 7 different styles:

Table of Contents

Quick Links:


📝 Standard Markdown Support

wiremd supports all standard Markdown syntax including:

The sections below focus on wiremd's unique UI component syntax for designing wireframes.


🔘 Buttons

Button Syntax

[Button Text]           # Default button
[Button Text]*          # Primary button (with asterisk)
[Button Text]{.class}   # Button with class

Basic Buttons

[Default Button]
[Primary Button]*
[Secondary Button]{.outline}

Rendered:

Button States

[Normal]
[Disabled]{state:disabled}
[Loading...]{state:loading}
[Active]{state:active}
[Success]{state:success}

Rendered:

Button Groups (Same Line)

[Save] [Cancel] [Reset]

Rendered:

Button Variants

[Primary Action]{variant:primary}
[Danger Action]{variant:danger}
[Secondary Action]{variant:secondary}

Rendered:


📋 Forms & Inputs

Text Input Syntax

âš ī¸ Important Rule: Label must be DIRECTLY above input (no blank line between them)

# ✅ Correct - Label touches input
Username
[_____________________________]

# ❌ Wrong - Blank line breaks association
Username

[_____________________________]

Text Inputs with Labels

Username
[_____________________________]

Email Address
[_____________________________] {type:email}

Password
[********] {type:password}

Phone Number
[_____________________________] {type:tel}

Rendered:

Username
Email Address
Password
Phone Number

Input Width Control

Age
[___]

Zip Code
[_____]

Full Name
[_____________________________]

Rendered:

Age
Zip Code
Full Name

Input with Placeholder Text

âš ī¸ Note: Placeholder syntax is currently parsed as buttons. This is a known limitation that will be fixed in a future version.

[Enter your username___________]
[Search products...___________] {type:search}
[your.email@example.com_______] {type:email}

Input Types & Attributes

Date of Birth
[_____________________________] {type:date}

Quantity
[1___] {type:number min:1 max:100}

Website
[https://___________] {type:url}

Time
[_____________________________] {type:time}

Rendered:

Date of Birth
Quantity
Website
Time

Input States

Normal Field
[_____________________________]

Disabled Field
[Cannot edit___________] {state:disabled}

Required Field
[_____________________________] {required:true}

Error State
[Invalid input_________] {state:error}

Rendered:

Normal Field
Disabled Field
Required Field
Error State

Textarea (Multi-line)

Comments
[Share your thoughts...] {rows:4}

Description
[Describe your project in detail...] {rows:6 cols:60}

Rendered:

Comments
Description

Checkboxes

Select options:
- [x] Option 1 (selected)
- [ ] Option 2
- [ ] Option 3
- [x] Option 4 (selected)

Rendered:

Radio Buttons

- (*) Free Plan
- ( ) Pro Plan ($9/mo)
- ( ) Enterprise (Contact us)

Rendered:

Dropdown/Select

Country
[Select your country...v]
- United States
- Canada
- United Kingdom
- Australia
- Other

Rendered:

Country

đŸ—‚ī¸ Navigation

Navigation Bar Syntax

[[ Item1 | Item2 | Item3 ]]         # Basic nav
[[ Logo | Item1 | Item2 | [Button] ]] # With button
[[ :icon: Brand | Item1 | *Active* ]] # With icon & active

Examples

[[ Home | Products | Services | About | Contact ]]

[[ :logo: MyApp | Home | Features | Pricing | [Sign In] | [Get Started]* ]]

[[ Logo | Home | *Products* | About | Contact ]]

Rendered:

Breadcrumbs

[[ Home > Products > Electronics > Laptops ]]

Rendered:


đŸ“Ļ Containers

Container Syntax

::: container-type
Content goes here
:::

Card Container

::: card
### Card Title
Card content with any components.

[Card Action]
:::

Rendered:

Card Title

Card content with any components.

Hero Section

::: hero
# Welcome Hero Title
Compelling hero description text.

[Primary CTA]* [Secondary CTA]
:::

Rendered:

Welcome Hero Title

Compelling hero description text.

Alert Types

::: alert success
✅ **Success!** Operation completed successfully.
:::

::: alert info
â„šī¸ **Info:** Here's some useful information.
:::

::: alert warning
âš ī¸ **Warning:** Please review before proceeding.
:::

::: alert error
❌ **Error:** Something went wrong. Please try again.
:::

Rendered:

✅Success!Operation completed successfully.

â„šī¸Info:Here's some useful information.

âš ī¸Warning:Please review before proceeding.

❌Error:Something went wrong. Please try again.

Modal Dialog

::: modal
### Confirm Delete
Are you sure you want to delete this item?

[Delete]* [Cancel]
:::

Rendered:

Confirm Delete

Are you sure you want to delete this item?

Sidebar

::: sidebar
#### Navigation
- Dashboard
- Profile
- Settings
- Logout
:::

Rendered:

Navigation

Footer

::: footer
[[ Privacy | Terms | Contact ]]
Š 2025 Company. All rights reserved.
:::

Rendered:


đŸ—ī¸ Grid Layouts

Grid Syntax

## Title {.grid-N}  # Where N is number of columns
### Column 1 content
### Column 2 content

2-Column Grid

## Pricing {.grid-2}

### Free Plan
- 10 GB Storage
- Basic Support
- 5 Users

[Choose Free]

### Pro Plan
- Unlimited Storage
- Priority Support
- Unlimited Users

[Choose Pro]*

Rendered:

Free Plan

Pro Plan

3-Column Grid

## Features {.grid-3}

### :rocket: Fast
Lightning quick performance

### :shield: Secure
Bank-level security

### :gear: Flexible
Fully customizable

Rendered:

🚀 Fast

Lightning quick performance

đŸ›Ąī¸ Secure

Bank-level security

● Flexible

Fully customizable

4-Column Grid

## Stats {.grid-4}

### Users
10,000+

### Projects
500+

### Countries
50+

### Uptime
99.9%

Rendered:

Users

10,000+

Projects

500+

Countries

50+

Uptime

99.9%


📊 Tables

Basic Table

| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Cell 1-1 | Cell 1-2 | Cell 1-3 |
| Cell 2-1 | Cell 2-2 | Cell 2-3 |
| Cell 3-1 | Cell 3-2 | Cell 3-3 |

Rendered:

Column 1 Column 2 Column 3
Cell 1-1 Cell 1-2 Cell 1-3
Cell 2-1 Cell 2-2 Cell 2-3
Cell 3-1 Cell 3-2 Cell 3-3

With Alignment

| Left | Center | Right |
|:-----|:------:|------:|
| Left | Center | Right |
| Text | Text   | Text  |

Rendered:

Left Center Right
Left Center Right
Text Text Text

🎨 Icons

Icon Syntax

:icon-name:       # In text
:icon{name}       # With attributes

Common Icons

:home: Home
:user: User
:settings: Settings
:star: Star
:heart: Heart
:search: Search

Rendered:

🏠 Home

👤 User

âš™ī¸ Settings

⭐ Star

â¤ī¸ Heart

🔍 Search

Icons in Headings

### :rocket: Launch Features
#### :bulb: Bright Ideas

Rendered:

🚀 Launch Features

💡 Bright Ideas


đŸŽ¯ Component States

Loading State

::: loading-state
Loading your content...
:::

Rendered:

Loading your content...

Empty State

::: empty-state
No items found
[Add First Item]
:::

Rendered:

No items found

Error State

::: error-state
Unable to load data
[Retry]
:::

Rendered:

Unable to load data

đŸŽ›ī¸ Interactive Components

Tabs (Syntax Example - Not Yet Implemented)

::: tabs
::: tab "Overview" active
Overview content here
:::
::: tab "Details"
Details content here
:::
::: tab "Settings"
Settings content here
:::
:::

Accordion (Syntax Example - Not Yet Implemented)

::: accordion
::: accordion-item "Section 1" expanded
First section content
:::
::: accordion-item "Section 2"
Second section content
:::
:::

✅ Common Patterns & Best Practices

Complete Form Example

User Registration

First Name
Last Name
Email
Password
Country

Account Type

Terms

Dashboard Layout

Analytics Dashboard

Revenue

$45,231

Orders

1,234

Customers

892

Growth

+12.5%

Recent Activity

Time User Action Status
2m ago John Purchase Success
5m ago Jane Login Success
10m ago Bob Update Pending

🚀 Complete Page Example

Project Management Dashboard

Active Projects

Manage your team's projects efficiently Track progress, assign tasks, collaborate

Total

42

Active

28

Completed

12

On Hold

2

Current Sprint

Sprint 23 Progress

This Week's Tasks

Task Assignee Status Priority
Design mockups Alice In Progress High
API integration Bob Complete Medium
Testing Charlie Pending High
Documentation Dana In Progress Low

➕ Create

New Task
Assign to

🔍 Find

Search tasks

Filter by

🔔 Notifications

Page Footer


This showcase serves as a complete syntax reference for wiremd. Copy and modify these examples to create your own wireframes quickly!