{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "nerves",
  "title": "Nerves",
  "description": "The peripheral nerves of the whole body, from the cranial nerves to the plexuses of the arms and legs: 41 selectable structures and 6 named views. Model licensed CC BY-SA 4.0.",
  "registryDependencies": [
    "@organui/organ-viewer"
  ],
  "files": [
    {
      "path": "registry/base-nova/nerves/nerves.tsx",
      "content": "import {\n  OrganViewer,\n  type OrganModel,\n  type OrganViewerProps,\n} from \"@/components/organ-viewer\"\n\n// Built in this repository by models/nerves/prepare.ts and served by the\n// OrganUI website; see attribution.source.\nexport const nervesModel: OrganModel = {\n  name: \"Nerves\",\n  src: \"https://organui.com/models/nerves.glb\",\n  bytes: 3478352,\n  defaultView: \"Anterior\",\n  views: [\n    {\n      name: \"Anterior\",\n      direction: [0, 0, 1],\n    },\n    {\n      name: \"Posterior\",\n      direction: [0, 0, -1],\n    },\n    {\n      name: \"Left lateral\",\n      direction: [1, 0, 0],\n    },\n    {\n      name: \"Head and neck\",\n      direction: [0.5, 0, 1],\n      structureIds: [\n        \"olfactory-nerves\",\n        \"optic-nerves\",\n        \"oculomotor-nerves\",\n        \"trochlear-nerves\",\n        \"trigeminal-nerves\",\n        \"abducens-nerves\",\n        \"facial-nerves\",\n        \"vestibulocochlear-nerves\",\n        \"glossopharyngeal-nerves\",\n        \"hypoglossal-nerves\",\n      ],\n    },\n    {\n      name: \"Arms\",\n      direction: [0, 0, 1],\n      structureIds: [\n        \"brachial-plexus\",\n        \"axillary-nerves\",\n        \"musculocutaneous-nerves\",\n        \"radial-nerves\",\n        \"median-nerves\",\n        \"ulnar-nerves\",\n        \"medial-cutaneous-nerves\",\n      ],\n    },\n    {\n      name: \"Legs\",\n      direction: [0, 0, 1],\n      structureIds: [\n        \"femoral-nerves\",\n        \"lateral-femoral-cutaneous-nerves\",\n        \"obturator-nerves\",\n        \"sciatic-nerves\",\n        \"tibial-nerves\",\n        \"common-fibular-nerves\",\n      ],\n    },\n  ],\n  structures: [\n    {\n      id: \"olfactory-nerves\",\n      label: \"Olfactory nerves (I)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"Carry smell from the roof of the nasal cavity. Shown with the olfactory bulbs and tracts that run back under the frontal lobes.\",\n    },\n    {\n      id: \"optic-nerves\",\n      label: \"Optic nerves (II)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description:\n        \"Carry vision from each retina to the brain. They meet at the optic chiasm, where fibres from the inner half of each retina cross over.\",\n    },\n    {\n      id: \"oculomotor-nerves\",\n      label: \"Oculomotor nerves (III)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"Move most of the eye muscles, lift the upper eyelid and narrow the pupil.\",\n    },\n    {\n      id: \"trochlear-nerves\",\n      label: \"Trochlear nerves (IV)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description:\n        \"The thinnest cranial nerves. Each works the superior oblique muscle, which turns the eye down and in.\",\n    },\n    {\n      id: \"trigeminal-nerves\",\n      label: \"Trigeminal nerves (V)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"The main sensory nerves of the face, in three divisions: ophthalmic, maxillary and mandibular. The mandibular division also works the chewing muscles.\",\n    },\n    {\n      id: \"abducens-nerves\",\n      label: \"Abducens nerves (VI)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description:\n        \"Work the lateral rectus, which turns the eye outward. Their long path inside the skull makes them sensitive to raised pressure.\",\n    },\n    {\n      id: \"facial-nerves\",\n      label: \"Facial nerves (VII)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"Work the muscles of facial expression. The chorda tympani branch carries taste from the front of the tongue.\",\n    },\n    {\n      id: \"vestibulocochlear-nerves\",\n      label: \"Vestibulocochlear nerves (VIII)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description:\n        \"Carry hearing from the cochlea and balance from the vestibular organs of the inner ear.\",\n    },\n    {\n      id: \"glossopharyngeal-nerves\",\n      label: \"Glossopharyngeal nerves (IX)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"Carry taste and sensation from the back of the tongue and the throat, and help start swallowing.\",\n    },\n    {\n      id: \"vagus-nerves\",\n      label: \"Vagus nerves (X)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description:\n        \"The longest cranial nerves. They leave the skull and run down the neck into the chest and abdomen, slowing the heart and driving digestion.\",\n    },\n    {\n      id: \"accessory-nerves\",\n      label: \"Accessory nerves (XI)\",\n      group: \"Cranial nerves\",\n      color: \"#e8b84a\",\n      description:\n        \"Rise from the upper spinal cord, enter the skull and leave it again to work the sternocleidomastoid and trapezius muscles.\",\n    },\n    {\n      id: \"hypoglossal-nerves\",\n      label: \"Hypoglossal nerves (XII)\",\n      group: \"Cranial nerves\",\n      color: \"#d9973c\",\n      description: \"Work the muscles of the tongue.\",\n    },\n    {\n      id: \"spinal-nerve-roots\",\n      label: \"Spinal nerve roots and ganglia\",\n      group: \"Spinal roots\",\n      color: \"#c9a86a\",\n      description:\n        \"Each spinal nerve forms from a front (motor) root and a back (sensory) root. The swelling on each back root, the spinal ganglion, holds the sensory cell bodies.\",\n    },\n    {\n      id: \"cauda-equina\",\n      label: \"Cauda equina\",\n      group: \"Spinal roots\",\n      color: \"#b38f52\",\n      description:\n        \"The bundle of lower nerve roots that runs down the spinal canal below the end of the cord, named for its likeness to a horse's tail.\",\n    },\n    {\n      id: \"intercostal-nerves\",\n      label: \"Intercostal nerves\",\n      group: \"Chest and abdomen\",\n      color: \"#e0c068\",\n      description:\n        \"The front branches of the thoracic spinal nerves. They run under each rib and supply the chest wall muscles and skin.\",\n    },\n    {\n      id: \"sympathetic-trunks\",\n      label: \"Sympathetic trunks\",\n      group: \"Chest and abdomen\",\n      color: \"#9fae5a\",\n      description:\n        \"Chains of ganglia beside the spine that carry the body's fight-or-flight signals to the organs, vessels and sweat glands.\",\n    },\n    {\n      id: \"iliohypogastric-ilio-inguinal-nerves\",\n      label: \"Iliohypogastric and ilio-inguinal nerves\",\n      group: \"Chest and abdomen\",\n      color: \"#cfa54a\",\n      description:\n        \"Branches of the first lumbar nerve that supply the lower abdominal wall, the groin and the skin over the hip.\",\n    },\n    {\n      id: \"brachial-plexus\",\n      label: \"Brachial plexuses\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"A network formed by the lower four cervical nerves and the first thoracic nerve. Its roots, trunks, divisions and cords regroup into the nerves of the arm. Shown with the subclavian nerve.\",\n    },\n    {\n      id: \"dorsal-scapular-nerves\",\n      label: \"Dorsal scapular nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Supply the rhomboid muscles and levator scapulae, which pull the shoulder blade toward the spine and lift it.\",\n    },\n    {\n      id: \"long-thoracic-nerves\",\n      label: \"Long thoracic nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"Run down the side of the chest to serratus anterior. Injury lets the shoulder blade stick out, called a winged scapula.\",\n    },\n    {\n      id: \"suprascapular-nerves\",\n      label: \"Suprascapular nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Pass over the shoulder blade to supraspinatus and infraspinatus, two of the rotator cuff muscles.\",\n    },\n    {\n      id: \"pectoral-nerves\",\n      label: \"Pectoral nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"The lateral and medial pectoral nerves, which supply pectoralis major and minor.\",\n    },\n    {\n      id: \"subscapular-nerves\",\n      label: \"Subscapular nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Supply subscapularis and teres major on the front of the shoulder blade.\",\n    },\n    {\n      id: \"thoracodorsal-nerves\",\n      label: \"Thoracodorsal nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description: \"Supply latissimus dorsi, the broad muscle of the back.\",\n    },\n    {\n      id: \"axillary-nerves\",\n      label: \"Axillary nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Wind around the neck of the humerus to deltoid and teres minor, and supply the skin over the shoulder.\",\n    },\n    {\n      id: \"musculocutaneous-nerves\",\n      label: \"Musculocutaneous nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"Supply the front muscles of the upper arm, which bend the elbow, then continue as the skin nerve of the outer forearm.\",\n    },\n    {\n      id: \"radial-nerves\",\n      label: \"Radial nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Spiral around the back of the humerus and supply the muscles that straighten the elbow, wrist and fingers.\",\n    },\n    {\n      id: \"median-nerves\",\n      label: \"Median nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"Run down the middle of the arm and through the carpal tunnel to the thumb side of the hand. Pressure in the tunnel causes carpal tunnel syndrome.\",\n    },\n    {\n      id: \"ulnar-nerves\",\n      label: \"Ulnar nerves\",\n      group: \"Shoulder and arm\",\n      color: \"#d6a546\",\n      description:\n        \"Pass behind the elbow, where they cause the funny bone feeling, and supply most of the small muscles of the hand.\",\n    },\n    {\n      id: \"medial-cutaneous-nerves\",\n      label: \"Medial cutaneous nerves of arm and forearm\",\n      group: \"Shoulder and arm\",\n      color: \"#f0c45c\",\n      description:\n        \"Skin nerves from the medial cord that supply the inner side of the arm and forearm.\",\n    },\n    {\n      id: \"femoral-nerves\",\n      label: \"Femoral nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"The largest branches of the lumbar plexus. They supply the muscles that straighten the knee, and their saphenous branch reaches the inner leg and foot.\",\n    },\n    {\n      id: \"lateral-femoral-cutaneous-nerves\",\n      label: \"Lateral femoral cutaneous nerves\",\n      group: \"Hip and leg\",\n      color: \"#c99640\",\n      description:\n        \"Supply the skin of the outer thigh. Compression near the hip bone causes burning thigh pain.\",\n    },\n    {\n      id: \"obturator-nerves\",\n      label: \"Obturator nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"Pass through the obturator foramen of the pelvis to the muscles that pull the thighs together.\",\n    },\n    {\n      id: \"genitofemoral-nerves\",\n      label: \"Genitofemoral nerves\",\n      group: \"Hip and leg\",\n      color: \"#c99640\",\n      description:\n        \"Run down the front of psoas and divide into a genital branch and a femoral branch for the skin of the upper thigh.\",\n    },\n    {\n      id: \"superior-gluteal-nerves\",\n      label: \"Superior gluteal nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"Supply gluteus medius and minimus, which keep the pelvis level when standing on one leg.\",\n    },\n    {\n      id: \"hip-rotator-nerves\",\n      label: \"Nerves to piriformis and quadratus femoris\",\n      group: \"Hip and leg\",\n      color: \"#c99640\",\n      description:\n        \"Small branches of the sacral plexus to the deep muscles that turn the thigh outward.\",\n    },\n    {\n      id: \"posterior-femoral-cutaneous-nerves\",\n      label: \"Posterior femoral cutaneous nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"Supply the skin of the back of the thigh and the buttock fold.\",\n    },\n    {\n      id: \"pudendal-nerves\",\n      label: \"Pudendal nerves\",\n      group: \"Hip and leg\",\n      color: \"#c99640\",\n      description:\n        \"Supply the perineum, the external genitals and the sphincters that keep urine and stool in.\",\n    },\n    {\n      id: \"sciatic-nerves\",\n      label: \"Sciatic nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"The thickest nerves in the body. Each leaves the pelvis below piriformis, supplies the hamstrings and divides above the knee into the tibial and common fibular nerves.\",\n    },\n    {\n      id: \"tibial-nerves\",\n      label: \"Tibial nerves\",\n      group: \"Hip and leg\",\n      color: \"#c99640\",\n      description:\n        \"Continue down the back of the leg to the calf muscles and the sole of the foot, where they divide into the plantar nerves. Shown with the sural nerve.\",\n    },\n    {\n      id: \"common-fibular-nerves\",\n      label: \"Common fibular nerves\",\n      group: \"Hip and leg\",\n      color: \"#e3b04f\",\n      description:\n        \"Wind around the neck of the fibula, where they are easily injured, and divide into deep and superficial branches that lift the foot and supply its top.\",\n    },\n  ],\n  attribution: {\n    credit:\n      \"Z-Anatomy (CC BY-SA 4.0), based in part on BodyParts3D, © The Database Center for Life Science (CC BY-SA 2.1 Japan). Adapted by OrganUI.\",\n    license: \"CC BY-SA 4.0\",\n    licenseUrl: \"https://creativecommons.org/licenses/by-sa/4.0/\",\n    source:\n      \"https://github.com/organui/organui/blob/master/models/nerves/ATTRIBUTION.md\",\n  },\n}\n\nexport type NervesProps = Omit<OrganViewerProps, \"model\">\n\nexport function Nerves(props: NervesProps) {\n  return <OrganViewer model={nervesModel} {...props} />\n}\n",
      "type": "registry:component"
    }
  ],
  "docs": "Nerves docs: https://organui.com/docs/components/nerves. The model is licensed CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/); keep the viewer's credit visible.",
  "categories": [
    "organ",
    "nervous"
  ],
  "type": "registry:component"
}