Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProAn event with a zone that produces a Google Calendar link and a downloadable .ics file with correct UTC times, escaped text and folded lines. Use this when an event page should let people put the event in their own calendar in one click.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it when an event page should let people put the event in their own calendar in one click.
Do not use it to read a calendar; it only creates the event data.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
| event | { title; start; end; zone; description?; location? } | - | start and end are local date-times in zone. |
| now | string | clock | Used for DTSTAMP, so output can be fixed in tests. |
| fileName | string | event.ics | Name of the download. |
rel="noopener noreferrer" and says so.The pattern ships with a Testing Library test (add-to-calendar-links.test.tsx) that covers the ICS text, escaping, line folding, UTC conversion across zones and the Google URL.