+
+
+
+ Changes
+
+ Activity
+
+
+
+ {tab === "changes" ? "Three changed files." : "Nothing happened yet."}
+
+
+ );
+ },
+});
diff --git a/packages/ui-react/src/Tabs.tsx b/packages/ui-react/src/Tabs.tsx
new file mode 100644
index 00000000000..688f29e0a51
--- /dev/null
+++ b/packages/ui-react/src/Tabs.tsx
@@ -0,0 +1,59 @@
+import { Tabs as BaseTabs } from "@base-ui/react";
+import type { HotkeySequence } from "@tanstack/react-hotkeys";
+import type { FC, ReactNode } from "react";
+import { Badge } from "./Badge.tsx";
+import { classes } from "./classes.ts";
+import { Kbd } from "./Kbd.tsx";
+import styles from "./Tabs.module.css";
+
+/**
+ * A row of {@link Tab}s that switch what a pane shows, one at a time, with an underline under the
+ * selected one that slides to the next as the selection moves.
+ *
+ * - Controlled with `value` and `onValueChange`, or left to itself with `defaultValue`.
+ * - The arrow keys move between the tabs, as a tab list does.
+ * - The underline runs under the selected tab's content and hangs outside the row, 8px below it
+ * and 4px thick, so the header holding the tabs leaves 12px below them: the underline then
+ * sits on the header's divider.
+ *
+ * @public
+ * @import import { Tabs, Tab } from "@gitbutler/ui-react/Tabs.tsx";
+ */
+export const Tabs: FC<
+ Omit