{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "prose",
  "title": "Prose",
  "description": "long-form text (articles, help, onboarding copy) at the theme's typeset: flow, measure, leading",
  "dependencies": [],
  "registryDependencies": [
    "@kit-native/lib-utils",
    "@kit-native/text"
  ],
  "files": [
    {
      "path": "components/kit/prose.tsx",
      "content": "import { TextClassContext } from '@/components/ui/text';\nimport { cn } from '@/lib/utils';\nimport type * as React from 'react';\nimport { View } from 'react-native';\n\ntype Props = {\n  /** Text blocks: `Text variant=\"p\"` paragraphs, h2–h4 headings, `blockquote`, `code`. */\n  children: React.ReactNode;\n  className?: string;\n};\n\n/**\n * Long-form text at the theme's typeset: blocks are `flow` apart (gap-flow), lines stop at the `measure`\n * (max-w-measure), and `Text variant=\"p\"` paragraphs take its leading (leading-prose). The variants' own top\n * margins are switched off inside, so the flow is the only spacing. Text only: no cards or buttons inside.\n */\nexport function Prose({ children, className }: Props) {\n  return (\n    <TextClassContext.Provider value=\"mt-0 sm:mt-0\">\n      <View className={cn('max-w-measure w-full gap-flow', className)}>{children}</View>\n    </TextClassContext.Provider>\n  );\n}\n",
      "type": "registry:component",
      "target": "components/kit/prose.tsx"
    }
  ],
  "meta": {
    "exports": [
      "Prose"
    ],
    "api": "<Prose><Text variant=\"h3\" /><Text variant=\"p\" />…</Prose>"
  },
  "docs": "Run `npx expo install --fix` afterwards so Expo SDK packages match your SDK. Needs the kit theme (`@kit-native/theme`) and `KitThemeProvider` from `@kit-native/lib-theme-context` at the root.",
  "categories": [
    "layout"
  ],
  "type": "registry:component"
}