Build a CSV column mapping step with Tailwind CSS: after a file upload, show a mapping table with each detected column header on the left and a dropdown of expected fields on the right, auto-matching by name similarity with a confidence hint. Flag unmapped or ambiguous columns in amber, preview the first three parsed rows below, and let the visitor fix mapping before the final import button enables.
提示词保持英文原文——直接粘贴进 Claude、Cursor、v0 或任何 AI 编程工具即可使用。