Mischief

Family

Documents

Reading a file someone uploaded, marking it up, cutting it into pieces, and pulling structure out of it.

Components13

26Bounding Boxes

Selectable regions drawn over a page image from normalized coordinates, for showing an agent exactly where an answer came from.

27Annotation Layer

Notes attached to regions of a page. Drag to add one, select to read it, and the coordinates stay relative to the page rather than the screen.

28Redaction

Mark regions to black out before a document leaves the building, with a reveal that says plainly it is only a preview.

29Page Navigator

A rail of page thumbnails for moving through a long document, with arrow-key navigation and a clear active page.

30File Tree

An expandable tree of folders and files with full keyboard navigation and correct tree semantics.

31Document Splits

Mark where one scanned batch becomes several documents. Splits are toggled between pages and the segments update as you go.

32Schema Builder

Build the shape you want extracted from a document. Fields carry a name, type, description, and requirement, and object and array fields nest.

33Signature Pad

Sign with a pointer on a canvas, or type a name instead. Returns a PNG data URL or the typed text.

34CSV Viewer

A real table for delimited data, with sortable columns, a sticky header, and a row cap so a large file cannot lock the page.

35JSON Viewer

A collapsible tree for a JSON payload, navigable from the keyboard, where every row can hand you its path.

36DOCX Viewer

Renders a Word document as elements built through an allowlist, so a file you did not write cannot bring its own scripts or links.

37PDF Viewer

Page-by-page PDF rendering on a canvas, with paging and zoom, over any loader you give it.

38Markdown Blocks

Extracted document regions rendered as markdown, each one selectable so it can be tied back to where it came from.

Installing one

Each of these copies its source into your project, the same as any other component in the registry.

npx shadcn@latest add Tinkerers-Labs/mischief-ui/bounding-boxes

Other families