Formats

Some standard string formats are mapped to default rendering components.

These components can also be applied to strings without format information using the layout keyword.

Dates

There are default components for the standard date, time and date-time formats.

Notes about timezone management:

  • Date-Times are stored with the user's timezone offset (for example 2020-04-03T21:07:43+02:00 instead of the usual result of toISOString 2020-04-03T19:07:43.152Z, this gives more contextual information to your application
  • Times alone are stored without representing the offset but also without applying it in the first place. Meaning that if the user select 00:00 we will store 00:00:00Z whatever his timezone. This is because without the context of a date timezone management becomes meaningless.

Colors

Use the component color-picker to input CSS colors (hex, rgb, etc).

Markdown

Use the markdown component name to provide your users with a rich editor experience.