Kinetik UI

Agenda Card

.md

A day-at-a-glance widget: the date lit by a blue glow, events sliding in, and a bar that fills for the one under way.

v1.0.0Live on webreact-native-reanimatedreact-native-svgreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add agenda-card

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/agenda-card.json

Install manually

  1. Install dependencies
    npx expo install react-native-reanimated react-native-svg react-native-worklets
  2. Copy the source files
    • components/kinetik/agenda-card.tsx
    View source files

Usage

import { AgendaCard } from '@/components/kinetik/agenda-card';

<AgendaCard
  date="Oct 30"
  weekday="Thursday"
  events={[
    { id: '1', title: 'Team standup', start: '09:30', end: '09:45' },
    { id: '2', title: 'Deep work', start: '10:00', end: '12:00', progress: 0.4 },
    { id: '3', title: 'Design review', start: '13:30', end: '14:30' },
  ]}
  onAdd={openNewEvent}
  onEventPress={(e) => router.push(`/events/${e.id}`)}
/>;

When to use

  • A home-screen style glance at today: the date, a count and the next few events.

When not to use

  • Full calendars or long agendas: use Month Calendar or Timeline.

Notes

  • The first limit events are listed (3 by default). total sets the count on the date panel when the day has more.
  • Give the event under way a progress (0–1): its bar dims and fills to match, and screen readers hear "now".
  • Events added later slide in at once; the ones there from the start stagger in.
  • The card is night-blue on both themes so the glow reads. The add button only shows with onAdd.

Props

AgendaCardProps

PropTypeDefaultDescription
daterequiredstring—The big date, e.g. "Oct 30".
weekdayrequiredstring—The day under it, e.g. "Thursday".
eventsrequiredreadonly AgendaEvent[]—Events in order. The first `limit` are listed.
totalnumber—How many events the day has, if more than are listed. Defaults to `events.length`.
limitnumber3Most events listed at once. Defaults to 3.
headingstring'Upcoming'Heading over the list. Defaults to "Upcoming".
onAdd() => void—Shows the round add button.
onEventPress(event: AgendaEvent) => void—
hapticsbooleantrueA tap on add. Defaults to true.
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
The glow, rows and fill run short UI-thread springs and timings on arrival and on change. Nothing animates at rest.
Measured

Pixel 9 emulator, API 35, release build · interaction median 1.00× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 150 MB app memory

Real-device measurement pending.

Accessibility

Reduced motion
The glow, rows and fills appear in place; the add button does not turn.
Screen readers
The date reads as one line ("Thursday, Oct 30, 6 events"), each event as one line ("Focus Time, 11:00 to 13:00, now"), and the add button as "Add event".
Touch target
Event rows are at least 44 pt tall; the add button is 48 pt.

Source files

components/kinetik/agenda-card.tsx is in the Code tab of the preview above.