{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "highlight-node",
  "title": "Highlight Leaf",
  "description": "A text highlighter with customizable colors.",
  "dependencies": [],
  "registryDependencies": [
    "https://platejs.org/r/highlight-style.json"
  ],
  "files": [
    {
      "path": "src/registry/ui/highlight-node.tsx",
      "content": "'use client';\n\nimport * as React from 'react';\n\nimport type { PlateLeafProps } from 'platejs/react';\n\nimport { PlateLeaf } from 'platejs/react';\n\nexport function HighlightLeaf(props: PlateLeafProps) {\n  return (\n    <PlateLeaf {...props} as=\"mark\" className=\"bg-highlight/30 text-inherit\">\n      {props.children}\n    </PlateLeaf>\n  );\n}\n",
      "type": "registry:ui"
    },
    {
      "path": "src/registry/ui/highlight-node-static.tsx",
      "content": "import * as React from 'react';\n\nimport type { SlateLeafProps } from 'platejs/static';\n\nimport { SlateLeaf } from 'platejs/static';\n\nexport function HighlightLeafStatic(props: SlateLeafProps) {\n  return (\n    <SlateLeaf {...props} as=\"mark\" className=\"bg-highlight/30 text-inherit\">\n      {props.children}\n    </SlateLeaf>\n  );\n}\n",
      "type": "registry:ui"
    }
  ],
  "meta": {
    "docs": [
      {
        "route": "/docs/highlight"
      }
    ],
    "examples": [
      "basic-marks-demo"
    ]
  },
  "type": "registry:ui"
}