> ## Documentation Index
> Fetch the complete documentation index at: https://docs.calit.now/llms.txt
> Use this file to discover all available pages before exploring further.

# Web component

> Use the cal-it element and choose what appears in its menu.

Load the module once and put an element anywhere you want a button:

```html theme={null}
<script type="module" src="https://oxhq.github.io/calit-now/dist/cal-it.js"></script>
<cal-it title="Design night"
        start="2027-04-10T18:00"
        end="2027-04-10T20:00"
        timezone="America/Tijuana"
        lang="es-MX"></cal-it>
```

## Attribute reference

| Attribute | Required? | Meaning |
| - | - | - |
| `title` | Yes | Plain-text event name. A blank title is invalid. |
| `start` | Yes | A date or ISO date and time. |
| `end` | Timed events | Exclusive end date for all-day events; otherwise the end time. A one-day event may omit this. |
| `timezone` | For times without offsets | IANA identifier, such as `America/Tijuana`. |
| `location`, `description` | No | Plain text. Keep public embeds free of sensitive information. |
| `lang` | No | English by default; Spanish via `es` or `es-MX`. |
| `button` | No | Overrides the trigger label, not the provider labels. |
| `providers` | No | Ordered list; default `google,outlook,yahoo,ics`. An empty value omits built-in providers. |
| `uid` | No | Identity written to the iCalendar file; not an event URL or sync token. |

All attributes can be set in the quick embed fragment. Change attributes on an existing element to change its future links and downloads. An already-saved event remains an independent copy.

## Add an RSVP or ticket link

```html theme={null}
<cal-it title="Open studio" start="2027-04-10"
        providers="google,ics" button="Event options">
  <a slot="actions" href="/rsvp">RSVP for open studio</a>
</cal-it>
```

Use an ordinary link for navigation and `<button slot="actions" type="button">` for an action handled by your JavaScript. Custom actions appear after providers in markup order. Use `providers=""` for custom actions only. The element still needs a valid title and date. The one-line fragment accepts event settings, not custom HTML.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.