Float
A left or right "floated" piece of content
👁️ PREVIEW
A piece of floating content that the main page content will flow around. Useful for putting a figure to the side in a long page of paragraphs.
Parameter | Description | Default |
---|---|---|
| Arbitrary content to flow around. | |
| Whether to flip side of page content floats to. |
|
| Set to |
In general, you shouldn't need the clear
parameter, because you should be using this component when the content flowing around is much taller/longer than the floating content (thus the floating content will never push and interfere with undesired things like headings). If you need two roughly equal height things next to each other, you can use the cols or even the feature component instead (as long as you're okay with equal width).
Last updated