# @aws-amplify/ui-react-core

> `@aws-amplify/ui-react-core` is a React platform agnostic utility library for Amplify UI internal usage in `@aws-amplify/ui-react*` and `@aws-amplify/ui-react-native*` namespaced packages.

Latest version **3.6.7** (published 2026-10-02) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @aws-amplify/ui-react-core
pnpm add @aws-amplify/ui-react-core
yarn add @aws-amplify/ui-react-core
bun add @aws-amplify/ui-react-core
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 3.6.7 |
| Published | 2026-10-02 |
| First published | 2022-08-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 253 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | amzn-oss, aws-amplify-ops, amplify-studio-uibuilder, amplify-codegen, amplify-data-dev-npm, aws-amplify-data-runtime |

## Links

- npm: https://www.npmjs.com/package/@aws-amplify/ui-react-core
- npm.io page: https://npm.io/package/@aws-amplify/ui-react-core

## Dependencies (5)

- [lodash](https://npm.io/package/lodash.md) 4.18.1
- [xstate](https://npm.io/package/xstate.md) ^4.33.6
- [@xstate/react](https://npm.io/package/@xstate/react.md) ^3.2.2
- [@aws-amplify/ui](https://npm.io/package/@aws-amplify/ui.md) 6.15.7
- [react-hook-form](https://npm.io/package/react-hook-form.md) 7.53.2

## Recent versions

- 3.6.7 (latest) — 2026-10-02
- 0.0.0-next-07a1df5-20261106084834 (next) — 2026-11-06
- 0.0.0-cifix-de4fc62-20251212213124 (cifix) — 2025-12-12
- 0.0.0-macos15-ddf3c2d-20251211033920 (macos15) — 2025-12-11
- 0.0.0-macos-test-11faf50-20251210063209 (macos-test) — 2025-12-10
- 0.0.0-liveness-dca-9017c4d-20251029003456 (liveness-dca) — 2025-10-29
- 0.0.0-hotfix-cd120e2-20250627084020 (hotfix) — 2025-06-27
- 0.0.0-email-mfa-41dd6d1-20250329011526 (email-mfa) — 2025-03-29
- 0.0.0-ai-documents-7a1d499-20250317175456 (ai-documents) — 2025-03-17
- 0.0.0-storage-browser-alpha-be63c3d-20250130005150 (storage-browser-alpha) — 2025-01-30
- 0.0.0-react-19-a2f998a-20250114183316 (react-19) — 2025-01-14
- 0.0.0-testdelay-758e95a-20250109194823 (testdelay) — 2025-01-09
- 0.0.0-test-delay-3b0be8c-20250107175849 (test-delay) — 2025-01-07
- 0.0.0-ai-streaming-ee273dd-20241112004128 (ai-streaming) — 2024-11-12
- 0.0.0-liveness-alpha-5321204-20241106173804 (liveness-alpha) — 2024-11-06
- … 2682 more at https://npm.io/package/@aws-amplify/ui-react-core/versions

## README

# Amplify UI React Core

`@aws-amplify/ui-react-core` is a React platform agnostic utility library for Amplify UI internal usage in `@aws-amplify/ui-react*` and `@aws-amplify/ui-react-native*` namespaced packages.

## Contents

### Authenticator

- `AuthenticatorProvider` - Provider component for Authenticator context
- `useAuthenticator` - Hook for accessing Authenticator functionality
- `useAuthenticatorRoute` - Hook for accessing Authenticator route information
- `useAuthenticatorInitMachine` - Hook for initializing Authenticator state machine
- `isAuthenticatorComponentRouteKey` - Utility function for checking route keys
- `resolveAuthenticatorComponents` - Utility function for resolving Authenticator components

### Form Components and Hooks

- `FormProvider` - Provider component for form context
- `useField` - Hook for accessing form field functionality
- `useForm` - Hook for accessing form functionality
- `withFormProvider` - Higher-order component for adding form provider capabilities
- `RenderNothing` - Utility component for rendering nothing

### Utility Hooks

- `useAsyncReducer` - Hook for async state management
- `useControlledReducer` - Hook for controlled state management
- `useDeprecationWarning` - Hook for displaying deprecation warnings
- `useDropZone` - Hook for drag and drop functionality
- `useGetUrl` - Hook for getting URLs
- `useHasValueUpdated` - Hook for checking if a value has updated
- `usePreviousValue` - Hook for accessing previous value
- `useSetUserAgent` - Hook for setting user agent
- `useTimeout` - Hook for timeout functionality

### Utility Functions

- `createContextUtilities` - Utility function for creating context utilities

### Type Definitions

- Various type definitions for Authenticator, Form, and utility components

---
_Source: https://npm.io/package/@aws-amplify/ui-react-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
