How jedwatson/react-select works
React Select is a customizable React select control. The principal workflow is a user opening the control, searching and choosing options, then receiving a single or multi-value change; state management can be controlled by props or maintained internally. The graph also captures async loading, option creation, accessibility, menu behavior, component injection, styling, and animation. Relationships are limited to README statements and indexed imports or excerpted calls; unsampled feature wiring is not asserted.
Main entry points: Select.tsx Select control · styles.ts Style API · index.ts Injectable components · MultiValue.tsx Value rendering
Components 23
Selection interaction
- Select control
packages/react-select/src/Select.tsx - Screen reader guidance
packages/react-select/src/accessibility/index.ts - Live announcements
packages/react-select/src/components/LiveRegion.tsx - Scroll management
packages/react-select/src/internal/ScrollManager.tsx
Selection extensions
- Async options
packages/react-select/src/useAsync.ts - Async select
packages/react-select/src/Async.tsx - Option creation
packages/react-select/src/useCreatable.ts - Creatable select
packages/react-select/src/Creatable.tsx - Async creatable
packages/react-select/src/AsyncCreatable.tsx
UI and presentation
- Injectable components
packages/react-select/src/components/index.ts - Menu and portal
packages/react-select/src/components/Menu.tsx - Value rendering
packages/react-select/src/components/MultiValue.tsx - Control indicators
packages/react-select/src/components/indicators.tsx - Control layout
packages/react-select/src/components/containers.tsx - Style API
packages/react-select/src/styles.ts - Theme
packages/react-select/src/theme.ts - Animated components
packages/react-select/src/animated/transitions.tsx
State and behavior
- Controllable state
packages/react-select/src/useStateManager.ts - State wrapper
packages/react-select/src/stateManager.tsx - Option filtering
packages/react-select/src/filters.ts - Shared utilities
packages/react-select/src/utils.ts - Shared types
packages/react-select/src/types.ts
Other components
- User
Connections 31
- User → Select control: uses
README.md - Select control → Controllable state: uses state
packages/react-select/src/useStateManager.ts - State wrapper → Controllable state: wraps
packages/react-select/src/stateManager.tsx - State wrapper → Select control: renders
packages/react-select/src/stateManager.tsx - Select control → Option filtering: filters options
packages/react-select/src/Select.tsx - Select control → Shared utilities: uses helpers
packages/react-select/src/Select.tsx - Async select → Async options: uses
- Async select → Select control: renders
- Creatable select → Option creation: uses
- Creatable select → Select control: renders
- Async creatable → Async options: combines
- Async creatable → Option creation: combines
- Select control → Injectable components: uses components
packages/react-select/src/Select.tsx - Select control → Menu and portal: renders menu
packages/react-select/src/Select.tsx - Select control → Live announcements: renders announcements
packages/react-select/src/Select.tsx - Select control → Screen reader guidance: uses guidance
packages/react-select/src/Select.tsx - Live announcements → Screen reader guidance: uses guidance
packages/react-select/src/components/LiveRegion.tsx - Select control → Scroll management: manages scrolling
packages/react-select/src/Select.tsx - Menu and portal → Shared utilities: uses helpers
packages/react-select/src/components/Menu.tsx - Value rendering → Control indicators: uses icon
packages/react-select/src/components/MultiValue.tsx - Injectable components → Value rendering: exports
packages/react-select/src/components/index.ts - Injectable components → Control layout: exports
packages/react-select/src/components/index.ts - Injectable components → Control indicators: exports
packages/react-select/src/components/index.ts - Style API → Control layout: styles
packages/react-select/src/styles.ts - Style API → Menu and portal: styles
packages/react-select/src/styles.ts - Style API → Value rendering: styles
packages/react-select/src/styles.ts - Style API → Control indicators: styles
packages/react-select/src/styles.ts - Select control → Style API: uses styles
packages/react-select/src/Select.tsx - Select control → Theme: uses theme
packages/react-select/src/Select.tsx - Animated components → Value rendering: animates values
packages/react-select/src/animated/transitions.tsx - Shared types → Select control: types
packages/react-select/src/types.ts