diff --git a/apps/web/src/components/layout/mobile-tab-indicator.tsx b/apps/web/src/components/layout/mobile-tab-indicator.tsx new file mode 100644 index 000000000..30c00dc53 --- /dev/null +++ b/apps/web/src/components/layout/mobile-tab-indicator.tsx @@ -0,0 +1,18 @@ +import { m } from "motion/react"; +import { TAB_SPRING } from "@/libs/motion"; + +/** + * The phone tab bar's marker: a short accent bar on the active tab's top edge. Render it inside the active tab + * (which must be `relative`); when another tab becomes active it springs across to it. Reduced motion moves it at + * once (see `followReducedMotion`). + */ +export function MobileTabIndicator() { + return ( +