Mischief

Components

Everything here.

117 components across 11 families. Search by name or by what it does, or narrow to one family and read it end to end.

Browse117

Agent UI31

The surface an assistant answers through: the thread, the composer, and everything it shows while it is working.

15Conversation

The scroll container a thread lives in. It follows a streaming reply to the bottom, and stops the moment the reader scrolls up to read something older.

16Message

One turn in a thread, with a role, an optional avatar and timestamp, and actions that stay reachable without a pointer.

17Prompt Input

The composer. Grows with the message, sends on Enter, keeps Shift+Enter for a new line, and turns into a stop button while a reply streams.

18Suggestions

A row of prompts to start or continue with, for the moment someone does not know what to ask.

19Questionnaire

The questions an agent asks before it starts. One at a time, with single or multiple answers, an open answer alongside them, and required ones it will not move past.

20Ask AI

Hand someone a prepared, source-aware prompt in the AI assistant they already use, or let them copy it for another one.

21Streaming Text

Text that arrives a piece at a time from an async source, with a cursor while it runs and sentence-level announcements for screen readers.

22Thinking State

A status row for work in progress, with a live elapsed timer and optional reasoning behind a disclosure.

23Tool Call

A compact record of one tool invocation: name, status, duration, and the input and output behind a disclosure.

24Agent Checklist

A task list whose items change state as work proceeds, announcing what changed instead of re-reading the whole list.

25Inline Citations

Numbered markers placed inside generated text, each linking to its entry in a source list underneath.

44Response Actions

The row under an answer: copy it, ask again, and rate it. Drops into the actions slot on Message.

49Voice Input

A microphone that draws what it is hearing, so a live one is told apart from a dead one at a glance.

50Audio Player

A recording with its shape, its position and its words, so a voice note can be read as well as heard.

51Bar Visualizer

Frequency bars for audio on its way out, the counterpart to the trace a microphone draws on the way in.

52Mic Selector

Chooses which microphone to use, then settles the question by lighting a meter from the one you chose.

53Chain of Thought

The steps an assistant took before answering, open while it is working and folded away once it is done.

55Video Player

Video with captions that can be turned on, a real scrubber, and controls that survive full screen.

57Subagent Tree

Several agents working at once, nested under whoever handed the work down, each with its own state and elapsed time.

58Stopped Run

What the thread says after an answer ended early, with whatever it had already written kept above the line.

59Memory Chips

Everything an assistant has been told to remember about someone, each one removable on its own.

60Orb

A sphere that carries what an assistant is doing, settled when idle and moving with the voice when there is one.

61Matrix

A grid of cells lit from the bottom by a level, which reads as a piece of hardware rather than as a chart.

62Response

An assistant's answer as markdown, including while it is still half-written and briefly invalid.

63Transcript Viewer

A recording as text, where every line is also the way back to the moment it was said.

64Stop Generating

The control that interrupts a running answer, with the time it has been going and Escape wired up.

65Token Meter

How much of the context window is gone, split by what spent it, and a warning before it runs out.

66Model Picker

A model chooser that has room for what each one is good at, and full keyboard control.

67Source Card

One retrieved passage: where it came from, what it said, and how well it matched.

106Presence Field

An ambient backdrop that carries what the assistant is doing. It changes colour and pace with the state, and settles into each one rather than snapping to it.

107Stream Glow

An edge that breathes along a region while tokens land in it, and stops the moment they do.

Code5

Code an agent wrote, ran, or wants to change, and the controls to accept it.

Documents13

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

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.

Files2

Getting a file in, and showing what arrived.

Feedback7

What the page says while it waits, and when there is nothing to show.

Controls16

Familiar inputs with more feedback than usual, and none of it required to operate them.

01Magnetic Tabs

Familiar tabs with a gentle pull toward the pointer. Selection stays clear and keyboard navigation remains immediate.

02Elastic Slider

A precise slider with a small amount of give at either end. The current value stays visible and the control works without a pointer.

