// the find
steven-tey/precedent
An opinionated collection of components, hooks, and utilities for your Next.js project.
A Next.js starter template with a curated set of UI components, utility hooks, and Clerk auth wired in. Aimed at developers who want to skip the first few hours of project setup and get to building. Not a component library you install — you clone it and own the code.
The utility hooks (useScroll, useIntersectionObserver, useLocalStorage) are genuinely useful and the kind of thing you'd write yourself anyway — having them pre-written and typed saves real time. Radix primitives for modal/popover/tooltip means accessible components without fighting ARIA yourself. The OG image generation via ImageResponse is a nice touch that most starters omit. ESLint + Prettier + TypeScript all pre-configured and actually enforced, not just added and ignored.
Last commit was October 2024 and it still references a video attachment that likely doesn't render — maintenance cadence is slow for a starter template where deps rot fast. The hooks are thin wrappers (useLocalStorage is ~20 lines) — if you need persistence with SSR safety or complex state, you'll outgrow them immediately. No database layer despite listing Prisma in the old README topics — it was apparently removed, leaving a gap if you actually need persistence. Clerk is the only auth option baked in; if you want NextAuth or a different provider, you're ripping out the auth plumbing yourself from day one.