What this family solves
Native paragraph-text family with one Paragraph component backed by a shared typography preset, theme defaults, and a shared React/Vue contract.
Marwes documentation
Native paragraph-text family with one Paragraph component backed by a shared typography preset, theme defaults, and a shared React/Vue contract.
Native paragraph-text family with one Paragraph component backed by a shared typography preset, theme defaults, and a shared React/Vue contract.
Use Paragraph for body copy and reserve Text for shorter labels, captions, and overlines.
Body copy at a small, medium, or large reading size
Choose an adapter in the verified examples. The inventory below reflects each framework package exactly.
@marwes-ui/reactParagraph
ParagraphProps
@marwes-ui/vueParagraph
ParagraphProps
@marwes-ui/svelteParagraph
ParagraphProps
These examples come from the same fixtures verified by the repository checks.
import { H1, H2, H3, Paragraph, Text, TextVariant } from "@marwes-ui/react"
export function Example() {
return (
<>
<Text variant={TextVariant.display}>Display</Text>
<H1>Heading 1</H1>
<H2>Heading 2</H2>
<H3>Heading 3</H3>
<Paragraph size="md">Body paragraph text.</Paragraph>
<Paragraph size="sm">Small body paragraph.</Paragraph>
<Text variant={TextVariant.label}>Label default</Text>
<Text variant={TextVariant.labelSmall}>Label small</Text>
<Text variant={TextVariant.caption}>Caption</Text>
<Text variant={TextVariant.overline}>Overline</Text>
</>
)
}<script setup lang="ts">
import { H1, H2, H3, Paragraph, Text, TextVariant } from "@marwes-ui/vue"
</script>
<template>
<Text :variant="TextVariant.display">Display</Text>
<H1>Heading 1</H1>
<H2>Heading 2</H2>
<H3>Heading 3</H3>
<Paragraph size="md">Body paragraph text.</Paragraph>
<Paragraph size="sm">Small body paragraph.</Paragraph>
<Text :variant="TextVariant.label">Label default</Text>
<Text :variant="TextVariant.labelSmall">Label small</Text>
<Text :variant="TextVariant.caption">Caption</Text>
<Text :variant="TextVariant.overline">Overline</Text>
</template><script lang="ts">
import { H1, H2, H3, Paragraph, Text, TextVariant } from "@marwes-ui/svelte"
</script>
<Text variant={TextVariant.display}>Display</Text>
<H1>Heading 1</H1>
<H2>Heading 2</H2>
<H3>Heading 3</H3>
<Paragraph size="md">Body paragraph text.</Paragraph>
<Paragraph size="sm">Small body paragraph.</Paragraph>
<Text variant={TextVariant.label}>Label default</Text>
<Text variant={TextVariant.labelSmall}>Label small</Text>
<Text variant={TextVariant.caption}>Caption</Text>
<Text variant={TextVariant.overline}>Overline</Text>Paragraph 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.