{# @description One column of a section. Two of them make two columns, three make three. Below the lg breakpoint they stack in the order they are written. #} {# @prop span:number | default:"1" | description:"How many shares of the width the column takes against its neighbours. A 2 beside a 3 is two fifths beside three fifths." #} {# @prop align:select['', 'start', 'center', 'end'] | description:"Where this column sits against taller neighbours, when it should differ from the section's align" #} {# @prop class:text | description:"Extra classes on the column" #} {# @slot:background — A background block, rendered into a layer behind this column alone. A plain surface colour goes in class instead. #} {# @slot

Copy

— What the column holds. Anything, including another section. #} {% comment %} The span is a number on `style`, read by the stylesheet at the lg breakpoint only (docs/adr/0003-amounts-are-numbers-written-to-style.md). `min-w-0` lets a table or a code sample scroll inside the column instead of widening it. {% endcomment %}
{% if background %} {% endif %} {{ slot }}