Resource library.
File selection, searchable metadata, CSV export and reversible archiving.
THE MATERIAL, IN REACH
A home for the references.
Filter records, export metadata and archive with a way back.
Interface brief.pdf | PDF | 144.7 KB | Active | |
Research notes.txt | TXT | 4.1 KB | Active | |
Navigation sketches.png | PNG | 804.7 KB | Active | |
Old checklist.txt | TXT | 2.0 KB | Archived |
Illustrative file metadata. No file hosting or storage service is included.
Live interface · sample data · state resets on reload
GET STARTED
Source you can customise.
npx shadcn@latest add https://ui.bld8.dev/r/resources.jsonInstall into an existing application, or download the complete starter below.
Download the starter, unzip it and run the commands below. Choose Next.js or React + Vite. Both include the same BLD8 packages and editable source. No BLD8 npm installation is needed.
npm install
npm run devNext.js opens on http://localhost:3000; Vite opens on http://127.0.0.1:5173. Use the port printed by the dev server if the default is occupied. Node 22.13+ and React 19 are used. Import ResourceManager from @bld8/blocks in your own composition.
Moving between Next.js and Vite? Keep the UI source and review the application-specific changes.
NOTES TO SELF
A clear starting point.
Pass initialRecords, onImport and onRecordsChange for your integration. Without onImport, only metadata is added in memory; files are not hosted or uploaded. CSV exports chosen metadata with formula escaping. Archive has one-step undo. Server-side storage and validation are application concerns.
Original BLD8 source uses MIT. Personal and commercial use are allowed; preserve the copyright, licence and applicable third-party notices when sharing source.
Licence and usage Source manifestPublic API
Generated from the same public TypeScript exports as the agent documentation. The host owns the service contracts described above.
ResourceManager
| Prop | Type | Default |
|---|---|---|
initialRecords | ResourceRecord[] | undefined | initial |
onImport | ((files: File[]) => Promise<ResourceRecord[]>) | undefined | — |
onRecordsChange | ((records: ResourceRecord[]) => void) | undefined | — |
Tables come from the public TypeScript declarations. Related types and function parameters are shown alongside their component. A dash means no default is declared at the public function boundary.