Pages Typography Components Primitives
Version: 1.0.0-next.33
Try dark darkside
Try light darkside
Bleed
Simple primitive to add negative margin that lets content slide out of the parent's container.
Read more about this component in the Aksel documentation.
marginInline
Properties
Property | Description | Default | Control | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Properties | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
as | HTML element to render as. string | "div" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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 | - |
Properties included from: HTMLAttributes<HTMLElement>