Skip to content

Date โ€‹

...

Browser support โ€‹

...

Parameters โ€‹

...

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescription
valuestringThe date to be displayed in the component.
weekdaystring

The weekday to be displayed in the component. Possible values are: long, short and narrow.

localestringThe locale to be used. If not set, the default locale of the browser will be used.
with-weekdaybooleanIf `true`, only the weekday will be displayed.

Playground โ€‹

Customization โ€‹

HTML Examples โ€‹

Imports
Code