@super-assist/react
Package
Section titled “Package”| Field | Value |
|---|---|
| Install | npm install @super-assist/react |
| Entries | @super-assist/react, @super-assist/react/devtools |
| Peers | react ^19.3.0, react-dom ^19.3.0, @assistant-ui/react ^0.15.25 |
| Optional peer | @assistant-ui/react-devtools ^1.2.23, for the /devtools entry |
| Dependency | assistant-stream |
Exports
Section titled “Exports”Each export’s props, signature and behavior are on its page under Components.
AssistedProvider: wraps the app in the host’s runtime and lends what every page shares.useAssisted: reads and drives the panel’s open state and the open page’s name.AssistedPage: introduces a page, or a dialog over it.AssistedAction: lends an element the assistant presses, rings or asks about.useAssistedAction: the hook behindAssistedAction.AssistedInput: lends a native field the assistant fills.useAssistedInput: the hook behindAssistedInput.AssistedField: lends a control that keeps its value in state.useAssistedTool: lends a tool that runs in the browser.ring: points at one element.useRing:ringfor a component.- Types:
AssistedProviderProps,AssistedPageProps,AssistedActionProps,AssistedActionOptions,AssistedInputProps,AssistedInputOptions,AssistedFieldProps,AssistedFieldOption,AssistedTool,AssistedToolFailure,RingOptions, each described with its component or hook.
The /devtools entry is in the devtools reference.