Back to Radix Ui

Inset

data/themes/docs/components/inset.mdx

latest872 B
Original Source
jsx
<Box maxWidth="240px">
	<Card size="2">
		<Inset clip="padding-box" side="top" pb="current">
			
		</Inset>
		<Text as="p" size="3">
			<Strong>Typography</Strong> is the art and technique of arranging type to
			make written language legible, readable and appealing when displayed.
		</Text>
	</Card>
</Box>

API Reference

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

<ThemesPropsTable defs="insetPropDefs" />