Skip to content

Components ​

Every widget lives inside Sea context. It owns the API connection, shared metadata, citation handling and interaction tracking. A process selects an existing run and loads its steps and output submissions.

Context and groups ​

ComponentElement / ReactPurpose
Sea contextsea-context / SeaContextProviderRequired connection and shared widget context
Processsea-process / SeaProcessOne existing run, its progress, steps and outputs
Step groupsea-step / SeaStepOptional inherited step selectors

These elements leave placement to host HTML and CSS. Host elements can sit between groups and their children.

Widgets ​

ComponentElement / ReactPurpose
Formsea-form / SeaFormReview grouped form values, corrections and citations
Uploadsea-upload / SeaUploadSupply documents to an extraction step
Document listsea-file-browser / SeaFileBrowserChoose an output and its source document
Sourcesea-source-viewer / SeaSourceViewerDisplay the selected PDF, image or spreadsheet
Manual inputsea-manual-input / SeaManualInputComplete a form required by a blocked step
Single fieldsea-field / SeaFieldPlace one form value in host content

Use the pipeline's unique stepLabel to identify the step and stepRole to constrain its kind. Check outputs use the same form component. Step binding covers exact output and instance selectors.

Examples ​

Document intake combines the widgets inside a process. Copy its host markup and adjust each panel's class, style, dimensions or grid placement.

Application integration provides runnable React and HTML mounts. Theming covers tokens and ::part() styling.