inherit
to specify the text size from outside.<!doctype html>
<html lang="en" class="auto">
<head>
<title></title>
</head>
<body class="bg-base">
<p-text class="text-[3rem]" size="inherit">
The quick brown fox jumps over the lazy dog
</p-text>
<script>
</script>
</body>
</html>
<!doctype html>
<html lang="en" class="auto">
<head>
<title></title>
</head>
<body class="bg-base">
<p-text size="{'base': 'small', 'l': 'medium'}">
The quick brown fox jumps over the lazy dog
</p-text>
<script>
</script>
</body>
</html>
tag
property or directly inside a slot.The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
<!doctype html>
<html lang="en" class="auto">
<head>
<title></title>
</head>
<body class="bg-base">
<p-text tag="blockquote">
The quick brown fox jumps over the lazy dog
</p-text>
<p-text>
<blockquote>
The quick brown fox jumps over the lazy dog
</blockquote>
</p-text>
<script>
</script>
</body>
</html>