Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

improvement(frontend): upgrade framer-motion to motion (#8033)

claude[bot]c4a3a1cdf68a
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index 2671c70c67..69a9c885d0 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -78,12 +78,12 @@
"diff": "^8.0.3",
"dompurify": "^3.2.4",
"file-saver": "^2.0.5",
- "framer-motion": "^11.14.1",
"i18next": "^24.1.0",
"i18next-http-backend": "^3.0.1",
"jwt-decode": "^4.0.0",
"lexical": "^0.29.0",
"lucide-react": "^0.544.0",
+ "motion": "^13.2.0",
"ms": "^2.1.3",
"node-forge": "^1.4.0",
"nprogress": "^0.2.0",
@@ -10185,24 +10185,20 @@
}
},
"node_modules/framer-motion": {
- "version": "11.14.1",
- "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-11.14.1.tgz",
- "integrity": "sha512-6B7jC54zgnefmUSa2l4gkc/2CrqclHL9AUbDxxRfbFyWKLd+4guUYtEabzoYMU8G5ICZ6CdJdydOLy74Ekd7ag==",
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-13.2.0.tgz",
+ "integrity": "sha512-9E33ebgMaO33w1nN/jEdW8z3/GO483fMi4rqbMG9rt83XgW9QLKRe4NcmJ8s+fQ3O34++UHrIQwlIWGIWTITjA==",
"license": "MIT",
"dependencies": {
- "motion-dom": "^11.14.1",
- "motion-utils": "^11.14.1",
+ "motion-dom": "^13.2.0",
+ "motion-utils": "^13.0.0",
"tslib": "^2.4.0"
},
"peerDependencies": {
- "@emotion/is-prop-valid": "*",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"peerDependenciesMeta": {
- "@emotion/is-prop-valid": {
- "optional": true
- },
"react": {
"optional": true
},
@@ -12861,16 +12857,41 @@
"node": ">= 18"
}
},
+ "node_modules/motion": {
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/motion/-/motion-13.2.0.tgz",
+ "integrity": "sha512-4Hrb5vD6HhjFstLUiCmWvtpsw+WTpP4R+QXfSDYZBz7+uxE/LrRg3aV0ReJxHrTRffHhbIE6svEqnotngXvesQ==",
+ "license": "MIT",
+ "dependencies": {
+ "framer-motion": "^13.2.0",
+ "tslib": "^2.4.0"
+ },
+ "peerDependencies": {
+ "react": "^18.0.0 || ^19.0.0",
+ "react-dom": "^18.0.0 || ^19.0.0"
+ },
+ "peerDependenciesMeta": {
+ "react": {
+ "optional": true
+ },
+ "react-dom": {
+ "optional": true
+ }
+ }
+ },
"node_modules/motion-dom": {
- "version": "11.14.1",
- "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-11.14.1.tgz",
- "integrity": "sha512-Y68tHWR0d2HxHDskNxpeY3pzUdz7L/m5A8TV7VSE6Sq4XUNJdZV8zXco1aeAQ44o48u0i8UKjt8TGIqkZSQ8ew==",
- "license": "MIT"
+ "version": "13.2.0",
+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-13.2.0.tgz",
+ "integrity": "sha512-N6gdSoWRDk0Rh/fVtlqUtLs+fEN3ELFZI3cn3IQE9Mnf3E+Mh8wjO6MstzCOPFh4Yf0L1as5m2eUyYWj8ylVSQ==",
+ "license": "MIT",
+ "dependencies": {
+ "motion-utils": "^13.0.0"
+ }
},
"node_modules/motion-utils": {
- "version": "11.14.1",
- "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-11.14.1.tgz",
- "integrity": "sha512-R6SsehArpkEBUHydkcwQ/8ij8k2PyKWAJ7Y8PN3ztnFwq5RBU3zIamYH6esTp09OgsbwB57mBEZ9DORaN1WTxQ==",
+ "version": "13.0.0",
+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-13.0.0.tgz",
+ "integrity": "sha512-7DnN7TmbLcYXcG4RVadXIihWlyuM9afoUww8Y5Agg431kGKiuL2/OMyP4mJ5wLz+pvN3t5ySClLOaVXJ+wekRQ==",
"license": "MIT"
},
"node_modules/ms": {
diff --git a/frontend/package.json b/frontend/package.json
index 2f6277b57e..6e40de9607 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -109,12 +109,12 @@
"diff": "^8.0.3",
"dompurify": "^3.2.4",
"file-saver": "^2.0.5",
- "framer-motion": "^11.14.1",
"i18next": "^24.1.0",
"i18next-http-backend": "^3.0.1",
"jwt-decode": "^4.0.0",
"lexical": "^0.29.0",
"lucide-react": "^0.544.0",
+ "motion": "^13.2.0",
"ms": "^2.1.3",
"node-forge": "^1.4.0",
"nprogress": "^0.2.0",
@@ -150,8 +150,6 @@
"@storybook/addon-a11y": "^9.1.9",
"@storybook/addon-docs": "^9.1.9",
"@storybook/react-vite": "^9.1.9",
- "storybook": "^9.1.19",
- "storybook-addon-tag-badges": "^2.0.4",
"@stylistic/eslint-plugin": "^2.12.1",
"@tailwindcss/postcss": "^4.1.14",
"@tanstack/eslint-plugin-router": "^1.87.6",
@@ -178,6 +176,8 @@
"postcss": "^8.4.49",
"prettier": "3.4.2",
"prettier-plugin-tailwindcss": "^0.6.14",
+ "storybook": "^9.1.19",
+ "storybook-addon-tag-badges": "^2.0.4",
"tailwindcss": "^4.1.14",
"tw-animate-css": "^1.4.0",
"typescript": "~5.6.2",
diff --git a/frontend/src/components/auth/OnboardingPageLayout.tsx b/frontend/src/components/auth/OnboardingPageLayout.tsx
index f29c897d56..61275c109f 100644
--- a/frontend/src/components/auth/OnboardingPageLayout.tsx
+++ b/frontend/src/components/auth/OnboardingPageLayout.tsx
@@ -1,5 +1,5 @@
import { ComponentProps, ReactNode, useEffect, useRef } from "react";
-import { AnimatePresence, motion, useReducedMotion } from "framer-motion";
+import { AnimatePresence, motion, useReducedMotion } from "motion/react";
import { cn } from "@app/components/v3/utils";
diff --git a/frontend/src/components/v2/ContentLoader/ContentLoader.tsx b/frontend/src/components/v2/ContentLoader/ContentLoader.tsx
index 8a64be7dd8..c3884340b5 100644
--- a/frontend/src/components/v2/ContentLoader/ContentLoader.tsx
+++ b/frontend/src/components/v2/ContentLoader/ContentLoader.tsx
@@ -2,7 +2,7 @@
// if you pass array it will say it one by one giving user clear instruction on what's happening
import { useEffect, useState } from "react";
-import { AnimatePresence, motion } from "framer-motion";
+import { AnimatePresence, motion } from "motion/react";
import { twMerge } from "tailwind-merge";
import { Loader } from "../../v3/generic/Loader";
diff --git a/frontend/src/components/v3/generic/Field/FieldFeedback.tsx b/frontend/src/components/v3/generic/Field/FieldFeedback.tsx
index a783fca5be..58a91dc34b 100644
--- a/frontend/src/components/v3/generic/Field/FieldFeedback.tsx
+++ b/frontend/src/components/v3/generic/Field/FieldFeedback.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import { AnimatePresence, motion, useReducedMotion } from "framer-motion";
+import { AnimatePresence, motion, useReducedMotion } from "motion/react";
import { cn } from "../../utils";
diff --git a/frontend/src/components/v3/generic/Loader/Loader.tsx b/frontend/src/components/v3/generic/Loader/Loader.tsx
index b0ead37ad0..f8a8819c3f 100644
--- a/frontend/src/components/v3/generic/Loader/Loader.tsx
+++ b/frontend/src/components/v3/generic/Loader/Loader.tsx
@@ -1,6 +1,6 @@
import { type ComponentProps, useEffect, useRef } from "react";
import { type DotLottie, DotLottieReact } from "@lottiefiles/dotlottie-react";
-import { useReducedMotion } from "framer-motion";
+import { useReducedMotion } from "motion/react";
import { cn } from "../../utils";
diff --git a/frontend/src/layouts/AdminLayout/AdminNavBar.tsx b/frontend/src/layouts/AdminLayout/AdminNavBar.tsx
index 4dfeedda1b..184f1c3f9c 100644
--- a/frontend/src/layouts/AdminLayout/AdminNavBar.tsx
+++ b/frontend/src/layouts/AdminLayout/AdminNavBar.tsx
@@ -11,7 +11,7 @@ import {
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { Link, useMatchRoute } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import { Tooltip, TooltipContent, TooltipTrigger } from "@app/components/v3";
import { cn } from "@app/components/v3/utils";
diff --git a/frontend/src/layouts/AdminLayout/AdminSidebar.tsx b/frontend/src/layouts/AdminLayout/AdminSidebar.tsx
index 326e15fc2c..40ecd308da 100644
--- a/frontend/src/layouts/AdminLayout/AdminSidebar.tsx
+++ b/frontend/src/layouts/AdminLayout/AdminSidebar.tsx
@@ -1,6 +1,5 @@
import { useState } from "react";
import { Link, useLocation, useMatchRoute, useNavigate, useSearch } from "@tanstack/react-router";
-import { AnimatePresence, motion } from "framer-motion";
import {
Building,
ChevronLeft,
@@ -16,6 +15,7 @@ import {
ShieldCheck,
User
} from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import {
Sidebar,
diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx
index 4c548634b9..2b328a2ae3 100644
--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/OrgNav.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from "react";
import { useLocation, useNavigate } from "@tanstack/react-router";
-import { AnimatePresence, motion } from "framer-motion";
import { Blocks, CreditCard, FileText, Settings, Shield } from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import { OrgIcon, SidebarCollapsibleGroup, SubOrgIcon } from "@app/components/v3";
import { useOrganization } from "@app/context";
diff --git a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/ProjectNav.tsx b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/ProjectNav.tsx
index 9aa9c4f24c..443448cfd2 100644
--- a/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/ProjectNav.tsx
+++ b/frontend/src/layouts/OrganizationLayout/components/OrgSidebar/ProjectNav.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from "react";
import { useLocation, useNavigate } from "@tanstack/react-router";
-import { AnimatePresence, motion } from "framer-motion";
import { ChevronLeft } from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import { SidebarGroup, SidebarGroupLabel } from "@app/components/v3";
import { useOrganization, useProject } from "@app/context";
diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx
index e69afd3c26..0c2afeb65d 100644
--- a/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx
+++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrgPage.tsx
@@ -12,8 +12,8 @@ import { Helmet } from "react-helmet";
import { useTranslation } from "react-i18next";
import { useNavigate, useRouteContext, useRouter, useSearch } from "@tanstack/react-router";
import { addSeconds, format, formatISO } from "date-fns";
-import { AnimatePresence, motion, useReducedMotion } from "framer-motion";
import { ArrowRight, ChevronRight, Search } from "lucide-react";
+import { AnimatePresence, motion, useReducedMotion } from "motion/react";
import { AuthPageLayout } from "@app/components/auth/AuthPageLayout";
import { AuthPagePanel } from "@app/components/auth/AuthPagePanel";
diff --git a/frontend/src/pages/kms/KmipPage/components/KmipClientTable.tsx b/frontend/src/pages/kms/KmipPage/components/KmipClientTable.tsx
index e3cdafbc2a..0b6818f6b9 100644
--- a/frontend/src/pages/kms/KmipPage/components/KmipClientTable.tsx
+++ b/frontend/src/pages/kms/KmipPage/components/KmipClientTable.tsx
@@ -11,7 +11,7 @@ import {
faUser
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";
import { ProjectPermissionCan } from "@app/components/permissions";
diff --git a/frontend/src/pages/kms/OverviewPage/components/CmekTable.tsx b/frontend/src/pages/kms/OverviewPage/components/CmekTable.tsx
index ad2c097495..1dca2456ca 100644
--- a/frontend/src/pages/kms/OverviewPage/components/CmekTable.tsx
+++ b/frontend/src/pages/kms/OverviewPage/components/CmekTable.tsx
@@ -1,5 +1,4 @@
import { useEffect, useState } from "react";
-import { motion } from "framer-motion";
import {
CheckIcon,
ChevronDownIcon,
@@ -19,6 +18,7 @@ import {
TrashIcon,
UnlockIcon
} from "lucide-react";
+import { motion } from "motion/react";
import { twMerge } from "tailwind-merge";
import { createNotification } from "@app/components/notifications";
diff --git a/frontend/src/pages/organization/AuditLogsPage/components/LogsFilter.tsx b/frontend/src/pages/organization/AuditLogsPage/components/LogsFilter.tsx
index aac400dcf5..76357bbdab 100644
--- a/frontend/src/pages/organization/AuditLogsPage/components/LogsFilter.tsx
+++ b/frontend/src/pages/organization/AuditLogsPage/components/LogsFilter.tsx
@@ -3,8 +3,8 @@ import { useMemo } from "react";
import { Controller, useForm } from "react-hook-form";
import { MultiValue, SingleValue } from "react-select";
import { zodResolver } from "@hookform/resolvers/zod";
-import { AnimatePresence, motion } from "framer-motion";
import { ListFilter } from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import { twMerge } from "tailwind-merge";
import {
diff --git a/frontend/src/pages/pam/PamSessionsPage/components/RdpReplayView/RdpReplayView.tsx b/frontend/src/pages/pam/PamSessionsPage/components/RdpReplayView/RdpReplayView.tsx
index 4b400fea4d..fe7880dbf4 100644
--- a/frontend/src/pages/pam/PamSessionsPage/components/RdpReplayView/RdpReplayView.tsx
+++ b/frontend/src/pages/pam/PamSessionsPage/components/RdpReplayView/RdpReplayView.tsx
@@ -1,6 +1,6 @@
import { useEffect, useRef, useState } from "react";
-import { AnimatePresence, motion } from "framer-motion";
import { Loader2Icon, PauseIcon, PlayIcon, RotateCcwIcon } from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import { IconButton } from "@app/components/v3";
import { TSessionEvent } from "@app/hooks/api/pam";
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx
index 4680b314b9..ff81d2b6a3 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/CommitForm/CommitForm.tsx
@@ -1,7 +1,6 @@
/* eslint-disable jsx-a11y/label-has-associated-control */
import React, { useCallback, useMemo, useState } from "react";
import { useQueries, useQueryClient } from "@tanstack/react-query";
-import { AnimatePresence, motion } from "framer-motion";
import {
CircleAlertIcon,
ClipboardCheckIcon,
@@ -11,6 +10,7 @@ import {
SaveIcon,
TriangleAlertIcon
} from "lucide-react";
+import { AnimatePresence, motion } from "motion/react";
import { createNotification } from "@app/components/notifications";
import { SecretVersionDiffView } from "@app/components/secrets/diff";
diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx
index e6f3bd2ca4..d0348fc86c 100644
--- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx
+++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx
@@ -35,7 +35,7 @@ import { SecretV3RawSanitized } from "@app/hooks/api/secrets/types";
import { WsTag } from "@app/hooks/api/types";
import { subject } from "@casl/ability";
import { zodResolver } from "@hookform/resolvers/zod";
-import { AnimatePresence, motion } from "framer-motion";
+import { AnimatePresence, motion } from "motion/react";
import { memo, useCallback, useEffect, useRef } from "react";
import { Controller, useFieldArray, useForm } from "react-hook-form";
import { twMerge } from "tailwind-merge";
diff --git a/frontend/src/pages/secret-manager/integrations/AwsParameterStoreConfigurePage/AwsParamterStoreConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/AwsParameterStoreConfigurePage/AwsParamterStoreConfigurePage.tsx
index 1532980ac0..cf55f4d96e 100644
--- a/frontend/src/pages/secret-manager/integrations/AwsParameterStoreConfigurePage/AwsParamterStoreConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/AwsParameterStoreConfigurePage/AwsParamterStoreConfigurePage.tsx
@@ -8,7 +8,7 @@ import {
} from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import {
Button,
diff --git a/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx
index 8116cbbe11..e28296c33f 100644
--- a/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/AwsSecretManagerConfigurePage/AwsSecretManagerConfigurePage.tsx
@@ -10,7 +10,7 @@ import {
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import z from "zod";
import {
diff --git a/frontend/src/pages/secret-manager/integrations/ChecklyConfigurePage/ChecklyConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/ChecklyConfigurePage/ChecklyConfigurePage.tsx
index 8e5125a171..649b3ca7ee 100644
--- a/frontend/src/pages/secret-manager/integrations/ChecklyConfigurePage/ChecklyConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/ChecklyConfigurePage/ChecklyConfigurePage.tsx
@@ -3,7 +3,7 @@ import { Helmet } from "react-helmet";
import { faArrowUpRightFromSquare, faBookOpen, faBugs } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import {
Button,
diff --git a/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx
index 677d07c075..e974ec2e13 100644
--- a/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/GcpSecretManagerConfigurePage/GcpSecretManagerConfigurePage.tsx
@@ -5,7 +5,7 @@ import { faArrowUpRightFromSquare, faBookOpen, faBugs } from "@fortawesome/free-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import { z } from "zod";
import {
diff --git a/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx
index b8147cb090..3be855f75d 100644
--- a/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/GithubConfigurePage/GithubConfigurePage.tsx
@@ -12,7 +12,7 @@ import {
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import { twMerge } from "tailwind-merge";
import { z, ZodIssueCode } from "zod";
diff --git a/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx
index 8bf3348422..c9d9f830ba 100644
--- a/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/GitlabConfigurePage/GitlabConfigurePage.tsx
@@ -5,7 +5,7 @@ import { faArrowUpRightFromSquare, faBookOpen, faBugs } from "@fortawesome/free-
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { zodResolver } from "@hookform/resolvers/zod";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import { z } from "zod";
import {
diff --git a/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx b/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx
index 1d90283fb9..bc6aebc440 100644
--- a/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx
+++ b/frontend/src/pages/secret-manager/integrations/QoveryConfigurePage/QoveryConfigurePage.tsx
@@ -3,7 +3,7 @@ import { Helmet } from "react-helmet";
import { faArrowUpRightFromSquare, faBookOpen, faBugs } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { motion } from "framer-motion";
+import { motion } from "motion/react";
import {
Button,