Display text or content through multiple columns.Example#
Column 1
This is the content of column 1
Column 2
This is the content of column 2
Column 3
This is the content of column 3
<Columns>
<Column>
**Column 1**
This is the content of column 1
</Column>
<Column>
**Column 2**
This is the content of column 2
</Column>
<Column>
**Column 3**
This is the content of column 3
</Column>
</Columns>
The column content follows markdown syntax.Defining Width#
Column 1
This is the content of the first column, with a width of 20%.
Column 2
This is the content of the second column, with a width of 20%.
Column 3
This is the content of the third column, with a width of 300px.
<Columns>
<Column width="20%">
**Column 1**
This is the content of the first column, with a width of 20%.
</Column>
<Column width="20%">
**Column 2**
This is the content of the second column, with a width of 20%.
</Column>
<Column width={300}>
**Column 3**
This is the content of the third column, with a width of 300px.
</Column>
</Columns>
Using Tailwind CSS Styles with the class
Attribute#
The Columns component supports custom styling with Tailwind CSS. Both Columns
and Column
components can use the class
attribute to add Tailwind CSS classes.This photograph was captured by André Cook This photograph was captured by André Cook <Columns>
<Column class="bg-gray-100 p-3 rounded">
<p class="text-lg font-bold text-pink-500">
Photographs of scenery
</p>
This photograph was captured by André Cook

</Column>
<Column class="bg-gray-100 p-3 rounded">
<p class="text-lg font-bold text-orange-500">
Photographs of scenery
</p>
This photograph was captured by André Cook

</Column>
</Columns>
Defining Styles Directly with style
#
This photograph was captured by André Cook This photograph was captured by André Cook <Columns>
<Column style="background-color: #f0f0f0; padding: 10px;">
<p class="text-lg font-bold text-pink-500">
Photographs of scenery
</p>
This photograph was captured by André Cook

</Column>
<Column style="background-color: #f0f0f0; padding: 10px;">
<p class="text-lg font-bold text-orange-500">
Photographs of scenery
</p>
This photograph was captured by André Cook

</Column>
</Columns>
Parameter Description#