AcademyRulesDevelopment

TypeScript Next.js React UI Rules for Cursor

Front-end and full-stack teams building Next.js interfaces with Shadcn UI who want generated code to follow one set of conventions.

  • Recommendedour rating
  • 40,892repository stars
  • CC0-1.0licence
  • 4 months agolast update
mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-nextjs-react-ui-css-cursorrules-.mdc -o .cursor/rules/typescript-nodejs-nextjs-react-ui-css-cursorrules.mdc
typescript-nodejs-nextjs-react-ui-css-cursorrules.mdc

Loading the file...

What it does

A Cursor rules file for TypeScript, Node.js and Next.js App Router projects with React, Shadcn UI, Radix UI and Tailwind. It lists conventions for code style, naming, TypeScript, UI and performance, and recommends nuqs for URL search parameter state.

Use cases

  1. 01Build responsive Tailwind interfaces in a mobile-first way
  2. 02Keep directory and export naming consistent
  3. 03Prefer functional, declarative components over classes

Questions about
TypeScript Next.js React UI Rules for Cursor.

What is TypeScript Next.js React UI Rules for Cursor used for?

Front-end and full-stack teams building Next.js interfaces with Shadcn UI who want generated code to follow one set of conventions. A Cursor rules file for TypeScript, Node.js and Next.js App Router projects with React, Shadcn UI, Radix UI and Tailwind. It lists conventions for code style, naming, TypeScript, UI and performance, and recommends nuqs for URL search parameter state.

How do I install TypeScript Next.js React UI Rules for Cursor?

Run this in your terminal: mkdir -p .cursor/rules && curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/typescript-nodejs-nextjs-react-ui-css-cursorrules-.mdc -o .cursor/rules/typescript-nodejs-nextjs-react-ui-css-cursorrules.mdc

Is TypeScript Next.js React UI Rules for Cursor open source?

Yes. The code is on GitHub (PatrickJS/awesome-cursorrules) under the CC0-1.0 licence.

Is TypeScript Next.js React UI Rules for Cursor safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.