JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 250
  • Score
    100M100P100Q99878F
  • License MIT

Shared design system for AnyAuth projects with latest React 19, Fumadocs, and shadcn/ui

Package Exports

  • @anyauth/design-system
  • @anyauth/design-system/auth-types
  • @anyauth/design-system/base
  • @anyauth/design-system/base-v4
  • @anyauth/design-system/cloudflare-utils
  • @anyauth/design-system/commitlint.config.mjs
  • @anyauth/design-system/components/accordion
  • @anyauth/design-system/components/alert
  • @anyauth/design-system/components/alert-dialog
  • @anyauth/design-system/components/aspect-ratio
  • @anyauth/design-system/components/avatar
  • @anyauth/design-system/components/badge
  • @anyauth/design-system/components/breadcrumb
  • @anyauth/design-system/components/button
  • @anyauth/design-system/components/calendar
  • @anyauth/design-system/components/callout
  • @anyauth/design-system/components/card
  • @anyauth/design-system/components/carousel
  • @anyauth/design-system/components/checkbox
  • @anyauth/design-system/components/code-tabs
  • @anyauth/design-system/components/collapsible
  • @anyauth/design-system/components/command
  • @anyauth/design-system/components/concept-cards
  • @anyauth/design-system/components/context-menu
  • @anyauth/design-system/components/dialog
  • @anyauth/design-system/components/drawer
  • @anyauth/design-system/components/dropdown-menu
  • @anyauth/design-system/components/empty
  • @anyauth/design-system/components/favicon-meta
  • @anyauth/design-system/components/feature-card
  • @anyauth/design-system/components/form
  • @anyauth/design-system/components/hover-card
  • @anyauth/design-system/components/input
  • @anyauth/design-system/components/install-command
  • @anyauth/design-system/components/kbd
  • @anyauth/design-system/components/label
  • @anyauth/design-system/components/menubar
  • @anyauth/design-system/components/navigation-cards
  • @anyauth/design-system/components/navigation-menu
  • @anyauth/design-system/components/pagination
  • @anyauth/design-system/components/popover
  • @anyauth/design-system/components/progress
  • @anyauth/design-system/components/radio-group
  • @anyauth/design-system/components/resizable
  • @anyauth/design-system/components/scroll-area
  • @anyauth/design-system/components/select
  • @anyauth/design-system/components/separator
  • @anyauth/design-system/components/sheet
  • @anyauth/design-system/components/skeleton
  • @anyauth/design-system/components/slider
  • @anyauth/design-system/components/sonner
  • @anyauth/design-system/components/spinner
  • @anyauth/design-system/components/step-guide
  • @anyauth/design-system/components/switch
  • @anyauth/design-system/components/table
  • @anyauth/design-system/components/tabs
  • @anyauth/design-system/components/textarea
  • @anyauth/design-system/components/toast
  • @anyauth/design-system/components/toaster
  • @anyauth/design-system/components/toggle
  • @anyauth/design-system/components/toggle-group
  • @anyauth/design-system/components/tooltip
  • @anyauth/design-system/components/troubleshooting-list
  • @anyauth/design-system/components/ui/alert
  • @anyauth/design-system/components/ui/badge
  • @anyauth/design-system/components/ui/button
  • @anyauth/design-system/components/ui/card
  • @anyauth/design-system/components/ui/separator
  • @anyauth/design-system/components/ui/tabs
  • @anyauth/design-system/eslint.config.mjs
  • @anyauth/design-system/lint-staged.config.mjs
  • @anyauth/design-system/logger
  • @anyauth/design-system/package.json
  • @anyauth/design-system/postcss.config.mjs
  • @anyauth/design-system/prettier.config.mjs
  • @anyauth/design-system/styles
  • @anyauth/design-system/styles/global
  • @anyauth/design-system/tailwind.preset
  • @anyauth/design-system/theme
  • @anyauth/design-system/tsconfig.base.json
  • @anyauth/design-system/tsconfig.json
  • @anyauth/design-system/utils
  • @anyauth/design-system/versions

Readme

@anyauth-id/design-system

Version source of truth for all AnyAuth Fumadocs projects.

Overview

This package provides React components, utilities, types, and standardized dependency versions for the AnyAuth ecosystem. All Fumadocs projects reference this package to maintain consistent versions across:

  • React 19.2.0
  • Next.js 15.4.4
  • Fumadocs 15.8.5
  • Tailwind CSS 4.1.14
  • shadcn/ui components
  • Radix UI primitives

Installation

Add to your project's .npmrc:

@anyauth:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}

Install the package:

pnpm add @anyauth-id/design-system

Usage

Import Components

import { Button, Card, Alert } from '@anyauth-id/design-system';
import { cn } from '@anyauth-id/design-system/utils';

Import Styles

import '@anyauth-id/design-system/theme'; // OKLCH CSS variables
import '@anyauth-id/design-system/styles'; // All styles

Version Management

import { versions } from '@anyauth-id/design-system/versions';

console.log(versions.fumadocs.core); // '15.8.5'
console.log(versions.react.version); // '19.2.0'

Package Exports

  • @anyauth-id/design-system - Main components
  • @anyauth-id/design-system/utils - Utility functions
  • @anyauth-id/design-system/versions - Version constants
  • @anyauth-id/design-system/cloudflare-utils - Cloudflare helpers
  • @anyauth-id/design-system/logger - Logging utilities
  • @anyauth-id/design-system/auth-types - Authentication types
  • @anyauth-id/design-system/theme - OKLCH theme variables
  • @anyauth-id/design-system/styles - CSS styles

Development

# Install dependencies
pnpm install

# Build package
pnpm build

# Type check
pnpm type-check

Publishing

Package is published to GitHub Packages:

pnpm build
pnpm publish

License

MIT