Change request
Start:{{ range[0] }}; end:{{ range[1] || 'choose an end date' }}
``` ### Date and timezone for scheduling Keep the chosen local date and IANA zone separate; an existing instant can be displayed in that zone with Intl. ```vueChosen date: {{ schedulingInput.localDate }} in {{ schedulingInput.timeZone }}
Existing appointment in that zone: {{ existingLocalTime }}
``` ## Locale and time zones These calendars share one selected `YYYY-MM-DD` date. Locale changes the displayed month and day names; `firstDayOfWeek` changes the grid. The underlying date value remains the same. Calendar renders Gregorian dates; setting a locale does not switch calendar systems. An event at `2026-10-12T23:30:00Z` lands on different local dates. Calendar does not convert instants; choose and store an IANA time zone in your application when scheduling events. This demonstration compares America/New_York, Europe/Luxembourg, and Asia/Tokyo using `Intl.DateTimeFormat`. ## Complete API Every public prop, model, event, slot, and exposed member of the installed Vue parts is listed below. “Not set” means you can leave that value out; “Required” means you must provide it. Native HTML attributes also work where the component uses a native element. ### Calendar | Name | Kind | Type or signature | Default | What it does | | --- | --- | --- | --- | --- | | referenceDate | prop | string \| undefined | Not set | Serialized civil date shared by server and client for deterministic initial rendering. | | mode | prop | "single" \| "range" \| undefined | "single" | Choose the selection or display mode. | | min | prop | string \| undefined | Not set | Smallest allowed value. | | max | prop | string \| undefined | Not set | Largest allowed value. | | disabled | prop | boolean \| undefined | Not set | Prevent interaction and show the disabled state. | | readonly | prop | boolean \| undefined | Not set | Show the value while preventing edits. | | locale | prop | string \| undefined | Not set | Choose the language and regional formatting for dates or text. | | firstDayOfWeek | prop | 0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined | 1 | Choose which weekday begins each calendar row. | | messages | prop | CalendarMessages | Required | Supply the text this component displays for its built-in actions and states. | | modelValue | model | CalendarValue \| undefined | Not set | Current value. Use v-model to keep it in sync with your page. | | update:modelValue | event | [value: CalendarValue \| undefined] | — | Requests a new model value from the parent. | | element | exposed | HTMLElement \| null | — | Reference to the underlying HTML element. | | focus | exposed | () => void \| undefined | — | Move keyboard focus to this control. | ### Public types ```ts // packages/frameworks/vue/components/calendar/types.ts export type CalendarRange = [start: string, end: string] export type CalendarValue = string | CalendarRange export interface CalendarMessages { previousMonth: string nextMonth: string } export interface CalendarProps { /** Serialized civil date shared by server and client for deterministic initial rendering. */ referenceDate?: string mode?: 'single' | 'range' min?: string max?: string disabled?: boolean readonly?: boolean locale?: string firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6 messages: CalendarMessages } ``` ## Implementation notes - Calendar stores Gregorian YYYY-MM-DD dates, not timezone-aware instants or dates in another calendar system. Locale affects month/day labels, while firstDayOfWeek sets the grid order. - To create an instant from a chosen local date, combine it with a wall-clock time and IANA timezone in your application or backend and resolve daylight-saving gaps or overlaps. Intl formats an existing instant in a zone; it does not turn a date-only Calendar value into an instant. ## Accessibility and localization - Give each inline calendar a surrounding accessible name and translate previous/next month messages. The roving day button supports arrows, Home/End, and Page Up/Down. [Source contract and editing guidance](https://github.com/weini-org/weiniUI/blob/develop/packages/frameworks/vue/components/calendar/README.md) --- # Card A composable surface for related content and actions. ## Interactive showcase ## Install Run in your project **npm** ```sh npx @getweini/cli@latest add card ``` **pnpm** ```sh pnpm dlx @getweini/cli@latest add card ``` **yarn** ```sh yarn dlx @getweini/cli@latest add card ``` **bun** ```sh bunx --bun @getweini/cli@latest add card ``` ## Start with this example Import the files copied by the install command, then place the component in your Vue template. The text and values in the example belong to your app; change them to fit your task. ```vueShowing{{ slides[index] }}
{{ quote }}
Owner: Ana Martins
Status: In review
Owner: Ana Martins
Status: In review
Mention a teammate with @ or link an issue with #. Attachments are ready to send with your message.
The microphone demonstrates the adapter with sample text. Your application supplies speech recognition.
The dictation adapter above inserts sample text. Connect your preferred speech service for real dictation.
Last sent:{{ sentText }}
The application reports each upload state. Sending becomes available when all attached files are ready.
Each Alex keeps a separate record ID. Edit or remove either reference without changing the other.