Widget Test Page

Widget System Testing

This page demonstrates the widget embedding system with type transformations.


Part 1: MDX Component Syntax

MDX allows using React components directly with JSX syntax. Props are typed natively.

Widget1 - Full Featured (MDX)

Unknown Widget: Widget1
{
  "title": "MDX Widget",
  "count": 123,
  "enabled": true,
  "tags": [
    "tag1",
    "tag2",
    "tag3"
  ],
  "colors": [
    "purple",
    "orange"
  ]
}

Widget1 - Disabled (MDX)

Unknown Widget: Widget1
{
  "title": "Disabled via MDX",
  "count": 0,
  "enabled": false
}

Widget1 - Arrays (MDX)

Unknown Widget: Widget1
{
  "title": "First MDX",
  "count": 10,
  "tags": [
    "tag1",
    "tag2"
  ],
  "colors": [
    "red",
    "pinky"
  ]
}

Unknown Widget - Placeholder Test (MDX)

Unknown Widget: UnknownMdxWidget
{
  "someParam": "test"
}

Part 2: HTML Tag Syntax (Braces parser)

Widgets can be embedded using [WidgetName param="value"] syntax. All values are strings and transformed by schema.

Widget1 - Basic Example

Test Widget

Count: 42

Status: ✓ Enabled

Widget1 - With All Parameters

Full Featured Widget

Count: 100

Status: ✓ Enabled

Tags:

tag1
tag2
tag3

Colors:

Widget1 - Single Array Value (forceArray test)

Single Tag

Count: 5

Status: ✓ Enabled

Tags:

solo-tag

Widget1 - Invalid Color Validation Test

This widget has invalid color values that should trigger Joi validation errors:

Invalid Colors Test

Count: 10

Status: ✓ Enabled

Colors:


Part 3: Iframe Embedding (External Sites)

Widgets can be embedded on external sites via iframe using /widgets/[WidgetName] route with URL query parameters.

Widget1 - Basic Iframe

Widget1 - With All Parameters

Widget1 - Disabled State

Unknown Widget - Error Handling


Part 4: Real life Widgets


Carousel Widget (Braces parser)

Grid Widget (Braces parser)
Filters: "rent", createdOnDesc, count=9, maxColumns=6

Contact Me

Gain a deeper understanding of Seattle's real estate market, find your dream home or sell your property.

or reach us at contact@defaultname.com | +1-555-555-5555

Follow Seattle Real Estate Trends

Join 2,000+ subscribers and get our 5-minute weekly newsletter on what's happening with Seattle real estate.


Display a single blog post in a horizontal card format.

Latest Blog Post (MDX)

Thirtheen

December 4, 2025

Donec ultrices ipsum id nisl finibus, id ullamcorper leo semper. Vestibulum auctor sapien ac laoreet ultrices. Nulla imperdiet posuere velit at tempor. Nulla viverra, metus et euismod feugiat, tellus erat ultrices risus, quis tempor leo magna sed nunc. Mauris posuere sit amet urna sit amet elementum. Nam non lacus at diam dapibus posuere sit amet […]

Read Full Article

Second Latest Post (Braces parser)

12th Post

December 4, 2025

Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vel porta metus, porta lobortis tellus. In venenatis, dui at maximus commodo, erat eros auctor enim, ac scelerisque dolor neque vel ex. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam auctor laoreet varius. Fusce id luctus felis. Morbi ac dignissim leo. Nunc gravida augue ante, […]

Read Full Article

Specific Post by Slug (Braces parser) w/ Custom Title

Post with slug "the-most-expensive-seattle-and-bellevue-condos" not found

Static Page by Slug (Braces parser)

Page with slug "seattle-floating-home-guide" not found


End of test page.

DEFAULTNAME

Our mission is to make the MLS more valuable while remaining committed to the needs of local markets. We do this by delivering exceptional customer service and striving for continuous innovation.

All rights reserved 2026 © DEFAULTNAME Inc.

Instant EstimatesTermsPrivacyCookies

Powered By Repliers Real Estate APIs