literallyone-sdk
v1.0.9
Published
Turn any form into an AI sales funnel with real-time validation, WhatsApp/Email follow-ups, and smart lead segmentation.
Downloads
6
Maintainers
Readme
LiterallyOne SDK
A fully customizable and developer-friendly multi-step form component for React. Designed for structured data collection, improved user experience, and seamless integration.
Turn any form into a smart lead machine. The LiterallyOne SDK is a plug-and-play React component and API toolkit that transforms static forms into AI-powered SDR workflows — capturing, qualifying, and engaging leads across Email, WhatsApp, and more in seconds.
"It's not a form plugin. It's your 24/7 AI sales team."
Features
- Step-by-step form navigation
- Customizable design and styles
- Built-in support for validation and form state management
- Easy integration with any React project
- Lightweight and performant
Use Cases
| Industry | Example Flow | |-------------------|-------------------------------------------------------| | SaaS Startups | Segment by role → auto-onboard → schedule demo | | D2C Brands | Quiz → validate email → WhatsApp coupon for hot leads| | Travel Agents | Form → budget segment → AI WhatsApp trip packages | | Growth Agencies | Resell SDK to clients with custom form flows |
Installation
npm install literallyone-sdkAdding the MultiStepForm Component
Inside your application:
import { MultiStepForm } from 'literallyone-sdk';
<MultiStepForm formId="YOUR_FORM_ID" />Props
| Name | Type | Required | Description |
| ---------- | ---------- | -------- | ---------------------------------------------- |
| formId | string | ✅ | Unique identifier for the form instance. |
| onSubmit | function | ❌ | Callback invoked with form data upon submission. |
Example: Handling Form Submission
<MultiStepForm
formId="ZDVWXoQqzQHQ9blQU2iI"
onSubmit={(formData) => {
console.log('Submitted data:', formData);
// Perform API call or processing here
}}
/>Customization Tips
- Style with Tailwind, SCSS, or CSS-in-JS libraries.
- Extend form steps with custom components.
- Use external validation libraries like Yup or Zod for schema-based validation.
License
MIT © LiterallyOne
Support
If you have questions or feature requests, please reach out at [email protected] or open an issue on GitHub.
