diff --git a/src/components/ui/__stories__/Checkbox.stories.tsx b/src/components/ui/__stories__/Checkbox.stories.tsx index 75f7c49145b..d045270c920 100644 --- a/src/components/ui/__stories__/Checkbox.stories.tsx +++ b/src/components/ui/__stories__/Checkbox.stories.tsx @@ -1,59 +1,109 @@ import type { Meta, StoryObj } from "@storybook/nextjs" -import CheckboxComponent, { type CheckboxProps } from "../checkbox" +import Checkbox, { type CheckboxProps } from "../checkbox" import { HStack, VStack } from "../flex" const meta = { - title: "Atoms / Form / Checkbox", - component: CheckboxComponent, -} satisfies Meta + title: "UI / Primitives / Checkbox", + component: Checkbox, + parameters: { + chromatic: { disableSnapshot: true }, + docs: { + description: { + component: + "Single binary toggle built on Radix Checkbox. Supports `checked`, `disabled`, `aria-invalid` for error styling, and tri-state via `checked='indeterminate'`. Pair with a `