Skip to main content
LocalTapiola Turva

Grid Item new

Grid Item is a component used inside the Grid that makes it possible set additional parameters for items. For concrete usage examples, please see Grid component.

Properties #

Property Attribute Description Type Default
fill fill Make the grid item fill the remaining available grid space. boolean false
margin margin Controls the margin of the component. Can be one of: "auto", "none". string "auto"
maxWidth max-width Sets the maximum width for the grid item using any valid numeric CSS value. E.g. "300px". string undefined
minWidth min-width Sets the minimum width for the grid item using any valid numeric CSS value. E.g. "33.333%". string undefined
theme theme Theme of the grid item. Can be one of: "default", "turva". string ""

Integration

For integration, events and theming guidelines, please see Using Components. That page explains how to implement and use Duet’s components across different technologies like Angular, React or Vanilla JavaScript.