What this family solves
Family-local layout-spacing family with one decorative Spacing component backed by a token scale, a scale multiplier escape hatch, and shared React/Vue adapter parity.
Marwes documentation
Family-local layout-spacing family with one decorative Spacing component backed by a token scale, a scale multiplier escape hatch, and shared React/Vue adapter parity.
Family-local layout-spacing family with one decorative Spacing component backed by a token scale, a scale multiplier escape hatch, and shared React/Vue adapter parity.
Use Spacing tokens instead of hardcoded margins to keep vertical rhythm consistent.
Token-driven decorative vertical gap between stacked content
Choose an adapter in the verified examples. The inventory below reflects each framework package exactly.
@marwes-ui/reactSpacer, Spacing
SpacerProps, SpacingProps, SpacingSize
Spacings
@marwes-ui/vueSpacer, Spacing
SpacerProps, SpacingProps, SpacingSize
Spacings
@marwes-ui/svelteSpacer, Spacing
SpacerProps, SpacingProps, SpacingSize
Spacings
These examples come from the same fixtures verified by the repository checks.
import { Spacing, Spacings } from "@marwes-ui/react"
export function Example() {
return <Spacing size={Spacings.sp24} />
}<script setup lang="ts">
import { Spacing, Spacings } from "@marwes-ui/vue"
</script>
<template>
<Spacing :size="Spacings.sp24" />
</template><script lang="ts">
import { Spacing, Spacings } from "@marwes-ui/svelte"
</script>
<Spacing size={Spacings.sp24} />Spacing uses Marwes preset CSS and theme variables. Customize it through the theme passed to MarwesProvider; do not add a second component stylesheet. See the theming guide for configuration and token details.