This library provides an uploader + CSV parser + raw file preview + UI for custom user column mapping, all in one. You are looking at the monorepo root - here are some relevant links to start with:
GodAlmighty990/react-csv-importer
Uploader + CSV parser + raw file preview + UI for custom user column mapping, all in one
TypeScriptMIT