| Name | Type | Description | Default |
|---|---|---|---|
| bottom | string | Applies the spacing scale to the bottom side. | - |
Required children | React.ReactNode | Custom content inside the inset. | - |
| horizontal | string | Applies the spacing scale to the left and right sides. | - |
| left | string | Applies the spacing scale to the left side. | - |
| right | string | Applies the spacing scale to the right side. | - |
| space | string | Applies the spacing scale to all sides. | - |
| top | string | Applies the spacing scale to the top side. | - |
| vertical | string | Applies the spacing scale to the top and bottom sides. | - |
() => { return ( <DxcInset space="var(--spacing-padding-xl)"> <DxcFlex direction="column" gap="var(--spacing-padding-xl)"> <Placeholder height="var(--height-xxl)" /> <DxcInset space="var(--spacing-padding-m)"> <Placeholder height="var(--height-xxl)" /> </DxcInset> <Placeholder height="var(--height-xxl)" /> </DxcFlex> </DxcInset> ); }
() => { return ( <DxcInset space="var(--spacing-padding-xl)"> <DxcFlex direction="column" gap="var(--spacing-padding-xl)"> <Placeholder height="var(--height-xxl)" /> <DxcInset top="var(--spacing-padding-xxs)" right="var(--spacing-padding-xs)" bottom="var(--spacing-padding-m)" left="var(--spacing-padding-l)" > <Placeholder height="var(--height-xxl)" /> </DxcInset> <Placeholder height="var(--height-xxl)" /> </DxcFlex> </DxcInset> ); }