The P
component is used to render paragraphs or blocks of text in a document or page. It provides a standard, readable format for text content.
import React from 'react';
import { P } from '~/ui/components/Text';
export default function App() {
return (
<div>
<P>This is a paragraph of text, providing information in a clear, readable format.</P>
</div>
);
}
This is a paragraph of text, providing information in a clear, readable format.
The P
component accepts all standard HTML paragraph attributes.