{"id":18782180,"url":"https://github.com/greon5/calendify-react","last_synced_at":"2026-05-08T15:42:08.868Z","repository":{"id":188351589,"uuid":"678581551","full_name":"GreoN5/calendify-react","owner":"GreoN5","description":"A comprehensive calendar UI library based on material-ui with the aim for different way of display and interaction with dates","archived":false,"fork":false,"pushed_at":"2023-12-31T10:46:38.000Z","size":797,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T07:47:41.061Z","etag":null,"topics":["javascript","material-ui-react","materialui","react","react-component","react-component-library","react-components","reactjs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GreoN5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-14T22:21:47.000Z","updated_at":"2023-09-01T22:59:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"73d3f6ab-4e85-40be-813c-0fbb569179f0","html_url":"https://github.com/GreoN5/calendify-react","commit_stats":null,"previous_names":["greon5/calendify-react"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/GreoN5/calendify-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreoN5%2Fcalendify-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreoN5%2Fcalendify-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreoN5%2Fcalendify-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreoN5%2Fcalendify-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GreoN5","download_url":"https://codeload.github.com/GreoN5/calendify-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GreoN5%2Fcalendify-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260468362,"owners_count":23013893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","material-ui-react","materialui","react","react-component","react-component-library","react-components","reactjs","typescript"],"created_at":"2024-11-07T20:35:17.468Z","updated_at":"2026-05-08T15:42:03.827Z","avatar_url":"https://github.com/GreoN5.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# calendify-react\n\n**calendify-react** is a comprehensive calendar UI library with the aim for different way of display and interaction\nwith dates\n\n## Installation\n\n**You can install Calendify React using npm:**\n\n```bash\nnpm install calendify-react\n```\n\n**Or using yarn:**\n\n```bash\nyarn add calendify-react\n```\n\n## Getting started with calendify-react\n\nHere is an example of a basic app using calendify-react's `Calendar` component:\n\n```jsx\nimport React from 'react';\nimport { Calendar } from 'calendify-react';\n\nfunction App() {\n  return \u003cCalendar /\u003e;\n}\n\nexport default App;\n```\n\n## Props\n\n`Calendar` component accepts the following props:\n\n- `useCheckbox` (boolean): A flag to indicate whether to use a checkbox for each calendar date. When set to `true`, the\n  checkbox will\n  be displayed.\n- `checkboxProps` (object): An object containing properties related to the checkbox.\n    - `onChange` (function): A callback function to be executed when the checkbox's value changes. This function should\n      accept\n      an event of type ChangeEvent\u003cHTMLInputElement\u003e, allowing you to access the checkbox's new state.\n\n### Example with `useCheckbox`:\n\n```jsx\nimport React from 'react';\nimport { Calendar } from 'calendify-react';\n\nfunction App() {\n  return (\n    \u003cCalendar\n      useCheckbox\n      checkboxProps={{\n        onChange: (e) =\u003e {\n          console.log(e.target.value)\n        },\n      }}\n    /\u003e\n  );\n}\n\nexport default App;\n```\n\n- `useModal` (boolean): A flag to indicate whether to use a modal for each calendar date. When set to `true`, a modal\n  button\n  will be\n  displayed.\n- `modalProps` (object): An object containing properties related to the modal.\n    - `modalContent` (ReactNode): Ability to add custom modal content to be displayed instead of the default\n      one.\n    - `onSaveChanges` (function): A callback function to be executed when changes are saved within the modal.\n\n### Example with `useModal`:\n\n```jsx\nimport React from 'react';\nimport { Calendar } from 'calendify-react';\n\nfunction App() {\n  return (\n    \u003cCalendar\n      useModal\n      modalProps={{\n        onSaveChanges: () =\u003e console.log('calendar modal'),\n      }}\n    /\u003e\n  );\n}\n\nexport default App;\n```\n\n### Example with custom `modalContent`:\n\n```jsx\nimport React from 'react';\nimport { Box, TextField } from '@mui/material';\nimport { Calendar } from 'calendify-react';\n\nfunction App() {\n  return (\n    \u003cCalendar\n      useModal\n      modalProps={{\n        modalContent: (\n          \u003cBox p={2}\u003e\n            \u003cTextField /\u003e\n          \u003c/Box\u003e\n        ),\n      }}\n    /\u003e\n  );\n}\n\nexport default App;\n```\n\n### Disclaimer\n\nPlease note that the `useCheckbox`, `checkboxProps`, `useModal` and `modalProps` props are mutually exclusive and should\nnot be used together. Choose either `useCheckbox`, `checkboxProps` or `useModal`, `modalProps` based on your component's\nfunctionality.\n\n## Storybook\n\n[Visit storybook](https://calendify-react-storybook.netlify.app/ \"Visit Storybook\")\n\n## Contributing\n\nContributions are welcome! If you have suggestions, bug reports, or feature requests, please open an issue or submit a\npull request.\n\n## License\n\nThis project is licensed under the terms of the\n[MIT license](/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreon5%2Fcalendify-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreon5%2Fcalendify-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreon5%2Fcalendify-react/lists"}