;
+
+export default {
+ title: 'Components/OnboardingStepper',
+ args: {
+ step: 1 as const,
+ },
+ argTypes: {
+ step: controls.inlineRadio([1, 2, 3]),
+ },
+} satisfies Meta
;
+
+export const onboardingStepper: StoryFn = ({ step }) => ;
diff --git a/src/pages/onboarding/stepper.tsx b/src/pages/onboarding/stepper.tsx
new file mode 100644
index 00000000..d406ba0f
--- /dev/null
+++ b/src/pages/onboarding/stepper.tsx
@@ -0,0 +1,24 @@
+import clsx from 'clsx';
+
+import { createArray } from 'src/utils/arrays';
+import { identity } from 'src/utils/generic';
+
+export function OnboardingStepper({ step }: { step: 1 | 2 | 3 }) {
+ const isCompletedStep = (index: number) => index + 1 <= step;
+ const isCurrentStep = (index: number) => index + 1 === step;
+
+ return (
+
+ {createArray
(3, identity).map((index) => (
+
+ ))}
+
+ );
+}