Homecomponentsstructural
Inset
A container to add surrounding space in all or specific directions.
Overview
Creates a container that can space things on all or specific directions. Here's
an example of an image inside a Card with an inset.
Horizontal and Vertical Inset
Inset also provides two properties horizontal and vertical for spacing
only in the respective directions.
Here's an example of horizontal inset.
Here's an example of vertical inset.
Individual Side Inset
Use top, right, bottom and left properties to set insets in respective
directions.
API
children
Required
ReactNode
as
ElementType<any>
spacing
vertical
horizontal
top
bottom
left
right