Skip to Content
DocsResourcesPricingShowcase

Bleed

Used to break an element from the boundaries of its container

SourceStorybook
Bleed

Some Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

import { Bleed } from "@chakra-ui/react"
<Bleed>
  <div />
</Bleed>

Use the block prop to make the element bleed vertically.

Bleed

Use the inlineStart, inlineEnd, blockStart, and blockEnd props to make the element bleed in a specific direction.

inlineStart
inlineEnd
blockStart
blockEnd

PropDefaultType
inline
SystemStyleObject['marginInline']

The negative margin on the x-axis

block
SystemStyleObject['marginBlock']

The negative margin on the y-axis

inlineStart
SystemStyleObject['marginInlineStart']

The negative margin on the inline-start axis

inlineEnd
SystemStyleObject['marginInlineEnd']

The negative margin on the inline-end axis

blockStart
SystemStyleObject['marginBlockStart']

The negative margin on the block-start axis

blockEnd
SystemStyleObject['marginBlockEnd']

The negative margin on the block-end axis

Previous

Aspect Ratio

Next

Box