Skip to main content
The face-age SDK works in React without a wrapper, and gives you every option, API method and event in the JavaScript SDK.
See Configuration, API reference and Events & analytics.

react-face-age wrapper

react-face-age uses the earlier options shown below and doesn’t expose the newer SDK features. Use the SDK directly for new projects.
onLoad is called with the result after the analysis finishes.

Wrapper options

string
required
Your Face Age ID, from the API keys page of your business in the panel.
string
default:"skincare"
Display mode of the analysis:
  • skincare — only collects the user’s image.
  • skincare-analyzer — collects the image and also displays the analysis results.
string[]
Limit the analysis information that is displayed. Defaults to ['dark_circle', 'eye_bag', 'eye_wrinkles', 'deep_wrinkles', 'wrinkles', 'acnes', 'pores', 'pigment'].
boolean
default:"true"
Allow users to take a photo with the camera.
boolean
default:"true"
Allow users to upload an image.
boolean
default:"true"
Show the analysis points on the face.