Precedent

screenshot of Precedent
nextjs
react
tailwind
radix-ui
prisma

A full stack starter for Nextjs with Auth.js and Prisma CMS. An opinionated collection of components, hooks, and utilities for your Next.js project.

Overview

Precedent is a collection of components, hooks, and utilities designed for Next.js projects. It offers various features and tools to enhance the development process and improve the user experience. With Precedent, developers can easily deploy their projects, handle user authentication, utilize a CSS framework, access motion libraries, and much more.

Features

  • One-click deployment to Vercel
  • User authentication handling with providers like Google, Twitter, and GitHub
  • Typescript-first ORM for Node.js with Prisma
  • Easy preview and deployment of changes with Vercel and Vercel Postgres
  • Utility-first CSS framework for rapid UI development with Tailwind CSS
  • Primitives like modal, popover, etc. for building a stellar user experience with Radix
  • Motion library for React to animate components with ease using Framer Motion
  • Beautifully simple, pixel-perfect icons with Lucide
  • Custom fonts optimization and removal of external network requests for improved performance with next/font
  • Generation of dynamic Open Graph images at the edge with ImageResponse
  • Simple React component for more readable titles with react-wrap-balancer
  • Various hooks and utilities such as useIntersectionObserver, useLocalStorage, useScroll, nFormatter, capitalize, truncate, and use-debounce
  • TypeScript for static type checking and end-to-end type safety
  • Opinionated code formatter for consistent code style with Prettier
  • Pluggable linter for Next.js and TypeScript with ESLint
  • Vercel Analytics for tracking unique visitors, pageviews, and more in a privacy-friendly way
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

radix-ui
Radix UI

Radix Primitives is a low-level UI component library with a focus on accessibility, customization and developer experience. You can use these components either as the base layer of your design system, or adopt them incrementally.

prisma
Prisma

Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

framer-motion
Framer Motion

Alpine.js is a lightweight JavaScript framework that simplifies the process of creating dynamic, reactive user interfaces on the web. It uses a declarative syntax that offers a higher level of abstraction compared to vanilla JavaScript, while being more performant and easier to use than jQuery.

postcss
Postcss

PostCSS is a popular open-source tool that enables web developers to transform CSS styles with JavaScript plugins. It allows for efficient processing of CSS styles, from applying vendor prefixes to improving browser compatibility, ultimately resulting in cleaner, faster, and more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

vercel
Vercel

Vercel offers built-in support for deploying and hosting Next.js applications, making it a popular choice among Next.js developers.