Bleed

Simple primitive to add negative margin that lets content slide out of the parent's container.

This component does not support the asChild prop. This might limit the use of this component in some cases.

Read more about this component in the Aksel documentation.

Information
Because of how the preview is rendered, the Bleed component will not work as expected in the preview. To see it in action, please use the provided examples.
marginInline

Properties

PropertyDescriptionDefault
Control
Properties
marginBlock

Negative vertical margin around children. Accepts a spacing token or an object of spacing tokens for different breakpoints.

unknown
-
marginInline

Negative horizontal margin around children. Accepts a spacing token or an object of spacing tokens for different breakpoints.

unknown
-
reflectivePadding

When true, set the padding to mirror the margin. This maintains the apparent width of the element prior to adding Bleed.

boolean
-
Snippets
children

Content

 -