Introduction Naming conventions are an eternal struggle since there is no universal rule and somehow every programming languages manages to have different rules for the same things. So here are the naming conventions for Next.js. Folders ElementExampleConventionNormal Folderblog-postlower-hyphen[slug]ticketIdcamelCase Files ElementExampleConventionComponentsUserProfile.tsxPascalCaseNon Componentapi-client.tskebab-case Functions ElementExampleConventionComponentsUserProfilePascalCaseRegular FunctionhandleSubmitcamelCase Variables ElementExampleConventionVariablesuserNamecamelCaseConstantMAX_RETRY_COUNTSCREAMING_SNAKE_CASE