📖grid Examples
Custom column width


Controlled view layout


Responsive layout




Last updated








Last updated
<grid column-count="6" column-min-width="100">
<cell column-span="4">
<!-- Add UI components here -->
</cell>
<cell column-span="2">
<!-- Add UI components here -->
</cell>
</grid><grid column-count="6" column-min-width="100">
<cell column-span="1">
<!-- Cell 1 -->
</cell>
<cell column-span="3">
<!-- Cell 2 -->
</cell>
<cell column-span="2">
<!-- Cell 3 -->
</cell>
<cell column-span="6">
<!-- Cell 4 -->
</cell>
<cell column-span="2">
<!-- Cell 5 -->
</cell>
<cell column-span="4">
<!-- Cell 6 -->
</cell>
</grid><info>Select the condition of the asset:</info>
<grid>
<cell>
<button color="#ff0000" text-color="#fff" label="Extremely Poor" />
</cell>
<cell>
<button color="#fd4900" text-color="#fff" label="Very Poor" />
</cell>
<cell>
<button color="#f66d00" text-color="#fff" label="Poor" />
</cell>
<cell>
<button color="#e98b00" text-color="#fff" label="Slightly Below Average" />
</cell>
<cell>
<button color="#d7a700" label="Average"/>
</cell>
<cell>
<button color="#bfbf00" label="Slightly Above Average" />
</cell>
<cell>
<button color="#a0d600" label="Good" />
</cell>
<cell>
<button color="#76eb00" label="Very Good" />
</cell>
<cell>
<button color="#00ff00" label="Excellent" />
</cell>
</grid>