Sometimes you need to know inside which parent paragraph the current paragraph you are working in is. Here is how to do it in Twig.
{% set paragraph_parent = paragraph.getParentEntity() %}
{% set width = paragraph_parent.field_width.0.value %}
<div class="{{ width }}">{{ content.field_images }}</div>