diff --git a/src/components/demos/slider-demo.svelte b/src/components/demos/slider-demo.svelte
index e946249de..cdab04c9e 100644
--- a/src/components/demos/slider-demo.svelte
+++ b/src/components/demos/slider-demo.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/demos/switch-demo.svelte b/src/components/demos/switch-demo.svelte
index 9f2438d57..a5f7356ff 100644
--- a/src/components/demos/switch-demo.svelte
+++ b/src/components/demos/switch-demo.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/demos/tabs-demo.svelte b/src/components/demos/tabs-demo.svelte
index 825630b09..4a9fa3eb8 100644
--- a/src/components/demos/tabs-demo.svelte
+++ b/src/components/demos/tabs-demo.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/demos/toggle-demo.svelte b/src/components/demos/toggle-demo.svelte
index 95c112221..1a5373953 100644
--- a/src/components/demos/toggle-demo.svelte
+++ b/src/components/demos/toggle-demo.svelte
@@ -1,6 +1,6 @@
diff --git a/src/components/markdown/h1.svelte b/src/components/markdown/h1.svelte
index f66cf5aa5..5cea0d3c2 100644
--- a/src/components/markdown/h1.svelte
+++ b/src/components/markdown/h1.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/markdown/li.svelte b/src/components/markdown/li.svelte
index 4d9f0bfdf..55c065088 100644
--- a/src/components/markdown/li.svelte
+++ b/src/components/markdown/li.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/navigation/sidebar-nav-items.svelte b/src/components/navigation/sidebar-nav-items.svelte
index 2c9e9041c..aa6668fef 100644
--- a/src/components/navigation/sidebar-nav-items.svelte
+++ b/src/components/navigation/sidebar-nav-items.svelte
@@ -1,7 +1,7 @@
diff --git a/src/components/navigation/sidebar-nav-main-items.svelte b/src/components/navigation/sidebar-nav-main-items.svelte
index 5be119cf4..02ab1236a 100644
--- a/src/components/navigation/sidebar-nav-main-items.svelte
+++ b/src/components/navigation/sidebar-nav-main-items.svelte
@@ -1,8 +1,8 @@
diff --git a/src/components/page-header/page-header-description.svelte b/src/components/page-header/page-header-description.svelte
index ed7b10505..ec64499c2 100644
--- a/src/components/page-header/page-header-description.svelte
+++ b/src/components/page-header/page-header-description.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/page-header/page-header-heading.svelte b/src/components/page-header/page-header-heading.svelte
index 97999fef2..3390fb2d2 100644
--- a/src/components/page-header/page-header-heading.svelte
+++ b/src/components/page-header/page-header-heading.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/page-header/page-header.svelte b/src/components/page-header/page-header.svelte
index f645c26eb..8c81082d6 100644
--- a/src/components/page-header/page-header.svelte
+++ b/src/components/page-header/page-header.svelte
@@ -1,5 +1,5 @@
diff --git a/src/components/preview-switch.svelte b/src/components/preview-switch.svelte
index 81450aa49..d20d95957 100644
--- a/src/components/preview-switch.svelte
+++ b/src/components/preview-switch.svelte
@@ -1,6 +1,6 @@
- import { Menubar } from "$lib";
+ import { Menubar } from "$lib/index.js";
let bookmarks = false;
let fullUrls = true;
const profileRadioValue = "benoit";
diff --git a/src/components/toc/tree.svelte b/src/components/toc/tree.svelte
index bc6fd454b..b9f4e218a 100644
--- a/src/components/toc/tree.svelte
+++ b/src/components/toc/tree.svelte
@@ -1,5 +1,5 @@
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index ceb50b698..8f929814f 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -6,12 +6,12 @@
SiteHeader,
TableOfContents,
TailwindIndicator,
- } from "@/components";
- import { navigation } from "@/config";
+ } from "@/components/index.js";
+ import { navigation } from "@/config/index.js";
import { ModeWatcher } from "mode-watcher";
import "@/styles/app.postcss";
import { page } from "$app/stores";
- import { cn } from "@/utils";
+ import { cn } from "@/utils/index.js";
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 5d45a66cc..899302967 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -1,5 +1,5 @@
diff --git a/src/routes/+page.ts b/src/routes/+page.ts
index 343cda62d..17bd9dc82 100644
--- a/src/routes/+page.ts
+++ b/src/routes/+page.ts
@@ -1,5 +1,5 @@
import { redirect } from "@sveltejs/kit";
-import type { PageLoad } from "./$types";
+import type { PageLoad } from "./$types.js";
export const load: PageLoad = async () => {
redirect(303, "/docs/introduction");
diff --git a/src/routes/docs/+page.ts b/src/routes/docs/+page.ts
index c82a22cca..3c3ce1bad 100644
--- a/src/routes/docs/+page.ts
+++ b/src/routes/docs/+page.ts
@@ -1,5 +1,5 @@
import { redirect } from "@sveltejs/kit";
-import type { PageLoad } from "../$types";
+import type { PageLoad } from "../$types.js";
export const load: PageLoad = async () => {
redirect(303, "/docs/introduction");
diff --git a/src/routes/docs/[...slug]/+page.svelte b/src/routes/docs/[...slug]/+page.svelte
index a5930776c..31db579e8 100644
--- a/src/routes/docs/[...slug]/+page.svelte
+++ b/src/routes/docs/[...slug]/+page.svelte
@@ -1,8 +1,8 @@
diff --git a/src/tests/alert-dialog/AlertDialog.spec.ts b/src/tests/alert-dialog/AlertDialog.spec.ts
index 49c71c1e6..93812f772 100644
--- a/src/tests/alert-dialog/AlertDialog.spec.ts
+++ b/src/tests/alert-dialog/AlertDialog.spec.ts
@@ -1,11 +1,11 @@
import { render, screen, type Matcher, type MatcherOptions } from "@testing-library/svelte";
-import userEvent from "@testing-library/user-event";
+import { userEvent } from "@testing-library/user-event";
import { axe } from "jest-axe";
import { describe, it } from "vitest";
import AlertDialogTest from "./AlertDialogTest.svelte";
import { getTestKbd } from "../utils.js";
-import { sleep } from "$lib/internal";
-import type { AlertDialog } from "$lib";
+import { sleep } from "$lib/internal/index.js";
+import type { AlertDialog } from "$lib/index.js";
const kbd = getTestKbd();
diff --git a/src/tests/alert-dialog/AlertDialogTest.svelte b/src/tests/alert-dialog/AlertDialogTest.svelte
index 15d15bb37..68bd3a076 100644
--- a/src/tests/alert-dialog/AlertDialogTest.svelte
+++ b/src/tests/alert-dialog/AlertDialogTest.svelte
@@ -1,5 +1,5 @@
diff --git a/src/tests/calendar/Calendar.spec.ts b/src/tests/calendar/Calendar.spec.ts
index 6613d55ea..6b5c161ce 100644
--- a/src/tests/calendar/Calendar.spec.ts
+++ b/src/tests/calendar/Calendar.spec.ts
@@ -1,10 +1,10 @@
import { render } from "@testing-library/svelte";
-import userEvent from "@testing-library/user-event";
+import { userEvent } from "@testing-library/user-event";
import { axe } from "jest-axe";
import { describe, it } from "vitest";
import { getTestKbd } from "../utils.js";
import CalendarTest from "./CalendarTest.svelte";
-import type { Calendar } from "$lib";
+import type { Calendar } from "$lib/index.js";
import { CalendarDate, CalendarDateTime, toZoned } from "@internationalized/date";
import CalendarMultiTest from "./CalendarMultiTest.svelte";
import { getSelectedDay, getSelectedDays } from "../helpers/calendar.js";
diff --git a/src/tests/calendar/CalendarMultiTest.svelte b/src/tests/calendar/CalendarMultiTest.svelte
index 336da242e..da352a7ae 100644
--- a/src/tests/calendar/CalendarMultiTest.svelte
+++ b/src/tests/calendar/CalendarMultiTest.svelte
@@ -1,5 +1,5 @@
diff --git a/src/tests/combobox/Combobox.spec.ts b/src/tests/combobox/Combobox.spec.ts
index e08d85460..506d8833d 100644
--- a/src/tests/combobox/Combobox.spec.ts
+++ b/src/tests/combobox/Combobox.spec.ts
@@ -1,12 +1,12 @@
import { render, waitFor } from "@testing-library/svelte";
-import userEvent from "@testing-library/user-event";
+import { userEvent } from "@testing-library/user-event";
import { axe } from "jest-axe";
import { describe, it } from "vitest";
import ComboboxTest from "./ComboboxTest.svelte";
import type { Item } from "./ComboboxTest.svelte";
import { getTestKbd } from "../utils.js";
-import type { Combobox } from "$lib";
-import { sleep } from "$lib/internal";
+import type { Combobox } from "$lib/index.js";
+import { sleep } from "$lib/internal/index.js";
const kbd = getTestKbd();
diff --git a/src/tests/combobox/ComboboxTest.svelte b/src/tests/combobox/ComboboxTest.svelte
index 870f966de..ef14a4596 100644
--- a/src/tests/combobox/ComboboxTest.svelte
+++ b/src/tests/combobox/ComboboxTest.svelte
@@ -7,7 +7,7 @@
diff --git a/src/tests/link-preview/LinkPreview.spec.ts b/src/tests/link-preview/LinkPreview.spec.ts
index 8d6ce1b8d..e368c78a2 100644
--- a/src/tests/link-preview/LinkPreview.spec.ts
+++ b/src/tests/link-preview/LinkPreview.spec.ts
@@ -1,10 +1,10 @@
import { render, waitFor } from "@testing-library/svelte";
-import userEvent from "@testing-library/user-event";
+import { userEvent } from "@testing-library/user-event";
import { axe } from "jest-axe";
import { describe, it } from "vitest";
import { getTestKbd } from "../utils.js";
import LinkPreviewTest from "./LinkPreviewTest.svelte";
-import type { LinkPreview } from "$lib";
+import type { LinkPreview } from "$lib/index.js";
const kbd = getTestKbd();
diff --git a/src/tests/link-preview/LinkPreviewTest.svelte b/src/tests/link-preview/LinkPreviewTest.svelte
index e7d2cb966..6c34ee5d7 100644
--- a/src/tests/link-preview/LinkPreviewTest.svelte
+++ b/src/tests/link-preview/LinkPreviewTest.svelte
@@ -1,5 +1,5 @@
diff --git a/src/tests/menubar/MenubarTest.svelte b/src/tests/menubar/MenubarTest.svelte
index c4fd5a844..f5e37ab6b 100644
--- a/src/tests/menubar/MenubarTest.svelte
+++ b/src/tests/menubar/MenubarTest.svelte
@@ -1,5 +1,5 @@
diff --git a/src/tests/slider/Slider.spec.ts b/src/tests/slider/Slider.spec.ts
index a43cf63bd..95c668012 100644
--- a/src/tests/slider/Slider.spec.ts
+++ b/src/tests/slider/Slider.spec.ts
@@ -1,12 +1,12 @@
// Credit to @paoloricciuti for this code via melt :)
import { render } from "@testing-library/svelte";
-import userEvent from "@testing-library/user-event";
+import { userEvent } from "@testing-library/user-event";
import { axe } from "jest-axe";
import { describe, it } from "vitest";
import SliderTest from "./SliderTest.svelte";
import SliderRangeTest from "./SliderRangeTest.svelte";
-import type { Slider } from "$lib";
-import { getTestKbd } from "../utils";
+import type { Slider } from "$lib/index.js";
+import { getTestKbd } from "../utils.js";
const kbd = getTestKbd();
diff --git a/src/tests/slider/SliderRangeTest.svelte b/src/tests/slider/SliderRangeTest.svelte
index 3f0c67b9a..33d451e0e 100644
--- a/src/tests/slider/SliderRangeTest.svelte
+++ b/src/tests/slider/SliderRangeTest.svelte
@@ -1,5 +1,5 @@