Documentation and examples for the svelte-otp-input component.
This is a SvelteKit-based documentation site for the Svelte OTP Input component. It provides guides, examples, and API documentation for integrating OTP (One-Time Password) input functionality into your Svelte applications.
npm install
Start the development server:
npm run dev
The site will be available at http://localhost:5173
Build for production:
npm run build
Preview the production build locally:
npm run preview
npm run dev - Start development servernpm run build - Build for productionnpm run preview - Preview production buildnpm run format - Format code with Prettiernpm run lint - Check code formattingThis project uses a monorepo workspace setup. Additional packages can be added in the packages/ directory.
This project uses:
Run formatting:
npm run format
Check formatting:
npm run lint
This site is configured to deploy on Cloudflare Pages using the @sveltejs/adapter-cloudflare adapter. Build artifacts are optimized for serverless deployment.
This project is licensed under the MIT License.