API Reference

@clerk/nextjs

@supports selector(body:has()) { body:has(details[data-component="ManualSteps"][open]) [data-manual-steps-dual] ol[aria-label="On this page"] li[data-step]…

Official Documentation ↗
CompatibilityThis documentation covers version v7.9.24. Check the official docs for the latest API surface.

Installation

npmnpm install @clerk/nextjs
pnpmpnpm add @clerk/nextjs
yarnyarn add @clerk/nextjs

Methods

Overview

@supports selector(body:has()) { body:has(details[data-component=“ManualSteps”][open]) [data-manual-steps-dual] ol[aria-label=“On this page”] li[data-step] { display: list-item } body:has(details[data-component=“ManualSteps”][open]) [data- If found, stop and get approval for migrating users, passwords/OAuth, routes, tokens, sessions, and rollout.

API reference status

This page lists only entry points that appear verbatim in the official README examples: clerkMiddleware, list, auth. Parameter and return types are not given by the official README, so signatures are marked unverified.

Errors

The following points are quoted verbatim from the official documentation. 来源:https://clerk.com/docs/quickstarts/nextjs · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:48:50.976Z. Any error type, throw condition or recovery step not stated there is left unspecified; this page does not infer exception classes or return values.

  • Always await auth() - ClerkProvider goes inside , not wrapping - When next.config sets cacheComponents: true (the create-next-app default), next build fails on request data read outside . (https://clerk.com/docs/quickstarts/nextjs)

Security notes

Quoted verbatim from the official documentation; this is not a complete threat model. 来源:https://clerk.com/docs/quickstarts/nextjs · 取证方式:HTTP GET 官方 README/文档页(HTML 去标签) · 抓取时间:2026-11-07T13:48:50.976Z.

Verification notes

FAQ

What does @clerk/nextjs do?
@supports selector(body:has()) { body:has(details[data-component="ManualSteps"][open]) [data-manual-steps-dual] ol[aria-label="On this page"] li[data-step] { display: list-item } body:has(details[data
How do I install @clerk/nextjs?
Run `npm install @clerk/nextjs`.
Where can I verify the API details?
Official repository/documentation: https://clerk.com/docs/quickstarts/nextjs. Checked on 2026-11-04; signatures and return values not stated in the official README are marked unverified.