Box

Simple component used to add padding around its contents.

Usage

<script>
	import { Box } from 'creditdesign-svelte-components';
</script>

<Box boxSpace="var(--s-1)" className="test">
	<span>Item</span>
</Box>

Props

Property name Default value
boxSpace var(--s-1)
className ""

Default

Item