Transform messy pasted data into clean, validated lists. Perfect for enterprise dashboards and admin panels.
Paste the sample data below or try your own messy data!
Handles 10,000+ values efficiently with smart parsing and optimized algorithms.
Auto-detects delimiters (commas, newlines, tabs, semicolons) and normalizes data.
In-memory sets, async API validation, or custom validation functions.
Real-time counts, lists, and copy-to-clipboard functionality.
Drop-in component with full TypeScript support and modern React patterns.
Framework-agnostic core utilities for any UI library or custom implementation.
# Install both packages
npm install pastebox-react pastebox-core
import { PasteSelect } from "pastebox-react";
import { inMemorySetValidator } from "pastebox-core";
const allowedValues = new Set(["A123", "B456", "C789"]);
function App() {
return (
<PasteSelect
validate={inMemorySetValidator(allowedValues)}
onChange={(result) => {
console.log(`โ
${result.validate.valid.length} valid`);
}}
/>
);
}