Usage Examples
Learn how to integrate SpamBlock with your favorite CSS framework or JavaScript library. Each guide includes complete code examples for form styling, event handling, and status messages.
Bootstrap
Integrate SpamBlock with Bootstrap forms using alert components, spinners, and validation classes. Perfect for Bootstrap 5 projects.
- Bootstrap alert components
- Loading states with spinners
- Form validation integration
- Toast notifications example
Tailwind CSS
Create beautiful form feedback with Tailwind utility classes. Includes animations, loading states, and toast notifications.
- Utility-first styling
- Custom animations
- Gradient buttons
- Field-level validation
React & Next.js
Integrate SpamBlock with React hooks and Next.js. Includes custom hooks, Server Actions, and React Hook Form examples.
- React hooks integration
- Next.js App Router support
- Custom hook example
- TypeScript types included
Looking for platform integrations?
Check out our platform integration guides for Google Tag Manager, WordPress, and HTML/JavaScript setups. Or visit the full documentation for complete API reference and configuration options.