# mozmorris/react-webcam

Webcam component

Repository: https://github.com/mozmorris/react-webcam
Canonical: https://ross.abutalabs.com/products/react-webcam
Homepage: https://codepen.io/mozmorris/pen/JLZdoP
Language: TypeScript
License: MIT
License Family: permissive
Topics: reactjs, webcam-component, react, getusermedia, webcam
Last push: 2026-03-10T15:04:48+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 71, release rhythm 35, longevity 100
- inputs: {"age_days": 4281, "days_push": 176, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1750, forks 284 (observed 2026-08-28T04:05:31.122474+00:00)

## What it is
react-webcam is a React component that wraps the browser's getUserMedia API to display a live webcam video stream. It supports capturing screenshots from the stream, mirroring, and configurable audio/video constraints.

## Use cases
- access the user's webcam in a react app
- capture a photo from the camera in the browser
- show a live camera preview with mirroring
- record screenshots from a video stream as webp or jpeg
- request camera and microphone with custom media constraints
- build a browser-based photo booth or video verification flow

## When to choose
- you need a drop-in React component for webcam access
- you want simple screenshot capture from a camera stream
- you need fine control over getUserMedia audio/video constraints

## When to avoid
- you need video recording or advanced media processing
- your app is not React-based
- you need native mobile camera APIs rather than browser media access

## Facets
- artifact type: library
- maturity: active
- function: ui-components, image-processing, frontend-framework
- domain: web-development, frontend, media
- platform: browser, cross-platform
- tags: react, webcam, getusermedia, camera-access, screenshot, media-stream, nodejs

## Member repositories
- mozmorris/react-webcam (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:31.122474+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:28:45.247659+00:00, confidence not recorded.
  - readme: https://github.com/mozmorris/react-webcam (fetched 2026-08-28T04:05:31.122474+00:00, sha b7d1d64417bc)
  - registry_npm: https://registry.npmjs.org/react-webcam (fetched 2026-08-29T11:06:53.014378+00:00, sha 0c55bee0ab31)
- Data as of 2026-08-30T08:39:29.467469+00:00.
