docs: void removeComponent(int index) {
          Component component = components.get(index);
          components.remove(index);
          updateComponentOffsets(index);
          position.getAndUpdate((offset) -> offset - component.length);
      }