Components

Inset

Applies a negative margin to allow content to bleed into the surrounding container.

github.com
Official Node.js SDK for interacting with the AcmeCorp API.
<Card size="3">
<Flex>
<Inset side="left" mr="5">
<Flex align="center" justify="center" px="7" style={{ background: '#24292F', height: '100%' }} >
<GitHubLogoIcon color="white" height="40" width="40" />
</Flex>
</Inset>
<Box style={{ maxWidth: 400 }}>
<Text as="div" color="gray" mb="1" size="2">
github.com
</Text>
<Text size="5">
Official Node.js SDK for interacting with the AcmeCorp API.
</Text>
</Box>
</Flex>
</Card>

API Reference

This component is based on the div element and supports common margin props.

PropTypeDefault
sideenum"all"
pResponsive<"current" | "0">No default value
pxResponsive<"current" | "0">No default value
pyResponsive<"current" | "0">No default value
ptResponsive<"current" | "0">No default value
prResponsive<"current" | "0">No default value
pbResponsive<"current" | "0">No default value
plResponsive<"current" | "0">No default value
PreviousIcon Button