# RichText
The `RichText` component renders a metafield of type `rich_text_field`. By default the rendered output uses semantic HTML tags. Customize how nodes are rendered with the `components` prop.
```jsx
import {RichText} from '@shopify/hydrogen';
export function MainRichText({metaFieldData}) {
return (
` */
paragraph?: typeof Paragraph;
/** Customize how text nodes. They can either be bold or italic. Defaults to ``, `` or text. */
text?: typeof Text;
/** Customize links. Defaults to a React Router `` component in Hydrogen and a `` in Hydrogen React. */
link?: typeof RichTextLink;
/** Customize lists. They can be either ordered or unordered. Defaults to ` `
### root
value: `({ node, }: { node: { type: "root"; children?: ReactNode[]; }; }) => ReactNode`
The root node of the rich text. Defaults to `` or `
` */
list?: typeof List;
/** Customize list items. Defaults to `
` to `
`
### link
value: `({ node, }: { node: { type: "link"; url: string; title?: string; target?: string; children?: ReactNode[]; }; }) => ReactNode`
Customize links. Defaults to a React Router `` component in Hydrogen and a `` in Hydrogen React.
### list
value: `({ node, }: { node: { type: "list"; listType: "unordered" | "ordered"; children?: ReactNode[]; }; }) => ReactNode`
Customize lists. They can be either ordered or unordered. Defaults to `
` or `
`
### listItem
value: `({ node, }: { node: { type: "list-item"; children?: ReactNode[]; }; }) => ReactNode`
Customize list items. Defaults to `