Valtio React SDK
npm install @valtioinc/valtio-react-sdk*
Valtio is a workflow automation platform that helps end-users design and power task-based digital
workflows for a variety of use cases. Tasks can include things like filling out forms, e-signatures, uploading documents,
identity verification, and many more. Users can assign other users to complete specific workflow steps and the platform
will handle notifying the user of their tasks and guiding them through the successful completion of those tasks.
*
This package provides an SDK for embedding Valtio into your React applications.
* Embed the workflow creator experience to allow application users to create new workflows (coming soon)
* Embed the workflow sender experience to allow application users to initiate workflows and assign other users to tasks
* Embed the workflow participant experience to allow application users to complete their workflow tasks
* Embed the full Valtio platform to allow application users to use all the capabilities of the platform.
*
``sh`
npm install @valtioinc/valtio-react-sdk
`sh`
yarn add @valtioinc/valtio-react-sdk
*
#### Example: Show Valtio when user clicks a button
`typescript jsx
import React from "react";
import { ValtioApp } from "@valtioinc/valtio-react-sdk";
function App() {
const [showValtio, setShowValtio] = React.useState(false)
const onShow = () => {
/*
The user has requested to open the Valtio platform.
*/
setShowValtio(true)
}
const onHide = () => {
/*
The user has requested to exit the Valtio platform and return to your application.
Handle this event by either switching screens or removing the ValtioApp component.
*/
setShowValtio(false)
}
return (
Valtio React App Reference Implementation
*
👤 Valtio Inc
* Website: https://valtio.io
* Github: @valtioinc
* LinkedIn: @https:\/\/www.linkedin.com\/company\/valtio-inc
*
Contributions, issues and feature requests are welcome!
Feel free to
check issues page.
*
Give a ⭐️ if this project helped you!
*
Copyright © 2024 Valtio Inc.
This project is MIT licensed.