Ingestion Pipeline
Upload, parse, chunk, embed and index, or whatever steps your pipeline has, drawn as a chain on every file. The batch reads "7 of 9 ready", failures say at which step and why, Retry resumes from the failed step and Cancel asks before stopping a running file.
Ready for AI tools one file typed props installs by name prompt included
The decision inside it
No invented progress bars
A percentage is drawn only for a step that reports one. Everything else says which step is running, because a bar that guesses is worse than none.
Installation
How you get it
Paste this into Claude Code, Cursor, Codex or any coding agent. It installs the file and uses it as it is, instead of writing a new one.
Use Layro's Ingestion Pipeline for this.
Install it: npx shadcn@latest add @layro/ingestion-pipeline
Import it from @/components/ui/ingestion-pipeline.
Do not rewrite or restyle it. Pass my data through its props
and keep its built-in states.For the full brief with every prop and the mistakes assistants usually make, use Copy prompt above. Pro components install through the @layro registry with your CLI token: see the Namespaced tab.
API
“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.
Props
Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.
| Prop | Type | Notes |
|---|---|---|
itemsrequired | IngestionItem[] | — |
title | React.ReactNode | Over the list. Default "Knowledge base". |
onItemSelect | (item: IngestionItem) => void | — |
onRetry | (item: IngestionItem) => void | Promise<void> | Adds Retry to failed files. May return a promise. |
onCancel | (item: IngestionItem) => void | Promise<void> | Adds Cancel to queued and running files. May return a promise. |
onOpenSource | (item: IngestionItem) => void | Adds "Open" to each file. |
pendingIds | string[] | Ids with an action already in flight, if you track that yourself. |
action | React.ReactNode | An action for the header: "Add files". |
Dependencies
npm packages
clsxframer-motionlucide-reacttailwind-mergeLayro foundations, installed alongside it
layro-themebadgebuttonstatetabsLifetime access
Every component, and everything we ship next.
- All 112 components, source included
- The template, and everything released after you buy
- shadcn CLI or download — React 18/19, Tailwind v4
- One payment. No subscription.
More in RAG & Evals
All RAG & Evals componentsPrompt Test Matrix
PaidA prompt against its test cases: expected, actual, and what regressed.
Included with lifetime access
Model Comparison
PaidOne prompt, several models, answers side by side with time, tokens and cost.
Included with lifetime access
Context Window
FreeWhat filled a model's context, part by part, and what was cut.
Eval Leaderboard
PaidModels and prompts ranked on one evaluation, with the caveats on screen.
Included with lifetime access
Output Validator
PaidA model's JSON checked against its schema, with each problem on its field.
Included with lifetime access
Evidence Map
PaidClaims and sources joined by what supports, contradicts or only gives context.
Included with lifetime access