A next-generation tool to create blazing-fast documentation sites
API
created:3/5/2021
updated:3/5/2021

Controls

Kitchen Sink

Complex story with a variety of control types.

My name is Storyteller, I'm 78 years old, and my favorite fruit is apple. I also enjoy watermelon, and hanging out with my dog Sparky

My birthday is: January 31, 1990 at:12:00:00 AM

I live in NY for 9 years.

My wallet contains: $12.50

In my backpack, I have:

  • Laptop
  • Book
  • Whiskey

Nice to meet you!

When I am happy I look like this: happy

Name
Description
Default
Controls
General(5 properties)
Name
text
Storyteller
Age
number
78
078 / 90
Birthday
date
"1990-01-31T22:00:00.000Z"
Dollars
number
12.5
Years in NY
number
9
Favorites(5 properties)
Display(4 properties)

Stories

Text Default Prop

A simple story that just returns the text parameter

Hello

XSS Safety

<img src="x" onerror="alert('XSS Attack')" >

Generate Random Data

Story using the

data
field of
controls
to generate streetAddress random data.

30333 Atlantic Ave.

Random Number

Story using the

data
field of
controls
to generate random number with min/max parameters.

10

Grouped Controls

Controls grouped in multiple tabs.

I am James and I'm 35 years old. Hello!

Order Controls

Controls grouped in multiple tabs.

I am James and I'm 35 years old. Hello!

With Hooks

Dynamic controls - you can update the control's value directly from a hook in the story function.