Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

clean component container

Abhinav5c7522b3b4f6
diff --git a/apps/photos/src/components/CaptionedText.tsx b/apps/photos/src/components/CaptionedText.tsx
index 02f07c28c2..afc3b156f4 100644
--- a/apps/photos/src/components/CaptionedText.tsx
+++ b/apps/photos/src/components/CaptionedText.tsx
@@ -1,5 +1,5 @@
import { ButtonProps, Typography } from '@mui/material';
-import { VerticallyCenteredFlex } from './Container';
+import { VerticallyCenteredFlex } from '@ente/shared/components/Container';
interface Iprops {
mainText: string;
diff --git a/apps/photos/src/components/Collections/AllCollections/content.tsx b/apps/photos/src/components/Collections/AllCollections/content.tsx
index 35b83b8220..46570cb1bf 100644
--- a/apps/photos/src/components/Collections/AllCollections/content.tsx
+++ b/apps/photos/src/components/Collections/AllCollections/content.tsx
@@ -1,6 +1,6 @@
import React, { useEffect, useRef, useState } from 'react';
import { DialogContent } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import AllCollectionCard from './collectionCard';
import { CollectionSummary } from 'types/collection';
import {
diff --git a/apps/photos/src/components/Collections/AllCollections/header.tsx b/apps/photos/src/components/Collections/AllCollections/header.tsx
index 02f61d49aa..57046f176a 100644
--- a/apps/photos/src/components/Collections/AllCollections/header.tsx
+++ b/apps/photos/src/components/Collections/AllCollections/header.tsx
@@ -4,7 +4,7 @@ import {
FlexWrapper,
FluidContainer,
IconButtonWithBG,
-} from 'components/Container';
+} from '@ente/shared/components/Container';
import CollectionListSortBy from 'components/Collections/CollectionListSortBy';
import Close from '@mui/icons-material/Close';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/Collections/CollectionInfo.tsx b/apps/photos/src/components/Collections/CollectionInfo.tsx
index 03a4affec8..93edc4cc99 100644
--- a/apps/photos/src/components/Collections/CollectionInfo.tsx
+++ b/apps/photos/src/components/Collections/CollectionInfo.tsx
@@ -1,5 +1,5 @@
import { Box, Typography } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import React from 'react';
import { t } from 'i18next';
interface Iprops {
diff --git a/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx b/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx
index 6921ee5bf5..b65948a686 100644
--- a/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx
+++ b/apps/photos/src/components/Collections/CollectionInfoWithOptions.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import { Collection, CollectionSummary } from 'types/collection';
import CollectionOptions from 'components/Collections/CollectionOptions';
import { SetCollectionNamerAttributes } from 'components/Collections/CollectionNamer';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import { CollectionInfoBarWrapper } from './styledComponents';
import { shouldShowOptions } from 'utils/collection';
import { CollectionSummaryType } from 'constants/collection';
diff --git a/apps/photos/src/components/Collections/CollectionListBar/index.tsx b/apps/photos/src/components/Collections/CollectionListBar/index.tsx
index 90fdd51782..8faa646275 100644
--- a/apps/photos/src/components/Collections/CollectionListBar/index.tsx
+++ b/apps/photos/src/components/Collections/CollectionListBar/index.tsx
@@ -6,7 +6,10 @@ import {
CollectionListWrapper,
} from 'components/Collections/styledComponents';
import CollectionListBarCard from 'components/Collections/CollectionListBar/CollectionCard';
-import { IconButtonWithBG, SpaceBetweenFlex } from 'components/Container';
+import {
+ IconButtonWithBG,
+ SpaceBetweenFlex,
+} from '@ente/shared/components/Container';
import ExpandMore from '@mui/icons-material/ExpandMore';
import { AppContext } from 'pages/_app';
import { CollectionSummary } from 'types/collection';
diff --git a/apps/photos/src/components/Collections/CollectionOptions/QuickOptions/index.tsx b/apps/photos/src/components/Collections/CollectionOptions/QuickOptions/index.tsx
index 203494e1d2..8af5f8c84f 100644
--- a/apps/photos/src/components/Collections/CollectionOptions/QuickOptions/index.tsx
+++ b/apps/photos/src/components/Collections/CollectionOptions/QuickOptions/index.tsx
@@ -1,7 +1,7 @@
import { CollectionActions } from '..';
import React from 'react';
import { CollectionSummaryType } from 'constants/collection';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { EmptyTrashQuickOption } from './EmptyTrashQuickOption';
import { DownloadQuickOption } from './DownloadQuickOption';
import { ShareQuickOption } from './ShareQuickOption';
diff --git a/apps/photos/src/components/Collections/CollectionOptions/index.tsx b/apps/photos/src/components/Collections/CollectionOptions/index.tsx
index 14c1f59179..775a97d278 100644
--- a/apps/photos/src/components/Collections/CollectionOptions/index.tsx
+++ b/apps/photos/src/components/Collections/CollectionOptions/index.tsx
@@ -28,7 +28,7 @@ import { SharedCollectionOption } from './SharedCollectionOption';
import { OnlyDownloadCollectionOption } from './OnlyDownloadCollectionOption';
import { QuickOptions } from './QuickOptions';
import MoreHoriz from '@mui/icons-material/MoreHoriz';
-import { HorizontalFlex } from 'components/Container';
+import { HorizontalFlex } from '@ente/shared/components/Container';
import { Trans } from 'react-i18next';
import { t } from 'i18next';
import { Box } from '@mui/material';
diff --git a/apps/photos/src/components/Collections/CollectionSelector/AddCollectionButton.tsx b/apps/photos/src/components/Collections/CollectionSelector/AddCollectionButton.tsx
index d1b0c3b5f8..4ec1dfd84a 100644
--- a/apps/photos/src/components/Collections/CollectionSelector/AddCollectionButton.tsx
+++ b/apps/photos/src/components/Collections/CollectionSelector/AddCollectionButton.tsx
@@ -5,7 +5,7 @@ import {
} from 'components/Collections/styledComponents';
import React from 'react';
import { styled } from '@mui/material';
-import { CenteredFlex, Overlay } from 'components/Container';
+import { CenteredFlex, Overlay } from '@ente/shared/components/Container';
import { t } from 'i18next';
const ImageContainer = styled(Overlay)`
diff --git a/apps/photos/src/components/Collections/CollectionSelector/index.tsx b/apps/photos/src/components/Collections/CollectionSelector/index.tsx
index 9b3f12f0cb..43911abcab 100644
--- a/apps/photos/src/components/Collections/CollectionSelector/index.tsx
+++ b/apps/photos/src/components/Collections/CollectionSelector/index.tsx
@@ -8,7 +8,7 @@ import DialogTitleWithCloseButton from '@ente/shared/components/DialogBox/TitleW
import { AppContext } from 'pages/_app';
import { AllCollectionDialog } from 'components/Collections/AllCollections/dialog';
import { DialogContent } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import CollectionSelectorCard from './CollectionCard';
import AddCollectionButton from './AddCollectionButton';
import { CollectionSelectorIntent } from 'types/gallery';
diff --git a/apps/photos/src/components/Collections/CollectionShare/emailShare/AddParticipantForm.tsx b/apps/photos/src/components/Collections/CollectionShare/emailShare/AddParticipantForm.tsx
index 1491d84453..437fecfc92 100644
--- a/apps/photos/src/components/Collections/CollectionShare/emailShare/AddParticipantForm.tsx
+++ b/apps/photos/src/components/Collections/CollectionShare/emailShare/AddParticipantForm.tsx
@@ -3,7 +3,7 @@ import { Formik, FormikHelpers, FormikState } from 'formik';
import * as Yup from 'yup';
import SubmitButton from '@ente/shared/components/SubmitButton';
import TextField from '@mui/material/TextField';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { Button, FormHelperText, Stack } from '@mui/material';
import { t } from 'i18next';
import { MenuItemGroup } from 'components/Menu/MenuItemGroup';
diff --git a/apps/photos/src/components/Collections/CollectionShare/publicShare/copyLinkModal.tsx b/apps/photos/src/components/Collections/CollectionShare/publicShare/copyLinkModal.tsx
index 869f2034c9..bba72f933f 100644
--- a/apps/photos/src/components/Collections/CollectionShare/publicShare/copyLinkModal.tsx
+++ b/apps/photos/src/components/Collections/CollectionShare/publicShare/copyLinkModal.tsx
@@ -6,7 +6,7 @@ import {
DialogContent,
Box,
} from '@mui/material';
-import { VerticallyCentered } from 'components/Container';
+import { VerticallyCentered } from '@ente/shared/components/Container';
import Check from '@mui/icons-material/Check';
import { t } from 'i18next';
interface Iprops {
diff --git a/apps/photos/src/components/Collections/styledComponents.ts b/apps/photos/src/components/Collections/styledComponents.ts
index 1ecfb0dfab..08e73c298a 100644
--- a/apps/photos/src/components/Collections/styledComponents.ts
+++ b/apps/photos/src/components/Collections/styledComponents.ts
@@ -1,6 +1,6 @@
import { Box } from '@mui/material';
import { styled } from '@mui/material';
-import { Overlay } from 'components/Container';
+import { Overlay } from '@ente/shared/components/Container';
import { IMAGE_CONTAINER_MAX_WIDTH, MIN_COLUMNS } from 'constants/gallery';
export const CollectionListWrapper = styled(Box)`
position: relative;
diff --git a/apps/photos/src/components/Container.ts b/apps/photos/src/components/Container.ts
deleted file mode 100644
index a6318f11a0..0000000000
--- a/apps/photos/src/components/Container.ts
+++ /dev/null
@@ -1,75 +0,0 @@
-import { Box, IconButton } from '@mui/material';
-import { styled } from '@mui/material';
-
-export const VerticallyCentered = styled(Box)`
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: column;
- text-align: center;
- overflow: auto;
-`;
-
-export const Row = styled('div')`
- min-height: 32px;
- display: flex;
- align-items: center;
- margin-bottom: ${({ theme }) => theme.spacing(2)};
- flex: 1;
-`;
-
-export const Value = styled('div')<{ width?: string }>`
- display: flex;
- justify-content: flex-start;
- align-items: center;
- width: ${(props) => props.width ?? '30%'};
-`;
-
-export const FlexWrapper = styled(Box)`
- display: flex;
- width: 100%;
- align-items: center;
-`;
-
-export const FreeFlowText = styled('div')`
- word-break: break-word;
- min-width: 30%;
- text-align: left;
-`;
-
-export const SpaceBetweenFlex = styled(FlexWrapper)`
- justify-content: space-between;
-`;
-
-export const CenteredFlex = styled(FlexWrapper)`
- justify-content: center;
-`;
-
-export const FluidContainer = styled(FlexWrapper)`
- flex: 1;
-`;
-
-export const Overlay = styled(Box)`
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
-`;
-
-export const IconButtonWithBG = styled(IconButton)(({ theme }) => ({
- backgroundColor: theme.colors.fill.faint,
-}));
-
-export const HorizontalFlex = styled(Box)({
- display: 'flex',
-});
-
-export const VerticalFlex = styled(HorizontalFlex)({
- flexDirection: 'column',
-});
-
-export const VerticallyCenteredFlex = styled(HorizontalFlex)({
- alignItems: 'center',
-});
diff --git a/apps/photos/src/components/ExportFinished.tsx b/apps/photos/src/components/ExportFinished.tsx
index ddc7441a4b..5e321fefa2 100644
--- a/apps/photos/src/components/ExportFinished.tsx
+++ b/apps/photos/src/components/ExportFinished.tsx
@@ -7,7 +7,7 @@ import {
} from '@mui/material';
import { t } from 'i18next';
import { formatDateTime } from '@ente/shared/time/format';
-import { SpaceBetweenFlex } from './Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import { formatNumber } from 'utils/number/format';
import ExportPendingList from './ExportPendingList';
import { useState } from 'react';
diff --git a/apps/photos/src/components/ExportInProgress.tsx b/apps/photos/src/components/ExportInProgress.tsx
index cb3fec0737..3c9a34201d 100644
--- a/apps/photos/src/components/ExportInProgress.tsx
+++ b/apps/photos/src/components/ExportInProgress.tsx
@@ -8,7 +8,10 @@ import {
styled,
} from '@mui/material';
import { ExportStage } from 'constants/export';
-import { VerticallyCentered, FlexWrapper } from './Container';
+import {
+ VerticallyCentered,
+ FlexWrapper,
+} from '@ente/shared/components/Container';
import { ProgressBar } from 'react-bootstrap';
import { t } from 'i18next';
import { Trans } from 'react-i18next';
diff --git a/apps/photos/src/components/ExportModal.tsx b/apps/photos/src/components/ExportModal.tsx
index fde02145c9..9e9521675d 100644
--- a/apps/photos/src/components/ExportModal.tsx
+++ b/apps/photos/src/components/ExportModal.tsx
@@ -14,7 +14,10 @@ import {
Typography,
} from '@mui/material';
import { logError } from '@ente/shared/sentry';
-import { SpaceBetweenFlex, VerticallyCenteredFlex } from './Container';
+import {
+ SpaceBetweenFlex,
+ VerticallyCenteredFlex,
+} from '@ente/shared/components/Container';
import ExportFinished from './ExportFinished';
import ExportInit from './ExportInit';
import ExportInProgress from './ExportInProgress';
diff --git a/apps/photos/src/components/ExportPendingList.tsx b/apps/photos/src/components/ExportPendingList.tsx
index 20c05b7a73..087b767f2c 100644
--- a/apps/photos/src/components/ExportPendingList.tsx
+++ b/apps/photos/src/components/ExportPendingList.tsx
@@ -2,7 +2,7 @@ import { EnteFile } from 'types/file';
import ItemList from 'components/ItemList';
import DialogBoxV2 from '@ente/shared/components/DialogBoxV2';
import { t } from 'i18next';
-import { FlexWrapper } from './Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import CollectionCard from './Collections/CollectionCard';
import { ResultPreviewTile } from './Collections/styledComponents';
import { Box, styled } from '@mui/material';
diff --git a/apps/photos/src/components/FixCreationTime/options.tsx b/apps/photos/src/components/FixCreationTime/options.tsx
index dbd081ff8a..99ab8bbdcc 100644
--- a/apps/photos/src/components/FixCreationTime/options.tsx
+++ b/apps/photos/src/components/FixCreationTime/options.tsx
@@ -2,7 +2,7 @@ import React, { ChangeEvent } from 'react';
import { FIX_OPTIONS } from '.';
import { Form } from 'react-bootstrap';
import EnteDateTimePicker from 'components/EnteDateTimePicker';
-import { Row, Value } from 'components/Container';
+import { Row, Value } from '@ente/shared/components/Container';
import { t } from 'i18next';
const Option = ({
diff --git a/apps/photos/src/components/GalleryEmptyState.tsx b/apps/photos/src/components/GalleryEmptyState.tsx
index f0780daf12..2d07740e91 100644
--- a/apps/photos/src/components/GalleryEmptyState.tsx
+++ b/apps/photos/src/components/GalleryEmptyState.tsx
@@ -1,5 +1,8 @@
import { Button, Stack, styled, Typography } from '@mui/material';
-import { VerticallyCentered, FlexWrapper } from './Container';
+import {
+ VerticallyCentered,
+ FlexWrapper,
+} from '@ente/shared/components/Container';
import { Box } from '@mui/material';
import uploadManager from 'services/upload/uploadManager';
import AddPhotoAlternateIcon from '@mui/icons-material/AddPhotoAlternateOutlined';
diff --git a/apps/photos/src/components/MemberSubscriptionManage.tsx b/apps/photos/src/components/MemberSubscriptionManage.tsx
index add35315fe..74612c4ef9 100644
--- a/apps/photos/src/components/MemberSubscriptionManage.tsx
+++ b/apps/photos/src/components/MemberSubscriptionManage.tsx
@@ -1,5 +1,8 @@
import { Box, Button, Dialog, DialogContent, Typography } from '@mui/material';
-import { VerticallyCentered, FlexWrapper } from 'components/Container';
+import {
+ VerticallyCentered,
+ FlexWrapper,
+} from '@ente/shared/components/Container';
import { AppContext } from 'pages/_app';
import React, { useContext, useEffect } from 'react';
import billingService from 'services/billingService';
diff --git a/apps/photos/src/components/Menu/EnteMenuItem.tsx b/apps/photos/src/components/Menu/EnteMenuItem.tsx
index bb927cae80..02bc24b053 100644
--- a/apps/photos/src/components/Menu/EnteMenuItem.tsx
+++ b/apps/photos/src/components/Menu/EnteMenuItem.tsx
@@ -7,7 +7,10 @@ import {
} from '@mui/material';
import { CaptionedText } from 'components/CaptionedText';
import PublicShareSwitch from 'components/Collections/CollectionShare/publicShare/switch';
-import { SpaceBetweenFlex, VerticallyCenteredFlex } from 'components/Container';
+import {
+ SpaceBetweenFlex,
+ VerticallyCenteredFlex,
+} from '@ente/shared/components/Container';
import React from 'react';
interface Iprops {
diff --git a/apps/photos/src/components/Menu/MenuSectionTitle.tsx b/apps/photos/src/components/Menu/MenuSectionTitle.tsx
index f13c681773..76ead8d894 100644
--- a/apps/photos/src/components/Menu/MenuSectionTitle.tsx
+++ b/apps/photos/src/components/Menu/MenuSectionTitle.tsx
@@ -1,5 +1,5 @@
import { Typography } from '@mui/material';
-import { VerticallyCenteredFlex } from 'components/Container';
+import { VerticallyCenteredFlex } from '@ente/shared/components/Container';
interface Iprops {
title: string;
diff --git a/apps/photos/src/components/Notification.tsx b/apps/photos/src/components/Notification.tsx
index beb856071f..466471a9b3 100644
--- a/apps/photos/src/components/Notification.tsx
+++ b/apps/photos/src/components/Notification.tsx
@@ -12,7 +12,7 @@ import {
import { NotificationAttributes } from 'types/Notification';
import InfoIcon from '@mui/icons-material/InfoOutlined';
-import { IconButtonWithBG } from './Container';
+import { IconButtonWithBG } from '@ente/shared/components/Container';
interface Iprops {
open: boolean;
diff --git a/apps/photos/src/components/PhotoList.tsx b/apps/photos/src/components/PhotoList.tsx
index b6114544da..6c2a90d98a 100644
--- a/apps/photos/src/components/PhotoList.tsx
+++ b/apps/photos/src/components/PhotoList.tsx
@@ -20,7 +20,7 @@ import { PublicCollectionGalleryContext } from 'utils/publicCollectionGallery';
import { ENTE_WEBSITE_LINK } from '@ente/shared/constants/urls';
import { convertBytesToHumanReadable } from 'utils/file/size';
import { DeduplicateContext } from 'pages/deduplicate';
-import { FlexWrapper } from './Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { Typography } from '@mui/material';
import { GalleryContext } from 'pages/gallery';
import { formatDate } from '@ente/shared/time/format';
diff --git a/apps/photos/src/components/PhotoViewer/FileInfo/InfoItem.tsx b/apps/photos/src/components/PhotoViewer/FileInfo/InfoItem.tsx
index 4aac42015e..4f85e9fcd0 100644
--- a/apps/photos/src/components/PhotoViewer/FileInfo/InfoItem.tsx
+++ b/apps/photos/src/components/PhotoViewer/FileInfo/InfoItem.tsx
@@ -1,6 +1,6 @@
import Edit from '@mui/icons-material/Edit';
import { Box, IconButton, Typography } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import React from 'react';
import { SmallLoadingSpinner } from '../styledComponents/SmallLoadingSpinner';
diff --git a/apps/photos/src/components/PhotoViewer/FileInfo/RenderCaption.tsx b/apps/photos/src/components/PhotoViewer/FileInfo/RenderCaption.tsx
index ae3d42e378..2c5c039c20 100644
--- a/apps/photos/src/components/PhotoViewer/FileInfo/RenderCaption.tsx
+++ b/apps/photos/src/components/PhotoViewer/FileInfo/RenderCaption.tsx
@@ -3,7 +3,7 @@ import { EnteFile } from 'types/file';
import { changeCaption, updateExistingFilePubMetadata } from 'utils/file';
import { logError } from '@ente/shared/sentry';
import { Box, IconButton, TextField } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { MAX_CAPTION_SIZE } from 'constants/file';
import { Formik } from 'formik';
import { SmallLoadingSpinner } from '../styledComponents/SmallLoadingSpinner';
diff --git a/apps/photos/src/components/PhotoViewer/FileInfo/RenderCreationTime.tsx b/apps/photos/src/components/PhotoViewer/FileInfo/RenderCreationTime.tsx
index 51c101dc35..69fb9a520d 100644
--- a/apps/photos/src/components/PhotoViewer/FileInfo/RenderCreationTime.tsx
+++ b/apps/photos/src/components/PhotoViewer/FileInfo/RenderCreationTime.tsx
@@ -6,7 +6,7 @@ import {
updateExistingFilePubMetadata,
} from 'utils/file';
import { formatDate, formatTime } from '@ente/shared/time/format';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { logError } from '@ente/shared/sentry';
import EnteDateTimePicker from 'components/EnteDateTimePicker';
import InfoItem from './InfoItem';
diff --git a/apps/photos/src/components/PhotoViewer/FileInfo/RenderFileName.tsx b/apps/photos/src/components/PhotoViewer/FileInfo/RenderFileName.tsx
index b9c8bdd6b2..21bd5cbb41 100644
--- a/apps/photos/src/components/PhotoViewer/FileInfo/RenderFileName.tsx
+++ b/apps/photos/src/components/PhotoViewer/FileInfo/RenderFileName.tsx
@@ -5,7 +5,7 @@ import {
splitFilenameAndExtension,
updateExistingFilePubMetadata,
} from 'utils/file';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { logError } from '@ente/shared/sentry';
import { FILE_TYPE } from 'constants/file';
import InfoItem from './InfoItem';
diff --git a/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx b/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
index 0f1e42d219..335f4e372e 100644
--- a/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/FileInfo/index.tsx
@@ -9,7 +9,7 @@ import { formatDate, formatTime } from '@ente/shared/time/format';
import Titlebar from 'components/Titlebar';
import MapBox from './MapBox';
import InfoItem from './InfoItem';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import EnteSpinner from '@ente/shared/components/EnteSpinner';
import { EnteFile } from 'types/file';
import { Chip } from 'components/Chip';
diff --git a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
index 315cd7ddf5..c1cb7ade26 100644
--- a/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/ImageEditorOverlay/index.tsx
@@ -27,7 +27,7 @@ import MenuSectionTitle from 'components/Menu/MenuSectionTitle';
import DownloadIcon from '@mui/icons-material/Download';
import mime from 'mime-types';
import CloseIcon from '@mui/icons-material/Close';
-import { HorizontalFlex } from 'components/Container';
+import { HorizontalFlex } from '@ente/shared/components/Container';
import TransformMenu from './TransformMenu';
import ColoursMenu from './ColoursMenu';
import { FileWithCollection } from 'types/upload';
diff --git a/apps/photos/src/components/PhotoViewer/index.tsx b/apps/photos/src/components/PhotoViewer/index.tsx
index afd0da055d..2c70011090 100644
--- a/apps/photos/src/components/PhotoViewer/index.tsx
+++ b/apps/photos/src/components/PhotoViewer/index.tsx
@@ -53,7 +53,7 @@ import publicCollectionDownloadManager from 'services/publicCollectionDownloadMa
import CircularProgressWithLabel from './styledComponents/CircularProgressWithLabel';
import EnteSpinner from '@ente/shared/components/EnteSpinner';
import AlbumOutlined from '@mui/icons-material/AlbumOutlined';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import isElectron from 'is-electron';
import ReplayIcon from '@mui/icons-material/Replay';
import ImageEditorOverlay from './ImageEditorOverlay';
diff --git a/apps/photos/src/components/PhotoViewer/styledComponents/CircularProgressWithLabel.tsx b/apps/photos/src/components/PhotoViewer/styledComponents/CircularProgressWithLabel.tsx
index 8b47f11011..4dfe0ce9d3 100644
--- a/apps/photos/src/components/PhotoViewer/styledComponents/CircularProgressWithLabel.tsx
+++ b/apps/photos/src/components/PhotoViewer/styledComponents/CircularProgressWithLabel.tsx
@@ -3,7 +3,7 @@ import {
CircularProgress,
Typography,
} from '@mui/material';
-import { Overlay } from 'components/Container';
+import { Overlay } from '@ente/shared/components/Container';
function CircularProgressWithLabel(
props: CircularProgressProps & { value: number }
diff --git a/apps/photos/src/components/PlaceholderThumbnails.tsx b/apps/photos/src/components/PlaceholderThumbnails.tsx
index 61baf66020..5e002bfa14 100644
--- a/apps/photos/src/components/PlaceholderThumbnails.tsx
+++ b/apps/photos/src/components/PlaceholderThumbnails.tsx
@@ -2,7 +2,7 @@ import PhotoOutlined from '@mui/icons-material/PhotoOutlined';
import PlayCircleOutlineOutlined from '@mui/icons-material/PlayCircleOutlineOutlined';
import { styled } from '@mui/material';
import { FILE_TYPE } from 'constants/file';
-import { Overlay } from './Container';
+import { Overlay } from '@ente/shared/components/Container';
interface Iprops {
fileType: FILE_TYPE;
diff --git a/apps/photos/src/components/Search/SearchBar/searchBarMobile.tsx b/apps/photos/src/components/Search/SearchBar/searchBarMobile.tsx
index 4b248c42b5..0b44772005 100644
--- a/apps/photos/src/components/Search/SearchBar/searchBarMobile.tsx
+++ b/apps/photos/src/components/Search/SearchBar/searchBarMobile.tsx
@@ -1,5 +1,5 @@
import { IconButton } from '@mui/material';
-import { FluidContainer } from 'components/Container';
+import { FluidContainer } from '@ente/shared/components/Container';
import React from 'react';
import { SearchMobileBox } from './styledComponents';
import SearchIcon from '@mui/icons-material/Search';
diff --git a/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx b/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx
index 07a1c0649d..c0a3c7c844 100644
--- a/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx
+++ b/apps/photos/src/components/Search/SearchBar/searchInput/MenuWithPeople.tsx
@@ -3,7 +3,7 @@ import { PeopleList } from 'components/MachineLearning/PeopleList';
import { IndexStatus } from 'types/machineLearning/ui';
import { SuggestionType, Suggestion } from 'types/search';
import { components } from 'react-select';
-import { Row } from 'components/Container';
+import { Row } from '@ente/shared/components/Container';
import { Col } from 'react-bootstrap';
import { AppContext } from 'pages/_app';
import styled from '@mui/styled-engine';
diff --git a/apps/photos/src/components/Search/SearchBar/searchInput/optionWithInfo.tsx b/apps/photos/src/components/Search/SearchBar/searchInput/optionWithInfo.tsx
index 79d365363e..55d02c432f 100644
--- a/apps/photos/src/components/Search/SearchBar/searchInput/optionWithInfo.tsx
+++ b/apps/photos/src/components/Search/SearchBar/searchInput/optionWithInfo.tsx
@@ -1,7 +1,10 @@
import React from 'react';
import { SearchOption } from 'types/search';
import { Box, Divider, Stack, Typography } from '@mui/material';
-import { FreeFlowText, SpaceBetweenFlex } from 'components/Container';
+import {
+ FreeFlowText,
+ SpaceBetweenFlex,
+} from '@ente/shared/components/Container';
import CollectionCard from 'components/Collections/CollectionCard';
import { ResultPreviewTile } from 'components/Collections/styledComponents';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/Search/SearchBar/searchInput/valueContainerWithIcon.tsx b/apps/photos/src/components/Search/SearchBar/searchInput/valueContainerWithIcon.tsx
index 0c41c7d3ae..8bf92a3106 100644
--- a/apps/photos/src/components/Search/SearchBar/searchInput/valueContainerWithIcon.tsx
+++ b/apps/photos/src/components/Search/SearchBar/searchInput/valueContainerWithIcon.tsx
@@ -7,7 +7,7 @@ import { components } from 'react-select';
import { SearchOption, SuggestionType } from 'types/search';
import SearchIcon from '@mui/icons-material/SearchOutlined';
import { SelectComponents } from 'react-select/src/components';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { Box } from '@mui/material';
const { ValueContainer } = components;
diff --git a/apps/photos/src/components/Search/SearchBar/styledComponents.tsx b/apps/photos/src/components/Search/SearchBar/styledComponents.tsx
index 63f32909f3..df1f93d2cc 100644
--- a/apps/photos/src/components/Search/SearchBar/styledComponents.tsx
+++ b/apps/photos/src/components/Search/SearchBar/styledComponents.tsx
@@ -2,7 +2,7 @@ import {
CenteredFlex,
FlexWrapper,
FluidContainer,
-} from 'components/Container';
+} from '@ente/shared/components/Container';
import { css, styled } from '@mui/material';
import { IMAGE_CONTAINER_MAX_WIDTH, MIN_COLUMNS } from 'constants/gallery';
diff --git a/apps/photos/src/components/Sidebar/AdvancedSettings.tsx b/apps/photos/src/components/Sidebar/AdvancedSettings.tsx
index a8f5113a0c..4a9a2049ab 100644
--- a/apps/photos/src/components/Sidebar/AdvancedSettings.tsx
+++ b/apps/photos/src/components/Sidebar/AdvancedSettings.tsx
@@ -14,7 +14,7 @@ import isElectron from 'is-electron';
import { logError } from '@ente/shared/sentry';
import { AppContext } from 'pages/_app';
import { ClipService } from 'services/clipService';
-import { VerticallyCenteredFlex } from 'components/Container';
+import { VerticallyCenteredFlex } from '@ente/shared/components/Container';
import { ClipExtractionStatus } from 'services/clipService';
import { formatNumber } from 'utils/number/format';
diff --git a/apps/photos/src/components/Sidebar/Header.tsx b/apps/photos/src/components/Sidebar/Header.tsx
index 836edaa4e2..40e6f0e700 100644
--- a/apps/photos/src/components/Sidebar/Header.tsx
+++ b/apps/photos/src/components/Sidebar/Header.tsx
@@ -1,7 +1,7 @@
import { IconButton } from '@mui/material';
import React from 'react';
import CloseIcon from '@mui/icons-material/Close';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import { EnteLogo } from '@ente/shared/components/EnteLogo';
interface IProps {
diff --git a/apps/photos/src/components/Sidebar/SubscriptionCard/clickOverlay.tsx b/apps/photos/src/components/Sidebar/SubscriptionCard/clickOverlay.tsx
index c1a7e92fc0..6338b5a1ab 100644
--- a/apps/photos/src/components/Sidebar/SubscriptionCard/clickOverlay.tsx
+++ b/apps/photos/src/components/Sidebar/SubscriptionCard/clickOverlay.tsx
@@ -1,5 +1,5 @@
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
-import { FlexWrapper, Overlay } from 'components/Container';
+import { FlexWrapper, Overlay } from '@ente/shared/components/Container';
import React from 'react';
export function ClickOverlay({ onClick }) {
return (
diff --git a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/index.tsx b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/index.tsx
index 3957e9d0ad..bfe92729d4 100644
--- a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/index.tsx
+++ b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/index.tsx
@@ -1,7 +1,7 @@
import { Legend } from './legend';
import { FamilyUsageProgressBar } from './progressBar';
import { Box, Stack, Typography } from '@mui/material';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import React from 'react';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/legend.tsx b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/legend.tsx
index 34b544d346..442a73ed76 100644
--- a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/legend.tsx
+++ b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/family/usageSection/legend.tsx
@@ -1,5 +1,5 @@
import { Typography } from '@mui/material';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import React from 'react';
import { LegendIndicator } from '../../../styledComponents';
diff --git a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/index.tsx b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/index.tsx
index c36ebd7e5b..8f86627f26 100644
--- a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/index.tsx
+++ b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/index.tsx
@@ -2,7 +2,7 @@ import { IndividualSubscriptionCardContent } from './individual';
import { FamilySubscriptionCardContent } from './family';
import React from 'react';
import { hasNonAdminFamilyMembers } from 'utils/user/family';
-import { Overlay, SpaceBetweenFlex } from 'components/Container';
+import { Overlay, SpaceBetweenFlex } from '@ente/shared/components/Container';
import { UserDetails } from 'types/user';
interface Iprops {
diff --git a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx
index 6cb7cccf39..54fd5d56ca 100644
--- a/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx
+++ b/apps/photos/src/components/Sidebar/SubscriptionCard/contentOverlay/individual/usageSection.tsx
@@ -1,5 +1,5 @@
import { Box, Typography } from '@mui/material';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import React from 'react';
import { makeHumanReadableStorage } from 'utils/billing';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/Titlebar.tsx b/apps/photos/src/components/Titlebar.tsx
index eb77058958..7abe3a31bd 100644
--- a/apps/photos/src/components/Titlebar.tsx
+++ b/apps/photos/src/components/Titlebar.tsx
@@ -2,7 +2,7 @@ import Close from '@mui/icons-material/Close';
import ArrowBack from '@mui/icons-material/ArrowBack';
import { Box, IconButton, Typography } from '@mui/material';
import React from 'react';
-import { FlexWrapper } from './Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
interface Iprops {
title: string;
diff --git a/apps/photos/src/components/TwoFactor/Modal/Setup.tsx b/apps/photos/src/components/TwoFactor/Modal/Setup.tsx
index 1170f933fc..4112f1c06f 100644
--- a/apps/photos/src/components/TwoFactor/Modal/Setup.tsx
+++ b/apps/photos/src/components/TwoFactor/Modal/Setup.tsx
@@ -4,7 +4,7 @@ import { PHOTOS_PAGES as PAGES } from '@ente/shared/constants/pages';
import { useRouter } from 'next/router';
import { t } from 'i18next';
-import { VerticallyCentered } from 'components/Container';
+import { VerticallyCentered } from '@ente/shared/components/Container';
import { Button, Typography } from '@mui/material';
interface Iprops {
diff --git a/apps/photos/src/components/Upload/UploadProgress/title.tsx b/apps/photos/src/components/Upload/UploadProgress/title.tsx
index 615e68957d..d623cd5bac 100644
--- a/apps/photos/src/components/Upload/UploadProgress/title.tsx
+++ b/apps/photos/src/components/Upload/UploadProgress/title.tsx
@@ -1,7 +1,10 @@
import React, { useContext } from 'react';
import Close from '@mui/icons-material/Close';
import { DialogTitle, Box, Typography, Stack } from '@mui/material';
-import { IconButtonWithBG, SpaceBetweenFlex } from 'components/Container';
+import {
+ IconButtonWithBG,
+ SpaceBetweenFlex,
+} from '@ente/shared/components/Container';
import { UPLOAD_STAGES } from 'constants/upload';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/Upload/UploadStrategyChoiceModal.tsx b/apps/photos/src/components/Upload/UploadStrategyChoiceModal.tsx
index 78dba9a375..b27ec5c584 100644
--- a/apps/photos/src/components/Upload/UploadStrategyChoiceModal.tsx
+++ b/apps/photos/src/components/Upload/UploadStrategyChoiceModal.tsx
@@ -1,5 +1,8 @@
import { Button, Dialog, DialogContent, Typography } from '@mui/material';
-import { CenteredFlex, SpaceBetweenFlex } from 'components/Container';
+import {
+ CenteredFlex,
+ SpaceBetweenFlex,
+} from '@ente/shared/components/Container';
import DialogTitleWithCloseButton, {
dialogCloseHandler,
} from '@ente/shared/components/DialogBox/TitleWithCloseButton';
diff --git a/apps/photos/src/components/WatchFolder/mappingEntry/entryHeading.tsx b/apps/photos/src/components/WatchFolder/mappingEntry/entryHeading.tsx
index 6d1912de7f..9034944d75 100644
--- a/apps/photos/src/components/WatchFolder/mappingEntry/entryHeading.tsx
+++ b/apps/photos/src/components/WatchFolder/mappingEntry/entryHeading.tsx
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
import { CircularProgress, Typography } from '@mui/material';
import watchFolderService from 'services/watchFolder/watchFolderService';
import { AppContext } from 'pages/_app';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { WatchMapping } from 'types/watchFolder';
interface Iprops {
diff --git a/apps/photos/src/components/WatchFolder/mappingEntry/index.tsx b/apps/photos/src/components/WatchFolder/mappingEntry/index.tsx
index 441d65d8d1..e5b16a6b10 100644
--- a/apps/photos/src/components/WatchFolder/mappingEntry/index.tsx
+++ b/apps/photos/src/components/WatchFolder/mappingEntry/index.tsx
@@ -1,7 +1,10 @@
import { EntryContainer } from '../styledComponents';
import React from 'react';
import { Tooltip, Typography } from '@mui/material';
-import { HorizontalFlex, SpaceBetweenFlex } from 'components/Container';
+import {
+ HorizontalFlex,
+ SpaceBetweenFlex,
+} from '@ente/shared/components/Container';
import { WatchMapping } from 'types/watchFolder';
import { AppContext } from 'pages/_app';
import FolderOpenIcon from '@mui/icons-material/FolderOpen';
diff --git a/apps/photos/src/components/WatchFolder/mappingList/noMappingsContent/noMappingsContent.tsx b/apps/photos/src/components/WatchFolder/mappingList/noMappingsContent/noMappingsContent.tsx
index e1791a24e4..ec29e0a76b 100644
--- a/apps/photos/src/components/WatchFolder/mappingList/noMappingsContent/noMappingsContent.tsx
+++ b/apps/photos/src/components/WatchFolder/mappingList/noMappingsContent/noMappingsContent.tsx
@@ -3,7 +3,7 @@ import React from 'react';
import { t } from 'i18next';
import { NoMappingsContainer } from '../../styledComponents';
-import { FlexWrapper } from 'components/Container';
+import { FlexWrapper } from '@ente/shared/components/Container';
import { CheckmarkIcon } from './checkmarkIcon';
export function NoMappingsContent() {
diff --git a/apps/photos/src/components/WatchFolder/styledComponents.tsx b/apps/photos/src/components/WatchFolder/styledComponents.tsx
index d400d9e015..beac009db4 100644
--- a/apps/photos/src/components/WatchFolder/styledComponents.tsx
+++ b/apps/photos/src/components/WatchFolder/styledComponents.tsx
@@ -1,7 +1,6 @@
-import {} from './../Container';
import { Box } from '@mui/material';
import { styled } from '@mui/material/styles';
-import { VerticallyCentered } from 'components/Container';
+import { VerticallyCentered } from '@ente/shared/components/Container';
export const MappingsContainer = styled(Box)(() => ({
height: '278px',
diff --git a/apps/photos/src/components/pages/dedupe/SelectedFileOptions.tsx b/apps/photos/src/components/pages/dedupe/SelectedFileOptions.tsx
index 0bdc0fad1e..d4b7709e09 100644
--- a/apps/photos/src/components/pages/dedupe/SelectedFileOptions.tsx
+++ b/apps/photos/src/components/pages/dedupe/SelectedFileOptions.tsx
@@ -1,4 +1,4 @@
-import { FluidContainer } from 'components/Container';
+import { FluidContainer } from '@ente/shared/components/Container';
import { SelectionBar } from '@ente/shared/components/Navbar/SelectionBar';
import { useContext } from 'react';
import { Box, IconButton, Tooltip } from '@mui/material';
diff --git a/apps/photos/src/components/pages/gallery/Navbar.tsx b/apps/photos/src/components/pages/gallery/Navbar.tsx
index 7af0c3b82d..b873f0777e 100644
--- a/apps/photos/src/components/pages/gallery/Navbar.tsx
+++ b/apps/photos/src/components/pages/gallery/Navbar.tsx
@@ -8,7 +8,7 @@ import { UpdateSearch } from 'types/search';
import UploadButton from 'components/Upload/UploadButton';
import { IconButton, Typography } from '@mui/material';
import ArrowBack from '@mui/icons-material/ArrowBack';
-import { FlexWrapper, HorizontalFlex } from 'components/Container';
+import { FlexWrapper, HorizontalFlex } from '@ente/shared/components/Container';
import { t } from 'i18next';
import { AppContext } from 'pages/_app';
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/card/paid.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/card/paid.tsx
index 3455f5cdbd..68160a0ec6 100644
--- a/apps/photos/src/components/pages/gallery/PlanSelector/card/paid.tsx
+++ b/apps/photos/src/components/pages/gallery/PlanSelector/card/paid.tsx
@@ -2,7 +2,7 @@ import Close from '@mui/icons-material/Close';
import { IconButton, Stack } from '@mui/material';
import Box from '@mui/material/Box';
import Typography from '@mui/material/Typography';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import React from 'react';
import { t } from 'i18next';
import { convertBytesToGBs, isSubscriptionCancelled } from 'utils/billing';
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx
index 326ade8e22..724b92abc0 100644
--- a/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx
+++ b/apps/photos/src/components/pages/gallery/PlanSelector/manageSubscription/button.tsx
@@ -1,6 +1,6 @@
import ChevronRight from '@mui/icons-material/ChevronRight';
import { Button, ButtonProps } from '@mui/material';
-import { FluidContainer } from 'components/Container';
+import { FluidContainer } from '@ente/shared/components/Container';
const ManageSubscriptionButton = ({ children, ...props }: ButtonProps) => (
<Button size="large" endIcon={<ChevronRight />} {...props}>
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/plans/FreePlanRow.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/plans/FreePlanRow.tsx
index 66e70ff45a..06e4ae40b0 100644
--- a/apps/photos/src/components/pages/gallery/PlanSelector/plans/FreePlanRow.tsx
+++ b/apps/photos/src/components/pages/gallery/PlanSelector/plans/FreePlanRow.tsx
@@ -1,6 +1,6 @@
import ArrowForward from '@mui/icons-material/ArrowForward';
import { Box, IconButton, styled, Typography } from '@mui/material';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import React from 'react';
import { t } from 'i18next';
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/plans/button.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/plans/button.tsx
index 3377636039..fa5d5c0fb0 100644
--- a/apps/photos/src/components/pages/gallery/PlanSelector/plans/button.tsx
+++ b/apps/photos/src/components/pages/gallery/PlanSelector/plans/button.tsx
@@ -1,7 +1,7 @@
import ChevronRight from '@mui/icons-material/ChevronRight';
import Done from '@mui/icons-material/Done';
import { Box, Button } from '@mui/material';
-import { SpaceBetweenFlex } from 'components/Container';
+import { SpaceBetweenFlex } from '@ente/shared/components/Container';
import React from 'react';
import { t } from 'i18next';
export function PlanIconButton({
diff --git a/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx b/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx
index e4a6068718..b05557c695 100644
--- a/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx
+++ b/apps/photos/src/components/pages/gallery/PlanSelector/plans/planRow.tsx
@@ -5,7 +5,7 @@ import {
convertBytesToGBs,
hasPaidSubscription,
} from 'utils/billing';
-import { FlexWrapper, FluidContainer } from 'components/Container';
+import { FlexWrapper, FluidContainer } from '@ente/shared/components/Container';
import ArrowForward from '@mui/icons-material/ArrowForward';
import { PLAN_PERIOD } from 'constants/gallery';
import Done from '@mui/icons-material/Done';
diff --git a/apps/photos/src/components/pages/gallery/PreviewCard.tsx b/apps/photos/src/components/pages/gallery/PreviewCard.tsx
index 4231bead2f..cbdae568ca 100644
--- a/apps/photos/src/components/pages/gallery/PreviewCard.tsx
+++ b/apps/photos/src/components/pages/gallery/PreviewCard.tsx
@@ -10,7 +10,7 @@ import { PublicCollectionGalleryContext } from 'utils/publicCollectionGallery';
import PublicCollectionDownloadManager from 'services/publicCollectionDownloadManager';
import { DeduplicateContext } from 'pages/deduplicate';
import { logError } from '@ente/shared/sentry';
-import { Overlay } from 'components/Container';
+import { Overlay } from '@ente/shared/components/Container';
import { TRASH_SECTION } from 'constants/collection';
import { formatDateRelative } from '@ente/shared/time/format';
import {
diff --git a/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx b/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx
index 697031f93f..acde23b0b6 100644
--- a/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx
+++ b/apps/photos/src/components/pages/gallery/SelectedFileOptions.tsx
@@ -3,7 +3,7 @@ import {
CollectionSelectorIntent,
SetCollectionSelectorAttributes,
} from 'types/gallery';
-import { FluidContainer } from 'components/Container';
+import { FluidContainer } from '@ente/shared/components/Container';
import { COLLECTION_OPS_TYPE } from 'utils/collection';
import {
ALL_SECTION,
diff --git a/apps/photos/src/components/pages/sharedAlbum/Navbar.tsx b/apps/photos/src/components/pages/sharedAlbum/Navbar.tsx
index 25513e3995..e4e6259262 100644
--- a/apps/photos/src/components/pages/sharedAlbum/Navbar.tsx
+++ b/apps/photos/src/components/pages/sharedAlbum/Navbar.tsx
@@ -1,5 +1,5 @@
import { EnteLinkLogo } from '@ente/shared/components/Navbar/EnteLinkLogo';
-import { FluidContainer } from 'components/Container';
+import { FluidContainer } from '@ente/shared/components/Container';
import NavbarBase from '@ente/shared/components/Navbar/base';
import UploadButton from 'components/Upload/UploadButton';
import React, { useContext } from 'react';
diff --git a/apps/photos/src/pages/deduplicate/index.tsx b/apps/photos/src/pages/deduplicate/index.tsx
index 5d8f2de6bc..f4369682a6 100644
--- a/apps/photos/src/pages/deduplicate/index.tsx
+++ b/apps/photos/src/pages/deduplicate/index.tsx
@@ -26,7 +26,7 @@ import { getKey, SESSION_KEYS } from '@ente/shared/storage/sessionStorage';
import { styled } from '@mui/material';
import { getLatestCollections } from 'services/collectionService';
import EnteSpinner from '@ente/shared/components/EnteSpinner';
-import { VerticallyCentered } from 'components/Container';
+import { VerticallyCentered } from '@ente/shared/components/Container';
import Typography from '@mui/material/Typography';
import useMemoSingleThreaded from '@ente/shared/hooks/useMemoSingleThreaded';
import InMemoryStore, { MS_KEYS } from '@ente/shared/storage/InMemoryStore';
diff --git a/apps/photos/src/pages/gallery/index.tsx b/apps/photos/src/pages/gallery/index.tsx
index bf222ccaf2..ff3444fb3a 100644
--- a/apps/photos/src/pages/gallery/index.tsx
+++ b/apps/photos/src/pages/gallery/index.tsx
@@ -109,7 +109,7 @@ import useFileInput from '@ente/shared/hooks/useFileInput';
import { User } from '@ente/shared/user/types';
import { FamilyData } from 'types/user';
import { getData, LS_KEYS } from '@ente/shared/storage/localStorage';
-import { CenteredFlex } from 'components/Container';
+import { CenteredFlex } from '@ente/shared/components/Container';
import { checkConnectivity } from 'utils/common';
import { SYNC_INTERVAL_IN_MICROSECONDS } from 'constants/gallery';
import ElectronAPIs from '@ente/shared/electron';
diff --git a/apps/photos/src/pages/shared-albums/index.tsx b/apps/photos/src/pages/shared-albums/index.tsx
index 8ba0638c9d..22b37fc818 100644
--- a/apps/photos/src/pages/shared-albums/index.tsx
+++ b/apps/photos/src/pages/shared-albums/index.tsx
@@ -24,7 +24,7 @@ import {
VerticallyCentered,
CenteredFlex,
SpaceBetweenFlex,
-} from 'components/Container';
+} from '@ente/shared/components/Container';
import { t } from 'i18next';
import EnteSpinner from '@ente/shared/components/EnteSpinner';