Build faster with Premium Chakra UI Components 💎

Learn more
Skip to Content
DocsPlaygroundGuidesBlog
Sponsor

Bleed

Used to break an element from the boundaries of its container

SourceStorybook
Bleed

Some Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Usage

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

Examples

Vertical

Use the block prop to make the element bleed vertically.

Bleed

Specific Direction

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

inlineStart
inlineEnd
blockStart
blockEnd

Props

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