Row
Rows are wrappers for columns.
Each column has horizontal padding (called a gutter) for controlling the space between them. This padding is then counteracted on the rows with negative margins to ensure the content in your columns is visually aligned down the left side. Rows also create a basic flex container that will uniformly apply column sizing.
Simple Row
Rows are easy to use and they don't have any variations.
<Row>{/* Your content and columns */}</Row>
API
Learn more about the properties and the customization points.
Usage
import Row from "@sonnat/ui/Row";//orimport { Row } from "@sonnat/ui";
Properties
Note that the documentation avoids mentioning all the native props (there are a lot) in this section of the components.
Name | Type | Default | Description |
---|---|---|---|
children | node | - | The content of the row. |
className | string | - | Append to the class names applied to the component so you can override or extend the styles. |
|