Batch display
Each batch appears as a card in a responsive grid with staggered animations for visual feedback.- Batch number badge with accent color
- Item count indicator
- Copy and download action buttons
- First 4 items by default
- Expand/collapse for full preview
- Line numbers for easy reference
Batches use staggered animations (80ms delay per batch) to create a smooth reveal effect when splitting completes.
Copy to clipboard
Click the Copy button on any batch to copy its formatted content to the clipboard. Features:- One-click copy with visual feedback
- Respects current output template and delimiter
- Toast notification confirms successful copy
- Button shows checkmark for 2 seconds after copying
Download individual batches
Click the download button (shows file extension like.txt, .sql, .csv, .json) to save a single batch.
Filename pattern: splitbox-batch-N.ext
Examples:
splitbox-batch-1.txt(plain text)splitbox-batch-2.sql(SQL IN template)splitbox-batch-3.csv(quoted CSV)splitbox-batch-4.json(JSON array)
Downloads trigger instantly using
downloadAsTextFile() from the utils. No server requests are made — files are generated client-side.Expand/collapse preview
By default, each batch card shows the first 4 items. If a batch has more items, you’ll see an expand button. Collapsed view (default):Expanding a batch doesn’t affect copying or downloading — those always include the full content.
Export all batches as ZIP
Click Export All to download all batches in a single ZIP file with a manifest. ZIP contents:Manifest file
Themanifest.json file contains metadata about the export:
ISO 8601 timestamp of when the export was created
Total number of batches in the export
Sum of items across all batches
Template used for formatting:
plain, sql_in, quoted_csv, or json_arrayDelimiter used for plain text output:
newline, comma, or tabArray of batch metadata entries (batch number, item count, filename)
Implementation
The ZIP export uses JSZip to generate files client-side:Responsive grid layout
Batches are displayed in a responsive CSS grid that adapts to screen size:- Desktop: 3 columns
- Tablet: 2 columns
- Mobile: 1 column
- Hover effects on batch cards
- Staggered reveal animations
- Smooth transitions when expanding/collapsing
Common workflows
Quick copy for single use
Split your list, copy the first batch, paste into your tool, then copy the next batch.Best for: Small batch counts (2-5 batches)
Download for manual processing
Split your list, download each batch individually, and process them one at a time.Best for: Sequential processing with manual review
Export ZIP for automation
Split your list, export all batches as ZIP, extract, and process programmatically.Best for: Large batch counts, automated scripts, archival
Keyboard navigation
While batch cards don’t have dedicated keyboard shortcuts, all actions are fully keyboard-accessible:- Tab to navigate between batch buttons
- Enter/Space to activate copy or download
- Tab to reach expand/collapse controls
Batch cards maintain focus state and provide visual feedback for keyboard navigation.