{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nails",
  "title": "Nails",
  "description": "A fingertip halved through the nail, from an original OrganUI schematic model: 14 selectable structures and 3 named views. Model licensed CC0 1.0.",
  "registryDependencies": [
    "@organui/organ-viewer"
  ],
  "files": [
    {
      "path": "registry/base-nova/nails/nails.tsx",
      "content": "import {\n  OrganViewer,\n  type OrganModel,\n  type OrganViewerProps,\n} from \"@/components/organ-viewer\"\n\n// An original schematic fingertip generated by\n// packages/registry/scripts/models/hair-and-nails.ts. The GLB is hosted by\n// organui.com under CC0 1.0; see attribution.source.\nexport const nailsModel: OrganModel = {\n  name: \"Nail\",\n  src: \"https://organui.com/models/nails.glb\",\n  bytes: 1980444,\n  defaultView: \"Sagittal\",\n  views: [\n    {\n      name: \"Sagittal\",\n      direction: [0, 0.2, 1],\n    },\n    {\n      name: \"Oblique\",\n      direction: [-0.6, 0.8, 0.9],\n    },\n    {\n      name: \"Nail matrix\",\n      direction: [0, 0.25, 1],\n      structureIds: [\n        \"nail-matrix\",\n        \"lunula\",\n        \"proximal-nail-fold\",\n        \"eponychium\",\n      ],\n    },\n  ],\n  structures: [\n    {\n      id: \"nail-plate\",\n      label: \"Nail plate\",\n      group: \"Nail\",\n      color: \"#e9c9c0\",\n      description:\n        \"The hard, translucent plate of densely packed keratin. It grows forward from the matrix at about 3 mm a month on the fingers and looks pink because of the vessels in the bed below.\",\n    },\n    {\n      id: \"lunula\",\n      label: \"Lunula\",\n      group: \"Nail\",\n      color: \"#f4efe6\",\n      description:\n        \"The pale half-moon at the base of the nail. It is the front edge of the matrix showing through the plate, most obvious on the thumb.\",\n    },\n    {\n      id: \"nail-matrix\",\n      label: \"Nail matrix\",\n      group: \"Nail\",\n      color: \"#b07a8e\",\n      description:\n        \"The growth zone under the proximal fold. Its dividing cells keratinise to form the nail plate, so damage here can leave lasting ridges or splits.\",\n    },\n    {\n      id: \"nail-bed\",\n      label: \"Nail bed\",\n      group: \"Nail\",\n      color: \"#d9727a\",\n      description:\n        \"The skin beneath the plate from the lunula to the free edge. Its lengthwise ridges lock to the plate and carry the capillaries that make the nail look pink.\",\n    },\n    {\n      id: \"proximal-nail-fold\",\n      label: \"Proximal nail fold\",\n      group: \"Nail folds\",\n      color: \"#d9a586\",\n      description:\n        \"The fold of skin that overlies the nail root and matrix and protects the growth zone.\",\n    },\n    {\n      id: \"eponychium\",\n      label: \"Eponychium (cuticle)\",\n      group: \"Nail folds\",\n      color: \"#c79270\",\n      description:\n        \"The thin skin at the end of the proximal fold. Its dead layer, the cuticle, sticks to the plate and seals the gap against water and infection.\",\n    },\n    {\n      id: \"lateral-nail-fold\",\n      label: \"Lateral nail fold\",\n      group: \"Nail folds\",\n      color: \"#cf9b80\",\n      description:\n        \"The skin fold along each side of the nail plate. Ingrown nails press into it.\",\n    },\n    {\n      id: \"hyponychium\",\n      label: \"Hyponychium\",\n      group: \"Nail folds\",\n      color: \"#e6b27e\",\n      description:\n        \"The thickened skin under the free edge, where the nail bed meets the fingertip. It seals the space under the nail.\",\n    },\n    {\n      id: \"distal-phalanx\",\n      label: \"Distal phalanx\",\n      group: \"Fingertip\",\n      color: \"#e8e1cf\",\n      description:\n        \"The bone of the fingertip. Its flared tuft supports the pulp and the nail bed, which is bound closely to it.\",\n    },\n    {\n      id: \"middle-phalanx\",\n      label: \"Middle phalanx\",\n      group: \"Fingertip\",\n      color: \"#d9d1bc\",\n      description:\n        \"The neighbouring bone. Its head forms the distal interphalangeal joint with the base of the distal phalanx.\",\n    },\n    {\n      id: \"extensor-tendon\",\n      label: \"Extensor tendon\",\n      group: \"Fingertip\",\n      color: \"#cfd8dc\",\n      description:\n        \"The terminal slip of the extensor tendon, which inserts on the back of the distal phalanx just behind the nail matrix and straightens the fingertip.\",\n    },\n    {\n      id: \"flexor-tendon\",\n      label: \"Flexor digitorum profundus tendon\",\n      group: \"Fingertip\",\n      color: \"#b8c7cc\",\n      description:\n        \"The deep flexor tendon, which inserts on the palm side of the distal phalanx and bends the fingertip.\",\n    },\n    {\n      id: \"fingertip-pulp\",\n      label: \"Fingertip pulp\",\n      group: \"Fingertip\",\n      color: \"#ecd496\",\n      description:\n        \"Fat divided by fibrous septa that anchor the skin to the bone, giving a firm pad for grip. It is dense with touch receptors.\",\n    },\n    {\n      id: \"skin\",\n      label: \"Skin\",\n      group: \"Fingertip\",\n      color: \"#e0ad90\",\n      description:\n        \"The skin of the finger, thick and ridged on the palm side where the fingerprints are.\",\n    },\n  ],\n  attribution: {\n    credit:\n      \"OrganUI fingertip and nail schematic model, dedicated to the public domain under CC0 1.0\",\n    license: \"CC0 1.0\",\n    licenseUrl: \"https://creativecommons.org/publicdomain/zero/1.0/\",\n    source:\n      \"https://github.com/organui/organui/blob/master/apps/web/public/models/nails.ATTRIBUTION.md\",\n  },\n}\n\nexport type NailsProps = Omit<OrganViewerProps, \"model\">\n\nexport function Nails(props: NailsProps) {\n  return <OrganViewer model={nailsModel} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Nails docs: https://organui.com/docs/components/nails. The model is licensed CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/); keep the viewer's credit visible.",
  "categories": [
    "organ",
    "integumentary"
  ],
  "type": "registry:component"
}