Skip to content
WireVizDocsOpen editor
CONNECTOR PRESET

USB-C

24 contacts · receptacle

USB-C connector illustration

Connector definition

The USB-C preset defines 24 contact IDs, A1 through A12 and B1 through B12. These IDs distinguish the two rows; no USB signal assignment or protocol behavior is inferred. Define labels and wiring from the exact receptacle's datasheet and the cable you are documenting.

Positions24
Pin IDsA1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12
IllustrationLocal SVG, embedded in compatible exports

YAML preset

This defines a connector named X1 and displays it as a standalone component. Add a cable and connection set to build a harness.

usb-c.yml
metadata:
  title: USB-C connector
connectors:
  X1:
    type: USB-C
    pins:
      - A1
      - A2
      - A3
      - A4
      - A5
      - A6
      - A7
      - A8
      - A9
      - A10
      - A11
      - A12
      - B1
      - B2
      - B3
      - B4
      - B5
      - B6
      - B7
      - B8
      - B9
      - B10
      - B11
      - B12
    image:
      src: library/connectors/usb-c.svg
      width: 100
connections:
  - - X1

Using this connector

  1. Open the preset in the editor, or drag it from the Components library into an existing drawing.
  2. Select the connector and expand Pinout to add the signal label and optional color for each position.
  3. Add a cable, set its conductor count, then connect the required pins to its wires.
  4. Review the official WireViz preview and bill of materials before downloading.

Read the full connector syntax or start with a complete harness example. The library keeps artwork attribution and license information with the original files.