finds.dev

steven-tey/precedent

An opinionated collection of components, hooks, and utilities for your Next.js project.

View on GitHubHomepage ↗

★ 5,103TypeScriptMITupdated Oct 2024

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
5,103
Forks
492
Language
TypeScript
License
MIT
Last commit
2 Oct 2024

// nearby

If precedent isn't quite it.

All repos →