{"id":15481245,"url":"https://github.com/gfazioli/mantine-flip","last_synced_at":"2026-04-01T23:14:13.523Z","repository":{"id":220964419,"uuid":"753039589","full_name":"gfazioli/mantine-flip","owner":"gfazioli","description":"A Mantine UI Library Extension Flip component","archived":false,"fork":false,"pushed_at":"2026-03-28T09:24:29.000Z","size":28440,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-28T13:54:34.509Z","etag":null,"topics":["component","flip","mantine","mantine-ui","mantine-v7","mantine-v8","nextjs","reactjs","typescipt"],"latest_commit_sha":null,"homepage":"https://gfazioli.github.io/mantine-flip/","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/gfazioli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["gfazioli"]}},"created_at":"2024-02-05T10:54:21.000Z","updated_at":"2026-03-28T09:23:45.000Z","dependencies_parsed_at":"2024-06-10T09:50:41.948Z","dependency_job_id":"5f6556ee-420c-4cc6-b741-4bb84ee1b757","html_url":"https://github.com/gfazioli/mantine-flip","commit_stats":{"total_commits":63,"total_committers":2,"mean_commits":31.5,"dds":0.07936507936507942,"last_synced_commit":"455ba6bfd92616e3cb99442e8da5d1e44abcfeec"},"previous_names":["gfazioli/mantine-flip"],"tags_count":70,"template":false,"template_full_name":"mantinedev/extension-template","purl":"pkg:github/gfazioli/mantine-flip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-flip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-flip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-flip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-flip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfazioli","download_url":"https://codeload.github.com/gfazioli/mantine-flip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-flip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31292846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T21:15:39.731Z","status":"ssl_error","status_checked_at":"2026-04-01T21:15:34.046Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["component","flip","mantine","mantine-ui","mantine-v7","mantine-v8","nextjs","reactjs","typescipt"],"created_at":"2024-10-02T05:02:53.336Z","updated_at":"2026-04-01T23:14:13.514Z","avatar_url":"https://github.com/gfazioli.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gfazioli","https://github.com/sponsors/gfazioli?o=esc"],"categories":[],"sub_categories":[],"readme":"# Mantine Flip Component\n\n\u003cimg alt=\"Mantine Flip\" src=\"https://github.com/gfazioli/mantine-flip/blob/master/logo.jpeg\" /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-flip?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-flip)\n  [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-flip?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-flip)\n  [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-flip?style=for-the-badge\u0026label=%20\u0026color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-flip)\n  ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-flip?style=for-the-badge)\n\n---\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)  \n\n\u003c/div\u003e\n\n## Overview\n\nThis component is created on top of the [Mantine](https://mantine.dev/) library.\nIt requires **Mantine 9.x** and **React 19**.\n\n[Mantine Flip](https://gfazioli.github.io/mantine-flip/) is a two-face container that animates between a front and a back view, ideal for compact UIs that need progressive disclosure (e.g., editing panels, settings, sign-in/sign-up toggles, or profile details). It supports both uncontrolled usage with Flip.Target to wire any element as a click trigger, and controlled usage via flipped/defaultFlipped using React state for full synchronization with your app logic. The component enforces exactly two children, accepts size constraints (w/h), and offers transition customization such as vertical flipping and distinct rotation directions for flip-in and flip-out. Styling hooks (classNames/Styles API) let you target inner parts for design refinement, while examples demonstrate practical patterns like credit-card editing, modal-like settings panes, and multi-target triggers within a single face.\n\n\u003e [!note]\n\u003e\n\u003e → [Demo and Documentation](https://gfazioli.github.io/mantine-flip/) → [Youtube Video](https://www.youtube.com/playlist?list=PL85tTROKkZrWyqCcmNCdWajpx05-cTal4) → [More Mantine Components](https://mantine-extensions.vercel.app/)\n\n## Installation\n\n```sh\nnpm install @gfazioli/mantine-flip\n```\nor \n\n```sh\nyarn add @gfazioli/mantine-flip\n```\n\nAfter installation import package styles at the root of your application:\n\n```tsx\nimport '@gfazioli/mantine-flip/styles.css';\n```\n\n## Usage\n\n```tsx\nimport { Flip } from '@gfazioli/mantine-flip';\n\nfunction Demo() {\n  return (\n    \u003cFlip h={200} w={200}\u003e\n\n        \u003cPaper radius=\"md\" withBorder p=\"lg\" shadow=\"md\"\u003e\n          \u003ch3\u003eFront Card\u003c/h3\u003e\n          \u003cFlip.Target\u003e\n            \u003cButton\u003eFlip Back\u003c/Button\u003e\n          \u003c/Flip.Target\u003e\n        \u003c/Paper\u003e\n\n        \u003cPaper radius=\"md\" withBorder p=\"lg\" shadow=\"md\"\u003e\n          \u003ch3\u003eBack Card\u003c/h3\u003e\n          \u003cFlip.Target\u003e\n            \u003cButton\u003eFlip Front\u003c/Button\u003e\n          \u003c/Flip.Target\u003e\n        \u003c/Paper\u003e\n\n    \u003c/Flip\u003e\n  );\n}\n```\n\nAs you can see, the `Flip` component wraps two children, which are the two views that you want to flip between.\nThe `Flip.Target` component is used to define the trigger for the flip animation. It can be any component, such as a button, or a link, or even a div.\n\n## Sponsor\n\n\u003cdiv align=\"center\"\u003e\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\nYour support helps me:\n\n- Keep the project actively maintained with timely bug fixes and security updates\t\n- Add new features, improve performance, and refine the developer experience\t\n- Expand test coverage and documentation for smoother adoption\t\n- Ensure long‑term sustainability without relying on ad hoc free time\t\n- Prioritize community requests and roadmap items that matter most\n\nOpen source thrives when those who benefit can give back—even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.\n\nYour help truly matters.\n\n💚 [Become a sponsor](https://github.com/sponsors/gfazioli?o=esc) today and help me keep this project reliable, up‑to‑date, and growing for everyone.\n\n---\n\nhttps://github.com/user-attachments/assets/cc968450-9d8c-4b16-be58-a6766597742e\n\n---\n  \n[![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-flip\u0026type=Timeline)](https://www.star-history.com/#gfazioli/mantine-flip\u0026Timeline)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmantine-flip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfazioli%2Fmantine-flip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmantine-flip/lists"}