Skip to main content

Installing the Component

The first step is to install the ReadSonic component in your Next.js project.

Install Package​

To install the ReadSonic component, run the following command in your terminal:

npm install @readsonic/nextjs

or

yarn add @readsonic/nextjs

or

pnpm add @readsonic/nextjs

or

bun add @readsonic/nextjs

Import Component​

Next, import the ReadSonic component in your Next.js project:

import ReadSonic from "@readsonic/nextjs";

Add Component​

Finally, add the ReadSonic component to your Next.js project:

<ReadSonic />