Skip to content

VettlyAI-Powered Content Moderation

Production-ready React components and SDK for moderating text, images, and videos

Quick Start

Install

bash
npm install @nextauralabs/vettly-react
bash
bun add @nextauralabs/vettly-react
bash
yarn add @nextauralabs/vettly-react

Use Components

tsx
import { ModeratedTextarea } from '@nextauralabs/vettly-react'
import '@nextauralabs/vettly-react/styles.css'

function App() {
  return (
    <ModeratedTextarea
      apiKey="your-api-key"
      placeholder="Type something..."
      onModerationResult={(result) => console.log(result)}
    />
  )
}

Features

ModeratedTextarea

Real-time content checking with visual feedback:

  • ✅ Debounced API calls (configurable delay)
  • ✅ Color-coded borders (green/yellow/red)
  • ✅ Status messages
  • ✅ Block unsafe content option
  • ✅ Fully customizable

View Component →

ModeratedImageUpload

Drag-and-drop image upload with moderation:

  • ✅ Drag & drop support
  • ✅ Image preview
  • ✅ Automatic moderation on upload
  • ✅ Visual feedback
  • ✅ File size/type validation

View Component →

ModeratedVideoUpload

Advanced video upload with frame extraction:

  • ✅ Video preview with thumbnail
  • ✅ Frame-by-frame analysis
  • ✅ Progress tracking
  • ✅ Visual feedback per frame
  • ✅ Comprehensive error handling

View Component →

Why Vettly?

FeatureVettlyOthers
Multi-Modal✅ Text, Images, Videos⚠️ Usually text-only
React Components✅ Production-ready❌ Build your own
Video Frame Analysis✅ Advanced❌ Not available
TypeScript✅ Full support⚠️ Partial
Real-time Feedback✅ Built-in❌ Manual
Framework Integrations✅ React, Next.js, Express❌ SDK only

Examples

Check out complete working examples:

  • Social Feed - Social media with content moderation
  • Forum - Discussion board with moderation
  • Chat App - Real-time chat with safety

Open Source

Vettly is MIT licensed and open source. Contributions welcome!

GitHub →

Released under the MIT License.