Import
import { Bleed } from 'styled-system/jsx'Usage
The Bleed pattern is used to create a full width element by negating the padding applied to its parent container.
Loading example...
Vertical
Use the block prop to make the element bleed vertically.
Loading example...
Specific Direction
Use the inline and block props to make the element bleed in a specific direction.
Loading example...
Props
The Bleed component accepts the following utility props in addition to style and factory props:
| Prop | Type | Description |
|---|---|---|
inline | SystemStyleObject['marginInline'] | The negative margin on the x-axis. |
block | SystemStyleObject['marginBlock'] | The negative margin on the y-axis. |