Page Preview is a feature that lets you check content registered in the Administration console on your website before publishing it.
First, microCMS is a headless CMS with no built-in presentation layer, so its preview mechanism is fundamentally different from that of traditional CMSs.
To preview content, you need to implement a mechanism on the frontend to retrieve Draft content from microCMS and render it.
To do this, you need to pass the frontend a URL containing the Content ID, which uniquely identifies the content, and the draftKey, which is used to retrieve the Draft content.

microCMS provides a Page Preview feature that lets you configure a dynamic URL for previews from the content details screen in the Administration console. This document explains how to configure it.
1: Select an API.
2: Select "API Settings."
3: Select "Page Preview."

4: Enter the URL you want to link to in the "Destination URL" field, then click "Update."

When you include the following placeholders in the URL, they are replaced with values from the content being previewed when you run Page Preview.
{CONTENT_ID}: Content ID{DRAFT_KEY}: draftKey{FIELD:Field ID}: The value of the specified FieldIncluding Field values in the URL
You can specify the following Fields in {FIELD:Field ID}. Field IDs are case-sensitive.
For example, to include the value of a Text Field with the Field ID slug in the URL, enter {FIELD:slug}.
Example: https://example.com/{FIELD:slug}/draft?id={CONTENT_ID}&draftKey={DRAFT_KEY}
Specifying a Content Reference Field
For a Content Reference Field, you can include the Content ID of the referenced content in the URL by adding .id after the Field ID.
For example, if the Field ID is category, enter {FIELD:category.id}.
Example: https://example.com/{FIELD:category.id}/draft?id={CONTENT_ID}&draftKey={DRAFT_KEY}
You cannot specify Field values other than the Content ID or Multiple Content References Fields.
After configuring the URL, click the [Page Preview] button on the content details screen. The placeholders in the URL are replaced with values from the selected content, and you are redirected to that URL.

On the frontend, you can retrieve these values from the URL and use them to access the microCMS API and fetch the data.
For details on how to implement the frontend, see the following blog articles.