npm i uuidv4 code example Example: uuid v4 react npm install uuid import { v4 as uuidv4 } from 'uuid';