Homecomponentsstructural
Bleed
A container that extends its contents out of its bounds.
Use Bleed to make the contents extend out of the available space. This works as the opposite of Inset and is designed to visually break out of a parent container.
I bleed it out 🗣
Horizontal
Use horizontal to bleed out horizontally.
Horizontal
Vertical
Use vertical to bleed out vertically.
Vertical
Top
Use top to bleed out from the top.
Right
Use right to bleed out to the right.
Right
Bottom
Use bottom to bleed out from the bottom.
Bottom
Left
Use left to bleed out to the left.
Left
All sides equally
Use space to bleed out from all sides.
Examples
A common use of Bleed is to break images out of container to make them stand out.
API
children
Required
ReactNode
space
vertical
horizontal
top
bottom
left
right
asChild
true
false
data
DataAttributeMap