RealtimeKeep your app up to date
AuthenticationOver 80+ OAuth integrations
Convex Components
ComponentsIndependent, modular, TypeScript building blocks for your backend.
Open sourceSelf host and develop locally
AI CodingGenerate high quality Convex code with AI
Compare
Convex vs. Firebase
Convex vs. Supabase
Convex vs. SQL
DocumentationGet started with your favorite frameworks
SearchSearch across Docs, Stack, and Discord
TemplatesUse a recipe to get started quickly
Convex for StartupsStart and scale your company with Convex
Convex ChampionsAmbassadors that support our thriving community
Convex CommunityShare ideas and ask for help in our community Discord
Stack
Stack

Stack is the Convex developer portal and blog, sharing bright ideas and techniques for building with Convex.

Explore Stack
BlogDocsPricing
GitHub
Log inStart building

Components

Independent, modular, TypeScript building blocks for your backend.
Components
Durable FunctionsDatabaseIntegrationsBackend
  • Extended feature set
    Extended feature setInstantly add Convex-native features to your application without reaching for a third-party service.
  • Neatly packaged
    Neatly packagedExperience elegant installation DX with a clean npm package and well-documented API.
  • Best practices
    Best practicesLean on our curated backend and database best practices to confidently build scalable systems.
  • Sandboxed data & code
    Sandboxed data & codeYour new feature data is automatically encapsulated in a sandbox and can only interact with explicitly defined APIs in your backend.
npm i @convex-dev/
Components
Categories
Durable FunctionsDatabaseIntegrationsBackend

Featured

Bring out the latest and greatest with our featured components.
Illustration
AI AgentAgents organize your AI workflows into units, with message history and vector search built in.
Illustration
ResendSend reliable transactional emails to your users with Resend.
Illustration
PresenceTrack user presence in real-time.

Durable Functions

Long-running and resilient background task components.
Illustration
WorkpoolWorkpools give critical tasks priority by organizing async operations into separate, customizable queues.
Illustration
CronsUse cronspec to run functions on a repeated schedule.
Illustration
WorkflowSimplify programming long running code flows. Workflows execute durably with configurable retries and delays.
Illustration
Action RetrierAdd reliability to an unreliable external service. Retry idempotent calls a set number of times.

Database

Components for real-time data management and synchronization.
Illustration
Sharded CounterScalable counter that can increment and decrement with high throughput.
Illustration
MigrationsFramework for long running data migrations of live data.
Illustration
AggregateKeep track of sums and counts in a denormalized and scalable way.
Illustration
GeospatialEfficiently query points on a map within a selected region of the globe.
Illustration
RAGRetrieval-Augmented Generation (RAG) for use with your AI products and Agents
Illustration
PresenceTrack user presence in real-time.

Integrations

Components for seamless third-party service integrations.
Illustration
Cloudflare R2Store and serve files from Cloudflare R2.
Illustration
ResendSend reliable transactional emails to your users with Resend.
Illustration
Collaborative Text Editor SyncAdd a collaborative editor sync engine for the popular ProseMirror-based Tiptap and BlockNote rich text editors.
Illustration
PolarAdd subscriptions and billing to your Convex app with Polar.
Illustration
Expo Push NotificationsSend push notifications with Expo. Manage retries and batching.
Illustration
Twilio SMSEasily send and receive SMS via Twilio. Easily query message status from your query function.
Illustration
LaunchDarkly Feature FlagsSync your LaunchDarkly feature flags with your Convex backend for use in your Convex functions.
Illustration
OSS StatsKeep GitHub and npm data for your open source projects synced to your Convex database.

Backend

Essential backend infrastructure components.
Illustration
AI AgentAgents organize your AI workflows into units, with message history and vector search built in.
Illustration
Persistent Text StreamingStream text like AI chat to the browser in real-time while also efficiently storing it to the database.
Illustration
Rate LimiterDefine and use application-layer rate limits. Type-safe, transactional, fair, safe, and configurable sharding to scale.
Illustration
Action CacheCache action results, like expensive AI calls, with optional expiration times.

Frequently Asked Questions

How are components sandboxed?

The Convex runtime ensures that the component tables don't get mixed in with your app's tables. It also ensures that when the component runs its own Convex functions, they are not allowed to access your app's tables without explicit API calls.

What projects should use Components?

If you see a feature listed above, feel free to use it. Check each component's documentation for further guidance.

Can I build my own?

We'd love for you to build your own components to share and list on this page, and even make custom components specific to your project. We are still working on ironing out the authoring apis and will open that up soon.

Do components cost money to use?

Components are open source and are just code and data in your existing backend. They incur relevant usage charges based on how they are implemented and used.

Where can I learn more?

Visit the Components documentation to learn about how Components work, their data isolation model, and how they help you build features faster.

Get your app up and running in minutes
Start building
Convex logo
ProductSyncRealtimeAuthOpen sourceAI codingChefFAQPricing
DevelopersDocsBlogComponentsTemplatesStartupsChampionsChangelogPodcastLLMs.txt
CompanyAbout usBrandInvestorsBecome a partnerJobsNewsEventsTerms of servicePrivacy policySecurity
SocialTwitterDiscordYouTubeLumaBlueskyGitHub
A Trusted Solution
  • SOC 2 Type II Compliant
  • HIPAA Compliant
  • GDPR Verified
©2025 Convex, Inc.