Interactive Playground

Configure your CSV importer visually and generate production-ready code

Interactive Playground

Configure your CSV importer, test with sample data, and generate production-ready code you can copy directly into your app.

How It Works

1. Configure

Add columns, set validation rules, and configure transformations using the visual interface

2. Test

Try your configuration with real CSV files or generate sample data

3. Generate Code

Switch to the "Code" tab to get Zod schema code with TypeScript types

4. Copy & Use

Paste the generated code into your React/Next.js app

Loading playground...


Next Steps

After generating your code:

Troubleshooting

Generated code doesn't compile

Make sure you have both dependencies installed:

npm install @importcsv/react zod

Validation isn't working

  1. Check that validators are enabled in the "Validation Rules" section
  2. Test with sample data to see validation in action
  3. Review the generated Zod schema to ensure validators are included

Transformations not applied

Transformations are shown in the generated code but only execute during import. Test the importer with real data to see transformations in action.


Need help? Check out our integration guides or review the API documentation.