MCPcopy Index your code
hub / github.com/MarceloPrado/flash-calendar

github.com/MarceloPrado/flash-calendar @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
147 symbols 489 edges 79 files 1 documented · 1% updated 4mo ago@marceloterreiro/flash-calendar@2.0.0 · 2026-03-04★ 1,4989 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

React Native Flash Calendar

npm npm runs with expo

This is the monorepo for Flash Calendar, an incredibly fast and flexible library to build calendars in React Native.

Documentation & Examples

You can find the Flash Calendar documentation on the website.

Installation

This project uses Bun as its package manager. The first thing you'll need is to install Bun.

To install dependencies, run at the root:

bun install

To build (required for a fresh install)

bun run build

To develop or run the example app:

bun dev

To run the documentation website:

bun docs

Contributing

Ensure your changes are unit-tested. To improve DX, run the tests in watch mode with bun test --watch. You can also run the tests for a specific file with bun test --watch {filename}.

Package structure

/apps

  • /apps/example: Storybook host for Flash Calendar, runs with the latest uncompiled code.
  • /apps/docs: The documentation website for Flash Calendar.

/kitchen-sink

A place to test the published Flash Calendar in a real environment.

  • /kitchen-sink/expo: Scaffolded expo project to test the flash calendar in a real environment.

/packages

The actual src code for Flash Calendar:

  • /packages/flash-calendar: The flash calendar package itself.
  • /packages/eslint-config: Shared eslint config for the project.
  • /packages/tsconfig: Shared tsconfig for the project.

License

Flash Calendar is MIT licensed.

Extension points exported contracts — how you extend this code

CalendarDayStateFields (Interface)
All fields that affects the day's state.
packages/flash-calendar/src/hooks/useCalendar.ts
WindowsXpCalendarProps (Interface)
(no doc)
apps/example/src/components/ThemeableCalendar/WindowsXpCalendar/WindowXpCalendar.tsx
VStackProps (Interface)
(no doc)
apps/docs/src/components/VStack.tsx
BottomSheetFlashListMethods (Interface)
(no doc)
kitchen-sink/expo/src/components/BottomSheetFlashList/BottomSheetFlashList.tsx
CalendarItemNamespace (Interface)
(no doc)
packages/flash-calendar/src/components/index.ts
HStackProps (Interface)
(no doc)
apps/docs/src/components/HStack.tsx
CalendarRowNamespace (Interface)
(no doc)
packages/flash-calendar/src/components/index.ts
FeatureItem (Interface)
(no doc)
apps/docs/src/components/HomepageFeatures/index.tsx

Core symbols most depended-on inside this repo

toDateId
called by 100
packages/flash-calendar/src/helpers/dates.ts
fromDateId
called by 87
packages/flash-calendar/src/helpers/dates.ts
pipe
called by 39
packages/flash-calendar/src/helpers/functions.ts
addDays
called by 29
packages/flash-calendar/src/helpers/dates.ts
differenceInMonths
called by 22
packages/flash-calendar/src/helpers/dates.ts
buildCalendar
called by 22
packages/flash-calendar/src/hooks/useCalendar.ts
startOfMonth
called by 20
packages/flash-calendar/src/helpers/dates.ts
useDateRange
called by 17
packages/flash-calendar/src/hooks/useDateRange.ts

Shape

Function 112
Interface 35

Languages

TypeScript100%

Modules by API surface

packages/flash-calendar/src/helpers/dates.ts13 symbols
packages/flash-calendar/src/hooks/useCalendar.ts10 symbols
packages/flash-calendar/src/components/CalendarList.stories.tsx10 symbols
packages/flash-calendar/src/components/CalendarItemDay.tsx10 symbols
packages/flash-calendar/src/helpers/dates.test.ts9 symbols
packages/flash-calendar/src/hooks/useCalendarList.tsx7 symbols
packages/flash-calendar/src/components/CalendarList.tsx7 symbols
packages/flash-calendar/src/components/Calendar.stories.tsx7 symbols
apps/example/src/components/GithubIssues/CalendarListGithubIssues.stories.tsx5 symbols
packages/flash-calendar/src/components/VStack.tsx4 symbols
packages/flash-calendar/src/hooks/useOptimizedDayMetadata.ts3 symbols
packages/flash-calendar/src/developer/decorators.tsx3 symbols

For agents

$ claude mcp add flash-calendar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact