# @novem-ui/text ## Usage ### `` The component has the following props, plus [TypographyProps](../base/src/types.ts): - `as` (Optional): It can be `p`, `strong`, `span`, `mark`, `ins`, `del`, `sup`, `small`, `i` or `b`, it's `p` by default. - `size` (Optional): It can be `xs`, `sm`, `md` or `lg`. ```tsx import { Paragraph, ThemeProvider } from `@novem-ui/core' // or import { Paragraph } from '@novem-ui/text' import { ThemeProvider } from '@novem-ui/theme' function App() { return ( Text content ) } ``` ### `` The component has the following props, plus [TypographyProps](../base/src/types.ts): - `as` (Optional): It can be any tag from `h1` to `h6`, it's `h1` by default. - `size` (Optional): It can be `xs`, `sm`, `md`, `lg`, `xl` or `xxl` ```tsx import { Heading, ThemeProvider } from `@novem-ui/core' // or import { Heading } from '@novem-ui/text' import { ThemeProvider } from '@novem-ui/theme' function App() { return ( Heading content ) } ``` ### `