Homecomponentsstructural
Alpha
This component is in development. There could be breaking changes made to it in a non-major release of Prism. Please use with caution.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, keyof IntrinsicElements>
spacing
vertical
horizontal
top
bottom
left
right