uuidv4 import code example Example 1: uuid react npm i react-uuid Example 2: How to import a particular version of uuid import { uuid } from 'uuidv4';