npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@carefully-built/auth-pages

v0.1.10

Published

Reusable SaaS auth pages, layouts, legal consent, and form presentation for Carefully Built apps.

Readme

Carefully Built Auth Pages

Reusable SaaS auth layouts, legal consent, social login buttons, form presentation, default password form controllers, and WorkOS server action helpers.

Install

bun add @carefully-built/auth-pages @carefully-built/forms @carefully-built/ui react-hook-form @hookform/resolvers zod

What It Includes

  • AuthLayout: brandable auth layout with optional split visual.
  • AuthBottomNav: compact login/signup cross-link.
  • LegalConsent: reusable terms/privacy/cookie copy.
  • @carefully-built/auth-pages/social: provider buttons plus email fallback.
  • @carefully-built/auth-pages/forms: presentational forms that accept app-owned hooks/actions.
  • @carefully-built/auth-pages/controllers: default forgot-password and update-password hooks with built-in validation, loading, success, and error state.
  • @carefully-built/auth-pages/workos: WorkOS server action factory for Google auth URLs, password sign in/sign up, password reset, and sign out.
  • @carefully-built/auth-pages/organizations: reusable organization selection page, searchable organization list, and logo fallback.
  • @carefully-built/auth-pages/pages: lazy-mode full auth pages for login, email login, signup, forgot password, and update password. Use lower-level exports when you need custom behavior.

The root export is server-safe for Next.js App Router. Use /forms, /controllers, and /social from client components. Use /workos only from server files.

Goal

The consuming app should eventually mount auth with one import and one config object, keeping app-side auth code under 200 LOC.

Styling And Theming

Auth components ship with default Tailwind/shadcn-compatible classes. Consuming apps can keep page files clean by defining product-specific classes in an app config file and passing them through optional className and classes props.

import { AuthLoginPage } from '@carefully-built/auth-pages/pages';

<AuthLoginPage
  logo={<Logo />}
  providers={providers}
  legal={{
    termsHref: '/terms',
    privacyHref: '/privacy',
    className: 'text-center',
    linkClassName: 'underline-offset-4',
  }}
  classes={{
    content: 'max-w-sm',
    title: 'text-2xl',
    subtitle: 'text-sm',
  }}
/>;

AuthLayout, lazy auth pages, legal consent, bottom nav, social buttons, email/password forms, and organization selection all keep the same default style when these props are omitted.

Use OrganizationSelectionPage from @carefully-built/auth-pages/organizations for multi-organization auth instead of rebuilding the card list in each app.

Component Docs