Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(frontend): move ScrollableShadows into lemon-ui (#126840)

Paul D'Ambra9e78f92f1a78
diff --git a/common/storybook/storybook-timings.json b/common/storybook/storybook-timings.json
index 3bd12e45effd..8b234d37522f 100644
--- a/common/storybook/storybook-timings.json
+++ b/common/storybook/storybook-timings.json
@@ -359,7 +359,7 @@
"chromium": 12.5,
"webkit": 3.526
},
- "frontend/src/lib/components/ScrollableShadows/ScrollableShadows.stories.tsx": {
+ "frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.stories.tsx": {
"chromium": 9.218,
"webkit": 3.56
},
diff --git a/frontend/bin/layer-baseline.txt b/frontend/bin/layer-baseline.txt
index edce7b1bddc4..4920450e095e 100644
--- a/frontend/bin/layer-baseline.txt
+++ b/frontend/bin/layer-baseline.txt
@@ -362,7 +362,6 @@ frontend/src/lib/hooks/useKeyboardHotkeys.tsx -> frontend/src/lib/posthog-typed.
frontend/src/lib/hooks/useThemedHtml.ts -> frontend/src/lib/logic/themeLogic.ts
frontend/src/lib/hooks/useThemedHtml.ts -> frontend/src/scenes/sceneLogic.tsx
frontend/src/lib/integrations/VercelIntegrationSuffix.tsx -> frontend/src/scenes/settings/organization/organizationIntegrationsLogic.ts
-frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx -> frontend/src/scenes/teamLogic.tsx
frontend/src/lib/lemon-ui/LemonColor/LemonColorButton.tsx -> frontend/src/lib/logic/dataThemeLogic.tsx
frontend/src/lib/lemon-ui/LemonColor/LemonColorGlyph.tsx -> frontend/src/lib/logic/dataThemeLogic.tsx
@@ -386,14 +385,11 @@ frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.tsx -> fronten
frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.tsx -> frontend/src/lib/components/RichContentEditor/types.ts
frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.tsx -> frontend/src/lib/components/RichContentEditor/utils.ts
frontend/src/lib/lemon-ui/LemonRichContent/LemonRichContentEditor.tsx -> frontend/src/lib/logic/preflightLogic.tsx
-frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
frontend/src/lib/lemon-ui/LemonTable/columnUtils.tsx -> frontend/src/lib/components/TZLabel/index.tsx
frontend/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.tsx -> frontend/src/lib/components/Cards/TextCard/TextCard.tsx
frontend/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.tsx -> frontend/src/lib/components/EmojiPicker/EmojiPickerPopover.tsx
frontend/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown.tsx -> frontend/src/lib/logic/preflightLogic.tsx
-frontend/src/lib/lemon-ui/LemonTree/LemonTree.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
frontend/src/lib/lemon-ui/Link/Link.tsx -> frontend/src/scenes/urls.ts
-frontend/src/lib/lemon-ui/Popover/Popover.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.tsx -> frontend/src/lib/components/HedgehogMode/HedgehogModeStatic.tsx
frontend/src/lib/lemon-ui/ProfilePicture/ProfilePicture.tsx -> frontend/src/scenes/userLogic.ts
frontend/src/lib/logic/apiStatusLogic.ts -> frontend/src/scenes/authentication/two-factor-setup/twoFactorLogic.ts
@@ -406,10 +402,6 @@ frontend/src/lib/signals/SignalReportFixOrStatus.tsx -> products/signals/fronten
frontend/src/lib/signals/SignalReportFixOrStatus.tsx -> products/signals/frontend/inbox/utils/reportPresentation.ts
frontend/src/lib/signals/SignalReportFixOrStatus.tsx -> products/signals/frontend/inbox/utils/reportPullRequests.ts
frontend/src/lib/signals/prState.ts -> products/signals/frontend/inbox/types.ts
-frontend/src/lib/ui/Combobox/Combobox.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
-frontend/src/lib/ui/ContextMenu/ContextMenu.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
-frontend/src/lib/ui/DropdownMenu/DropdownMenu.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
-frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.tsx -> frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
frontend/src/lib/utils/accessControlUtils.ts -> frontend/src/scenes/sceneTypes.ts
frontend/src/lib/utils/dateFilters.ts -> frontend/src/lib/components/DateFilter/types.ts
frontend/src/lib/utils/deleteWithUndo.tsx -> frontend/src/layout/panel-layout/ProjectTree/projectTreeLogic.tsx
diff --git a/frontend/src/layout/navigation-3000/components/ScenePanelColumn.tsx b/frontend/src/layout/navigation-3000/components/ScenePanelColumn.tsx
index 1b9ce8868c8b..13901a87c255 100644
--- a/frontend/src/layout/navigation-3000/components/ScenePanelColumn.tsx
+++ b/frontend/src/layout/navigation-3000/components/ScenePanelColumn.tsx
@@ -1,7 +1,7 @@
import { useActions, useValues } from 'kea'
import { useCallback, useEffect, useRef } from 'react'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
import { panelLayoutLogic } from '../../panel-layout/panelLayoutLogic'
diff --git a/frontend/src/layout/navigation-3000/sidepanel/SidePanelContentContainer.tsx b/frontend/src/layout/navigation-3000/sidepanel/SidePanelContentContainer.tsx
index 6f80775b6c8e..0bf391c3d340 100644
--- a/frontend/src/layout/navigation-3000/sidepanel/SidePanelContentContainer.tsx
+++ b/frontend/src/layout/navigation-3000/sidepanel/SidePanelContentContainer.tsx
@@ -1,4 +1,4 @@
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
export function SidePanelContentContainer({
diff --git a/frontend/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.tsx b/frontend/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.tsx
index 9f64a6f38152..37be5486f7c4 100644
--- a/frontend/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.tsx
+++ b/frontend/src/layout/navigation-3000/sidepanel/panels/activity/SidePanelActivity.tsx
@@ -9,8 +9,8 @@ import { ActivityLogSubscribeMenu } from 'lib/components/ActivityLog/ActivityLog
import { humanizeScope } from 'lib/components/ActivityLog/humanizeActivity'
import { MemberSelect } from 'lib/components/MemberSelect'
import { PayGateMini } from 'lib/components/PayGateMini/PayGateMini'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { FEATURE_FLAGS } from 'lib/constants'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { featureFlagLogic } from 'lib/logic/featureFlagLogic'
import { userHasAccess } from 'lib/utils/accessControlUtils'
import { urls } from 'scenes/urls'
diff --git a/frontend/src/layout/panel-layout/DatabaseTree/DatabaseTree.tsx b/frontend/src/layout/panel-layout/DatabaseTree/DatabaseTree.tsx
index 2aa3b3ef487b..589e9f870e52 100644
--- a/frontend/src/layout/panel-layout/DatabaseTree/DatabaseTree.tsx
+++ b/frontend/src/layout/panel-layout/DatabaseTree/DatabaseTree.tsx
@@ -4,8 +4,8 @@ import { memo, useRef } from 'react'
import { IconSidebarClose } from '@posthog/icons'
import { Resizer } from 'lib/components/Resizer/Resizer'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { TreeDataItem } from 'lib/lemon-ui/LemonTree/LemonTree'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { cn } from 'lib/utils/css-classes'
import { ConnectionSelector } from 'scenes/data-warehouse/editor/ConnectionSelector'
diff --git a/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx b/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
index 58364a92f080..6fe79c10afbe 100644
--- a/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
+++ b/frontend/src/layout/panel-layout/ProjectTree/ProjectTree.tsx
@@ -14,13 +14,13 @@ import {
} from '@posthog/icons'
import { itemSelectModalLogic } from 'lib/components/FileSystem/ItemSelectModal/itemSelectModalLogic'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { dayjs } from 'lib/dayjs'
import { useLocalStorage } from 'lib/hooks/useLocalStorage'
import { LemonTag } from 'lib/lemon-ui/LemonTag'
import { LemonTree, LemonTreeRef, LemonTreeSize, TreeDataItem } from 'lib/lemon-ui/LemonTree/LemonTree'
import { TreeNodeDisplayIcon } from 'lib/lemon-ui/LemonTree/LemonTreeUtils'
import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture/ProfilePicture'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { ContextMenuGroup, ContextMenuItem } from 'lib/ui/ContextMenu/ContextMenu'
import { DropdownMenuGroup } from 'lib/ui/DropdownMenu/DropdownMenu'
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabChat.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabChat.tsx
index 7a37256de30c..8a5cabf6d47a 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabChat.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabChat.tsx
@@ -6,9 +6,9 @@ import { memo, useId, useMemo, useState } from 'react'
import { IconPlusSmall, IconSearch } from '@posthog/icons'
import { LemonInput, LemonSkeleton, Tooltip } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'
import { Link } from 'lib/lemon-ui/Link'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { Collapsible } from 'lib/ui/Collapsible/Collapsible'
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
index de1f50c83ae6..115ffd938677 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabFiles.tsx
@@ -3,8 +3,8 @@ import { useActions, useValues } from 'kea'
import { Spinner } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { TreeNodeDroppable } from 'lib/lemon-ui/LemonTree/LemonTreeUtils'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { panelLayoutLogic } from '../../panelLayoutLogic'
import { ProjectTree } from '../../ProjectTree/ProjectTree'
diff --git a/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx b/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
index 99edb0dc3148..681106f9ca66 100644
--- a/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
+++ b/frontend/src/layout/panel-layout/navbar/tabs/NavTabProducts.tsx
@@ -1,7 +1,7 @@
import { useActions, useValues } from 'kea'
import { useState } from 'react'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { Collapsible } from 'lib/ui/Collapsible/Collapsible'
import { cn } from 'lib/utils/css-classes'
diff --git a/frontend/src/lib/components/Account/NewAccountMenu.tsx b/frontend/src/lib/components/Account/NewAccountMenu.tsx
index ec59ff8bb669..c86dd149c235 100644
--- a/frontend/src/lib/components/Account/NewAccountMenu.tsx
+++ b/frontend/src/lib/components/Account/NewAccountMenu.tsx
@@ -16,6 +16,7 @@ import {
import { Link } from 'lib/lemon-ui/Link/Link'
import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture/ProfilePicture'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { UploadedLogo } from 'lib/lemon-ui/UploadedLogo/UploadedLogo'
import { inviteLogic } from 'lib/logic/inviteLogic'
import { preflightLogic } from 'lib/logic/preflightLogic'
@@ -36,7 +37,6 @@ import { userLogic } from 'scenes/userLogic'
import { globalModalsLogic } from '~/layout/globalModalsLogic'
import { AvailableFeature } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { RenderKeybind } from '../Shortcuts/RenderKeybind'
import { keyBinds } from '../Shortcuts/shortcuts'
import { upgradeModalLogic } from '../UpgradeModal/upgradeModalLogic'
diff --git a/frontend/src/lib/components/Account/OrgSwitcher.tsx b/frontend/src/lib/components/Account/OrgSwitcher.tsx
index 7aded62f7b77..e07ea9be613f 100644
--- a/frontend/src/lib/components/Account/OrgSwitcher.tsx
+++ b/frontend/src/lib/components/Account/OrgSwitcher.tsx
@@ -8,6 +8,7 @@ import { upgradeModalLogic } from 'lib/components/UpgradeModal/upgradeModalLogic
import { IconBlank } from 'lib/lemon-ui/icons'
import { KeyboardShortcut } from 'lib/lemon-ui/KeyboardShortcut/KeyboardShortcut'
import { LemonTag } from 'lib/lemon-ui/LemonTag/LemonTag'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { UploadedLogo } from 'lib/lemon-ui/UploadedLogo'
import { preflightLogic } from 'lib/logic/preflightLogic'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
@@ -21,7 +22,6 @@ import { globalModalsLogic } from '~/layout/globalModalsLogic'
import { AccessLevelIndicator } from '~/layout/navigation/AccessLevelIndicator'
import { AvailableFeature, OrganizationBasicType } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { newAccountMenuLogic } from './newAccountMenuLogic'
import { pendingInvitesLogic, PendingInviteForCurrentUser } from './pendingInvitesLogic'
diff --git a/frontend/src/lib/components/Account/ProjectSwitcher.tsx b/frontend/src/lib/components/Account/ProjectSwitcher.tsx
index c823a97fb96a..e83b5ea51968 100644
--- a/frontend/src/lib/components/Account/ProjectSwitcher.tsx
+++ b/frontend/src/lib/components/Account/ProjectSwitcher.tsx
@@ -7,6 +7,7 @@ import { IconCheck, IconPlusSmall, IconSearch, IconX } from '@posthog/icons'
import { upgradeModalLogic } from 'lib/components/UpgradeModal/upgradeModalLogic'
import { IconBlank } from 'lib/lemon-ui/icons'
import { KeyboardShortcut } from 'lib/lemon-ui/KeyboardShortcut/KeyboardShortcut'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { preflightLogic } from 'lib/logic/preflightLogic'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { MenuSeparator } from 'lib/ui/Menus/Menus'
@@ -19,7 +20,6 @@ import { isAuthenticatedTeam, teamLogic } from 'scenes/teamLogic'
import { globalModalsLogic } from '~/layout/globalModalsLogic'
import { AvailableFeature } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { CreateProjectItem, ListItem, newAccountMenuLogic, ProjectListItem } from './newAccountMenuLogic'
import { ProjectFreshnessIndicator } from './ProjectFreshnessIndicator'
import { ProjectName } from './ProjectMenu'
diff --git a/frontend/src/lib/components/DateFilter/DateFilter.tsx b/frontend/src/lib/components/DateFilter/DateFilter.tsx
index c23657fad517..fce21b454d86 100644
--- a/frontend/src/lib/components/DateFilter/DateFilter.tsx
+++ b/frontend/src/lib/components/DateFilter/DateFilter.tsx
@@ -13,10 +13,10 @@ import {
DateFilterView,
NO_OVERRIDE_RANGE_PLACEHOLDER,
} from 'lib/components/DateFilter/types'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { dayjs } from 'lib/dayjs'
import { LemonCalendarSelect, LemonCalendarSelectProps } from 'lib/lemon-ui/LemonCalendar/LemonCalendarSelect'
import { LemonCalendarRange } from 'lib/lemon-ui/LemonCalendarRange/LemonCalendarRange'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { Tooltip } from 'lib/lemon-ui/Tooltip'
import { dateFilterToText, dateMapping } from 'lib/utils/dateFilters'
import { formatResolvedDateRange } from 'lib/utils/datetime'
diff --git a/frontend/src/lib/components/FileSystem/FolderSelect/FolderSelect.tsx b/frontend/src/lib/components/FileSystem/FolderSelect/FolderSelect.tsx
index 5ba27c7b673f..c2c1b828b7af 100644
--- a/frontend/src/lib/components/FileSystem/FolderSelect/FolderSelect.tsx
+++ b/frontend/src/lib/components/FileSystem/FolderSelect/FolderSelect.tsx
@@ -12,7 +12,7 @@ import { DropdownMenuGroup, DropdownMenuItem } from 'lib/ui/DropdownMenu/Dropdow
import { cn } from 'lib/utils/css-classes'
import { ProjectTreeLogicProps, projectTreeLogic } from '~/layout/panel-layout/ProjectTree/projectTreeLogic'
-import { ScrollableShadows } from '~/lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from '~/lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { FileSystemEntry } from '~/queries/schema/schema-general'
export interface FolderSelectProps {
diff --git a/frontend/src/lib/components/FileSystem/ItemSelectModal/ItemSelectModal.tsx b/frontend/src/lib/components/FileSystem/ItemSelectModal/ItemSelectModal.tsx
index 97236b04cce6..a43936bb570b 100644
--- a/frontend/src/lib/components/FileSystem/ItemSelectModal/ItemSelectModal.tsx
+++ b/frontend/src/lib/components/FileSystem/ItemSelectModal/ItemSelectModal.tsx
@@ -16,7 +16,7 @@ import { ButtonPrimitive, ButtonPrimitiveProps } from 'lib/ui/Button/ButtonPrimi
import { cn } from 'lib/utils/css-classes'
import { ProjectTreeLogicProps, projectTreeLogic } from '~/layout/panel-layout/ProjectTree/projectTreeLogic'
-import { ScrollableShadows } from '~/lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from '~/lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { FileSystemEntry } from '~/queries/schema/schema-general'
import { itemSelectModalLogic } from './itemSelectModalLogic'
diff --git a/frontend/src/lib/components/HelpMenu/HelpMenu.tsx b/frontend/src/lib/components/HelpMenu/HelpMenu.tsx
index 9d13e144b0ce..6069a6ac7163 100644
--- a/frontend/src/lib/components/HelpMenu/HelpMenu.tsx
+++ b/frontend/src/lib/components/HelpMenu/HelpMenu.tsx
@@ -8,6 +8,7 @@ import { IconMenu, IconWithBadge } from 'lib/lemon-ui/icons'
import { KeyboardShortcut } from 'lib/lemon-ui/KeyboardShortcut/KeyboardShortcut'
import { LemonBadge } from 'lib/lemon-ui/LemonBadge/LemonBadge'
import { Link } from 'lib/lemon-ui/Link/Link'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { preflightLogic } from 'lib/logic/preflightLogic'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { Label } from 'lib/ui/Label/Label'
@@ -21,7 +22,6 @@ import { userLogic } from 'scenes/userLogic'
import { sidePanelStateLogic } from '~/layout/navigation-3000/sidepanel/sidePanelStateLogic'
import { SidePanelTab } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { RenderKeybind } from '../Shortcuts/RenderKeybind'
import { keyBinds } from '../Shortcuts/shortcuts'
import { openCHQueriesDebugModal } from '../Shortcuts/utils/DebugCHQueries'
diff --git a/frontend/src/lib/components/NotFound/index.tsx b/frontend/src/lib/components/NotFound/index.tsx
index 47797346eeb1..ff39b5cb4bb8 100644
--- a/frontend/src/lib/components/NotFound/index.tsx
+++ b/frontend/src/lib/components/NotFound/index.tsx
@@ -11,6 +11,7 @@ import { LemonButton, LemonCheckbox, ProfilePicture, SpinnerOverlay, lemonToast
import { useOnMountEffect } from 'lib/hooks/useOnMountEffect'
import { LemonMenuOverlay } from 'lib/lemon-ui/LemonMenu/LemonMenu'
import { Link } from 'lib/lemon-ui/Link'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { preflightLogic } from 'lib/logic/preflightLogic'
import { cn } from 'lib/utils/css-classes'
import { getAppContext } from 'lib/utils/getAppContext'
@@ -23,7 +24,6 @@ import { adminLoginAs } from '~/layout/navigation/ImpersonationNotice/adminLogin
import { ImpersonationReasonModal } from '~/layout/navigation/ImpersonationNotice/ImpersonationReasonModal'
import { ActivityTab, PropertyFilterType, PropertyOperator, UserBasicType } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { supportLogic } from '../Support/supportLogic'
export interface NotFoundProps {
diff --git a/frontend/src/lib/components/NotificationsMenu/NotificationsPanel.tsx b/frontend/src/lib/components/NotificationsMenu/NotificationsPanel.tsx
index 09846697a16d..51ea8414ec5a 100644
--- a/frontend/src/lib/components/NotificationsMenu/NotificationsPanel.tsx
+++ b/frontend/src/lib/components/NotificationsMenu/NotificationsPanel.tsx
@@ -3,7 +3,7 @@ import { useActions, useValues } from 'kea'
import { IconArchive, IconArrowRight, IconNotification } from '@posthog/icons'
import { LemonButton, LemonSkeleton } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import {
NotificationGroup,
diff --git a/frontend/src/lib/components/Search/Search.tsx b/frontend/src/lib/components/Search/Search.tsx
index 8b2a6548f073..237a2adee9ba 100644
--- a/frontend/src/lib/components/Search/Search.tsx
+++ b/frontend/src/lib/components/Search/Search.tsx
@@ -22,6 +22,7 @@ import { filterSearchItems } from 'lib/components/Search/utils'
import { useFeatureFlag } from 'lib/hooks/useFeatureFlag'
import { KeyboardShortcut } from 'lib/lemon-ui/KeyboardShortcut/KeyboardShortcut'
import { TreeDataItem } from 'lib/lemon-ui/LemonTree/LemonTree'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { themeLogic } from 'lib/logic/themeLogic'
import posthog from 'lib/posthog-typed'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
@@ -37,7 +38,6 @@ import { userLogic } from 'scenes/userLogic'
import { MenuItems } from '~/layout/panel-layout/ProjectTree/menus/MenuItems'
import type { UserTheme } from '~/types'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
import { getIconForItem, getItemTypeDisplayName } from './searchItemDisplay'
import { SearchItem } from './searchItems'
import { STARRED_LIMIT } from './searchListsLogic'
diff --git a/frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.tsx b/frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.tsx
index f35559c2b2d5..baa0d82479a5 100644
--- a/frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.tsx
+++ b/frontend/src/lib/components/SearchAutocomplete/SearchAutocomplete.tsx
@@ -3,6 +3,7 @@ import { Fragment, forwardRef, useEffect, useRef, useState } from 'react'
import { IconInfo, IconMinusSmall, IconSearch, IconX } from '@posthog/icons'
import { LemonInput } from 'lib/lemon-ui/LemonInput'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { ListBox } from 'lib/ui/ListBox/ListBox'
import {
@@ -11,8 +12,6 @@ import {
PopoverPrimitiveTrigger,
} from 'lib/ui/PopoverPrimitive/PopoverPrimitive'
-import { ScrollableShadows } from '../ScrollableShadows/ScrollableShadows'
-
type Category = { label: string; value: string; hint?: string; icon?: React.ReactNode }
type Suggestion = { label: string; value: string; hint?: string; icon?: React.ReactNode }
type Hint = string
diff --git a/frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx b/frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx
index f7a8cddb7d3a..b0f9261f256d 100644
--- a/frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx
+++ b/frontend/src/lib/lemon-ui/LemonCalendar/LemonCalendar.tsx
@@ -6,9 +6,9 @@ import { Ref, forwardRef, useEffect, useState } from 'react'
import { IconChevronLeft, IconChevronRight } from '@posthog/icons'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { dayjs } from 'lib/dayjs'
import { LemonButton, LemonButtonProps } from 'lib/lemon-ui/LemonButton'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { range } from 'lib/utils/arrays'
import { teamLogic } from 'scenes/teamLogic'
diff --git a/frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx b/frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx
index 1cd3e2d7ba4a..5afe3c52ce7d 100644
--- a/frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx
+++ b/frontend/src/lib/lemon-ui/LemonTable/LemonTable.tsx
@@ -9,12 +9,12 @@ import React, { HTMLProps, useCallback, useEffect, useMemo, useRef, useState } f
import { IconInfo } from '@posthog/icons'
import { LemonCheckbox } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { useCellCopyContextMenu } from 'lib/hooks/useCellCopyContextMenu'
import { IconWithCount } from 'lib/lemon-ui/icons'
import { LemonButtonWithDropdown } from 'lib/lemon-ui/LemonButton'
import { More } from 'lib/lemon-ui/LemonButton/More'
import { LemonSkeleton } from 'lib/lemon-ui/LemonSkeleton'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { useColumnWidths } from '../../hooks/useColumnWidths'
import { PaginationAuto, PaginationControl, PaginationManual, usePagination } from '../PaginationControl'
diff --git a/frontend/src/lib/lemon-ui/LemonTree/LemonTree.tsx b/frontend/src/lib/lemon-ui/LemonTree/LemonTree.tsx
index 6c81858d5693..cd0a333fae0a 100644
--- a/frontend/src/lib/lemon-ui/LemonTree/LemonTree.tsx
+++ b/frontend/src/lib/lemon-ui/LemonTree/LemonTree.tsx
@@ -26,7 +26,7 @@ import React, {
import { IconEllipsis, IconUpload } from '@posthog/icons'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { ButtonGroupPrimitive, ButtonPrimitive } from 'lib/ui/Button/ButtonPrimitives'
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from 'lib/ui/DropdownMenu/DropdownMenu'
import { cn } from 'lib/utils/css-classes'
diff --git a/frontend/src/lib/lemon-ui/Popover/Popover.tsx b/frontend/src/lib/lemon-ui/Popover/Popover.tsx
index b56aaf35b04f..3a1a231358c3 100644
--- a/frontend/src/lib/lemon-ui/Popover/Popover.tsx
+++ b/frontend/src/lib/lemon-ui/Popover/Popover.tsx
@@ -27,9 +27,9 @@ import React, {
useState,
} from 'react'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { useFloatingContainer } from 'lib/hooks/useFloatingContainerContext'
import { CLICK_OUTSIDE_BLOCK_CLASS } from 'lib/hooks/useOutsideClickHandler'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { LemonTableLoader } from '../LemonTable/LemonTableLoader'
diff --git a/frontend/src/lib/components/ScrollableShadows/ScrollableShadows.scss b/frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.scss
similarity index 100%
rename from frontend/src/lib/components/ScrollableShadows/ScrollableShadows.scss
rename to frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.scss
diff --git a/frontend/src/lib/components/ScrollableShadows/ScrollableShadows.stories.tsx b/frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.stories.tsx
similarity index 100%
rename from frontend/src/lib/components/ScrollableShadows/ScrollableShadows.stories.tsx
rename to frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.stories.tsx
diff --git a/frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx b/frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.tsx
similarity index 100%
rename from frontend/src/lib/components/ScrollableShadows/ScrollableShadows.tsx
rename to frontend/src/lib/lemon-ui/ScrollableShadows/ScrollableShadows.tsx
diff --git a/frontend/src/lib/ui/Combobox/Combobox.tsx b/frontend/src/lib/ui/Combobox/Combobox.tsx
index 5505b6a1894b..0cbbc07a8d7e 100644
--- a/frontend/src/lib/ui/Combobox/Combobox.tsx
+++ b/frontend/src/lib/ui/Combobox/Combobox.tsx
@@ -12,7 +12,7 @@ import React, {
useState,
} from 'react'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { ListBox, ListBoxHandle } from 'lib/ui/ListBox/ListBox'
import { cn } from 'lib/utils/css-classes'
diff --git a/frontend/src/lib/ui/ContextMenu/ContextMenu.tsx b/frontend/src/lib/ui/ContextMenu/ContextMenu.tsx
index 67367491c229..921d82411dbd 100644
--- a/frontend/src/lib/ui/ContextMenu/ContextMenu.tsx
+++ b/frontend/src/lib/ui/ContextMenu/ContextMenu.tsx
@@ -3,7 +3,7 @@ import * as React from 'react'
import { IconCheckCircle } from '@posthog/icons'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
import { MenuSeparator } from '../Menus/Menus'
diff --git a/frontend/src/lib/ui/DropdownMenu/DropdownMenu.tsx b/frontend/src/lib/ui/DropdownMenu/DropdownMenu.tsx
index 302eb8dc8cd7..470ac4210ca7 100644
--- a/frontend/src/lib/ui/DropdownMenu/DropdownMenu.tsx
+++ b/frontend/src/lib/ui/DropdownMenu/DropdownMenu.tsx
@@ -3,7 +3,7 @@ import * as React from 'react'
import { IconCheck } from '@posthog/icons'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
import { Label } from '../Label/Label'
diff --git a/frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.tsx b/frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.tsx
index cb72f1519827..bbb965e41558 100644
--- a/frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.tsx
+++ b/frontend/src/lib/ui/SelectPrimitive/SelectPrimitive.tsx
@@ -3,7 +3,7 @@ import * as React from 'react'
import { IconCheck, IconChevronRight } from '@posthog/icons'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
import { ButtonPrimitive, ButtonPrimitiveProps } from '../Button/ButtonPrimitives'
diff --git a/frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.tsx b/frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.tsx
index 9604004c6277..b0f0bd2b9c42 100644
--- a/frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.tsx
+++ b/frontend/src/scenes/notebooks/Nodes/NotebookNodeQuery.tsx
@@ -4,8 +4,8 @@ import { useEffect, useMemo } from 'react'
import { LemonButton, LemonTag } from '@posthog/lemon-ui'
import { useComponentPanelState } from 'lib/components/MarkdownNotebook/componentPanelContext'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { LemonSkeleton } from 'lib/lemon-ui/LemonSkeleton'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { OutputTab } from 'scenes/data-warehouse/editor/outputPaneLogic'
import { insightDataLogic } from 'scenes/insights/insightDataLogic'
import { insightLogic } from 'scenes/insights/insightLogic'
diff --git a/frontend/src/scenes/project-homepage/ai-first/HomepageThread.tsx b/frontend/src/scenes/project-homepage/ai-first/HomepageThread.tsx
index c8b5281db2ac..7f5ec8d0c705 100644
--- a/frontend/src/scenes/project-homepage/ai-first/HomepageThread.tsx
+++ b/frontend/src/scenes/project-homepage/ai-first/HomepageThread.tsx
@@ -1,8 +1,8 @@
import { BindLogic, useActions, useValues } from 'kea'
import { Suspense, useEffect, useRef } from 'react'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { LemonSkeleton } from 'lib/lemon-ui/LemonSkeleton'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { uuid } from 'lib/utils/dom'
import { lazyWithRetry } from 'lib/utils/retryImport'
import { ThreadAutoScroller } from 'scenes/max/components/ThreadAutoScroller'
diff --git a/frontend/src/scenes/sessions/SessionPreview.tsx b/frontend/src/scenes/sessions/SessionPreview.tsx
index d3a09b5e006e..0c20434ceab9 100644
--- a/frontend/src/scenes/sessions/SessionPreview.tsx
+++ b/frontend/src/scenes/sessions/SessionPreview.tsx
@@ -4,9 +4,9 @@ import { useEffect } from 'react'
import { LemonButton, Link, Tooltip } from '@posthog/lemon-ui'
import { PropertiesTable } from 'lib/components/PropertiesTable'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { IconOpenInNew } from 'lib/lemon-ui/icons'
import { IconPlayCircle } from 'lib/lemon-ui/icons'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { urls } from 'scenes/urls'
diff --git a/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx b/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
index e6e2be4cb578..cd73feb6dab6 100644
--- a/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
+++ b/products/ai_observability/frontend/components/TraceTimeline/TraceTimeline.tsx
@@ -4,7 +4,7 @@ import { useMemo, useState } from 'react'
import { IconChevronDown, IconExpand45 } from '@posthog/icons'
import { LemonButton, LemonModal, Tooltip } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { cn } from 'lib/utils/css-classes'
import { LLMTraceEvent } from '~/queries/schema/schema-general'
diff --git a/products/persons/frontend/components/PersonPreview.tsx b/products/persons/frontend/components/PersonPreview.tsx
index 72e8f20fe7be..e79d00db186b 100644
--- a/products/persons/frontend/components/PersonPreview.tsx
+++ b/products/persons/frontend/components/PersonPreview.tsx
@@ -4,9 +4,9 @@ import { combineUrl } from 'kea-router'
import { LemonButton, Link } from '@posthog/lemon-ui'
import { PropertiesTable } from 'lib/components/PropertiesTable'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { IconOpenInNew } from 'lib/lemon-ui/icons'
import { ProfilePicture } from 'lib/lemon-ui/ProfilePicture'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { Spinner } from 'lib/lemon-ui/Spinner'
import { getDefaultEventsSceneQuery } from 'scenes/activity/explore/defaults'
import { NotebookSelectButton } from 'scenes/notebooks/NotebookSelectButton/NotebookSelectButton'
diff --git a/products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.tsx b/products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.tsx
index 701b7c47fd6b..5c43367a92d8 100644
--- a/products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.tsx
+++ b/products/product_analytics/frontend/insights/funnels/FunnelStepsBarChart/FunnelStepsBarChart.tsx
@@ -6,7 +6,7 @@ import { DEFAULT_MARGINS, FunnelChart, ValueLabels } from '@posthog/quill-charts
import type { FunnelChartConfig, FunnelStepClickData, TooltipContext } from '@posthog/quill-charts'
import { useChartTheme } from 'lib/charts/hooks'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { insightLogic } from 'scenes/insights/insightLogic'
import { groupsModel } from '~/models/groupsModel'
diff --git a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
index 8a1dbc5798bd..31216d3ddb2c 100644
--- a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
+++ b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelBuildDetail.tsx
@@ -17,8 +17,8 @@ import {
LemonTag,
} from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { LemonField } from 'lib/lemon-ui/LemonField/LemonField'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { urls } from 'scenes/urls'
import { ErrorBoundary } from '~/layout/ErrorBoundary'
diff --git a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelVariables.tsx b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelVariables.tsx
index bc843b15163a..1bca569a9a34 100644
--- a/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelVariables.tsx
+++ b/products/workflows/frontend/Workflows/hogflows/panel/HogFlowEditorPanelVariables.tsx
@@ -4,8 +4,8 @@ import { useState } from 'react'
import { IconPlus, IconX } from '@posthog/icons'
import { LemonButton, LemonCollapse, LemonDivider, LemonInput } from '@posthog/lemon-ui'
-import { ScrollableShadows } from 'lib/components/ScrollableShadows/ScrollableShadows'
import { LemonField } from 'lib/lemon-ui/LemonField/LemonField'
+import { ScrollableShadows } from 'lib/lemon-ui/ScrollableShadows/ScrollableShadows'
import { hogFlowEditorLogic } from '../hogFlowEditorLogic'
import { sanitizeVariableKey } from './hogFlowOutputMappingLogic'