03Hold Button

A confirmation button for actions that deserve a second thought. Release early to cancel, or activate once with a keyboard.

04Shift Button

A call to action that trades its leading icon for a directional cue when someone approaches it.

05Impossible Checkbox

A checkbox with one stubborn rule: the bear will not let you leave it on. Best kept for demos, Easter eggs, and harmless preferences.

09Save Bar

A bar that exists only while a form has unsaved changes. It says so, saves, confirms, and leaves.

45Theme Toggle

A light and dark switch that survives a reload, follows the system when asked, and stays in step across tabs.

46Accordion

A list of disclosures built on native details elements, so find-in-page and the browser do the work.

80Copy Button

Copies a value and says whether it worked, including when the clipboard refuses.

81Secret Field

An API key or token: hidden until asked for, copied whole either way.

108Scrub Bar

The seek control on its own: a slider that happens to be a timeline, announced in minutes and seconds.

109OTP Input

A one time code, one box per character, where pasting the whole code into any box fills the rest.

110Tag Input

An input that turns what you typed into a removable tag, and gives the last one back when you press backspace on an empty field.

111Combobox

A field that narrows a list as you type, and holds one choice or several as removable chips.

112Sortable List

A list reordered by dragging a handle, or from the keyboard without one, where every move is announced.

114Stepper

Where someone is in something with a beginning and an end, said in words as well as drawn.

Wayfinding5

Knowing where you are in something long, and getting somewhere else quickly.

Docs5

The furniture of a documentation site, taken out of this one.

Blocks11

Larger pieces that compose several components into one part of a page.

Scenes18

Backdrops and moments where the drawing is the job, each one taking its colours from the theme it was installed into.

84Render Surface

The canvas the other scenes are drawn on. It stays the size of its box, sleeps when nobody is looking at it, and holds still when motion is reduced.

85Aurora Field

A drifting gradient backdrop for a hero or an empty state, built from the colours already in your theme rather than from a palette it brought with it.

86Grain Overlay

Film grain for any positioned box, which incidentally fixes the banding a wide gradient shows on a good monitor.

87Spotlight Card

A card that catches a light following the pointer, and can light every card in its grid from the same pointer at once.

88Constellation Field

Drifting points joined by lines when they come close, brightening and swelling around the pointer.

89Lattice Field

A grid of dots that parts around the pointer and falls apart when pressed, then climbs back into line.

90Burst

A short burst of pieces for the moment something finally completes. It draws nothing until it is fired and stops as soon as the last piece falls out of the box.

91Shader Surface

Four shader backdrops -- caustics, metal, plasma and ripple -- each taking its two colours from your theme, so the same surface arrives dark in a dark application and light in a light one.

92Displacement Image

Two images crossing by pushing their pixels through the same noise in opposite directions, with the first image also present as ordinary markup for anything that cannot run it.

93Scene Hero

A lit three-dimensional object behind a headline, steered by the pointer and coloured by the theme. The one component here that asks for three.

94Scroll Scene

Turns the scrolling of a tall element into a number between nought and one, published to a custom property and to a callback, without rendering the page to do it.

99Tilt Card

A card that leans toward the pointer as though it were a physical object lying on the page.

100Connection Beam

A line between two elements with something travelling along it, measured from the elements rather than given as coordinates.

101Cursor Trail

A fading mark behind the pointer, drawn only inside its own box and only while the pointer is in it.

102Metaballs

Blobs that swell into one another as they meet, taking their two colours from your theme.

103Dither Image

A photograph reduced to two theme colours through an ordered dither, the way a newspaper reduced one to ink and paper.

104ASCII Image

A photograph redrawn as characters. The grid is worked out once and kept, so each frame is a single copy rather than thousands of letters measured again.

105Wireframe Globe

A wireframe world with places marked on it, arcs between them, and the same places written out underneath as text.

Motion4

Entrances and numbers that move, driven by arrival or by scrolling, and never by withholding the content.