@parentspath/shared-components
v0.1.1
Published
Shared React components and utilities for the parents-apps ecosystem (solids-buddy, parents-path, daily-cherish)
Maintainers
Readme
Shared Components - Parked
This nested shared-components package is parked.
Read first:
../_HANDOVER_2026-05-28_FINAL_DECISION.md
Current decision: Lovable owns production for now, and each app may keep its own local component library. Do not expand this nested package, publish it, or make app repos depend on it unless Uri explicitly revives shared npm/SCL work.
Historical notes below are retained only as reference.
Installation
npm install @parents-apps/shared-components
# or
yarn add @parents-apps/shared-components
# or
bun add @parents-apps/shared-componentsUsage
import { LanguageSwitcher } from '@parents-apps/shared-components/ui';
import { cn } from '@parents-apps/shared-components/lib/cn';
import { useLocalStorage } from '@parents-apps/shared-components/hooks';Components
UI Components
LanguageSwitcher- Language selection componentAgeBadge- Display baby ageAllergenBadge- Display allergen severity
Utilities
cn()- Class name merger with clsx + tailwind-mergeformatDate()- Date formatting utilities
Hooks
useLocalStorage()- Local storage persistenceuseDebounce()- Debounced values
Peer Dependencies
react^18.0.0react-dom^18.0.0tailwindcss^3.4.0
License
MIT