FreeStack

Don't build from scratch. Grab the pieces.

Reusable modules, AI workflows, and components built by the community. Copy, paste, ship.

16 modules

Kanban Board

Drag-and-drop Kanban board with real-time sync via WebSockets. Supports multiple boards, swimlanes, card assignments, and priority labels out of the box.

ReactUI ComponentsBuilt with Claude
import { DndContext, closestCenter } from "@dnd-kit/core";
import { SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";

export function KanbanBoard({ columns, onDragEnd }) {
  return (
    <DndContext collisionDetection={closestCenter} onDragEnd={onDragEnd}>
2.3k 12.5k
Data Table Pro

Full-featured data table with sorting, filtering, pagination, column resizing, and CSV export. Built on TanStack Table with a clean, customizable UI.

ReactUI ComponentsBuilt with Cursor
import { useReactTable, getCoreRowModel, getSortedRowModel } from "@tanstack/react-table";

export function DataTable({ data, columns }) {
  const [sorting, setSorting] = useState([]);
  const [globalFilter, setGlobalFilter] = useState("");
1.9k 9.8k
Dashboard Layout

Responsive admin dashboard shell with collapsible sidebar navigation, breadcrumbs, top bar with search, and theme switching. Ready to drop your content into.

Next.jsDashboardsBuilt with v0
export function DashboardLayout({ children }) {
  const [sidebarOpen, setSidebarOpen] = useState(true);

  return (
    <div className="flex h-screen">
      <Sidebar open={sidebarOpen} onToggle={() => setSidebarOpen(!sidebarOpen)} />
3.2k 18.7k
File Uploader

Drag-and-drop file upload component with progress bars, file type validation, and direct S3/R2 integration. Supports multi-file uploads and image previews.

ReactUI ComponentsBuilt with Copilot
import { useDropzone } from "react-dropzone";

export function FileUploader({ onUpload, maxSize = 10_000_000 }) {
  const [files, setFiles] = useState([]);
  const [progress, setProgress] = useState({});
1.4k 7.2k
Rich Text Editor

Notion-style block editor with slash commands, drag-to-reorder, markdown shortcuts, and collaborative editing support. Built on Tiptap with custom extensions.

ReactUI ComponentsBuilt with Claude
import { useEditor, EditorContent } from "@tiptap/react";
import StarterKit from "@tiptap/starter-kit";
import SlashCommand from "./extensions/slash-command";

export function RichTextEditor({ content, onChange }) {
  const editor = useEditor({
4.1k 15.3k
RAG Pipeline

Full retrieval-augmented generation pipeline with document chunking, embedding generation, vector storage, and context-aware retrieval. Supports PDF, Markdown, and HTML sources.

PythonAI WorkflowsBuilt with OpenClaw
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.embeddings import OpenAIEmbeddings
from pgvector.sqlalchemy import Vector

class RAGPipeline:
    def __init__(self, chunk_size=1000, chunk_overlap=200):
3.8k 14.2k
Agent Loop

Autonomous agent execution loop with tool calling, memory management, and graceful error recovery. Supports OpenAI and Anthropic function calling formats.

TypeScriptAI WorkflowsBuilt with Claude
import Anthropic from "@anthropic-ai/sdk";

interface Tool { name: string; description: string; execute: (input: any) => Promise<string>; }

export async function agentLoop(prompt: string, tools: Tool[], maxIterations = 10) {
  const client = new Anthropic();
2.9k 11.4k
AI Chat Widget

Drop-in AI chat interface with streaming responses, message history, typing indicators, and markdown rendering. Connects to any OpenAI-compatible API.

ReactAI WorkflowsBuilt with Cursor
"use client";
import { useState, useRef } from "react";

export function ChatWidget({ apiEndpoint, systemPrompt }) {
  const [messages, setMessages] = useState([]);
  const [input, setInput] = useState("");
2.1k 10.8k
Embedding Pipeline

Batch document embedding pipeline with pgvector storage, incremental updates, and deduplication. Handles PDFs, web pages, and plain text with automatic chunking.

PythonAI WorkflowsBuilt with OpenClaw
import asyncio
from pgvector.asyncpg import register_vector
import asyncpg

class EmbeddingPipeline:
    def __init__(self, db_url: str, model: str = "text-embedding-3-small"):
1.6k 6.3k
Prompt Chain

Multi-step prompt chaining framework with validation, retry logic, and intermediate result caching. Define complex AI workflows as composable, typed chains.

TypeScriptAI WorkflowsBuilt with Claude
import { z } from "zod";

interface ChainStep<TInput, TOutput> {
  name: string;
  prompt: (input: TInput) => string;
  schema: z.ZodType<TOutput>;
1.2k 5.4k
Magic Link Auth

Passwordless email authentication with Supabase. Includes login/signup pages, session management, protected route middleware, and email templates.

Next.jsAuthBuilt with Cursor
import { createClient } from "@supabase/supabase-js";
import { NextResponse } from "next/server";
import type { NextRequest } from "next/server";

export async function middleware(request: NextRequest) {
  const supabase = createClient(
1.8k 8.9k
Stripe Checkout

Complete Stripe checkout flow with subscription management, webhook handling, and customer portal integration. Includes pricing page component and usage-based billing support.

Next.jsPaymentsBuilt with Claude
import Stripe from "stripe";

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!);

export async function POST(request: Request) {
  const { priceId, customerId } = await request.json();
2.8k 13.6k
RBAC System

Role-based access control with middleware enforcement, permission checking hooks, and admin UI for managing roles. Supports hierarchical roles and resource-level permissions.

Next.jsAuthBuilt with OpenClaw
type Role = "admin" | "editor" | "viewer";
type Permission = "read" | "write" | "delete" | "manage_users";

const rolePermissions: Record<Role, Permission[]> = {
  admin: ["read", "write", "delete", "manage_users"],
  editor: ["read", "write"],
1.6k 7.1k
Webhook Handler

Type-safe webhook receiver with signature verification, retry logic, event logging, and dead letter queue. Supports Stripe, GitHub, Slack, and custom webhook sources.

TypeScriptIntegrationsBuilt with Claude
import { createHmac } from "crypto";

interface WebhookConfig {
  secret: string;
  source: "stripe" | "github" | "slack" | "custom";
  handler: (event: WebhookEvent) => Promise<void>;
1.3k 6.8k
CSV Importer

Smart CSV import UI with column mapping, data validation, preview table, and error highlighting. Handles large files with streaming and shows progress for batch imports.

ReactDataBuilt with Cursor
import Papa from "papaparse";

export function CSVImporter({ schema, onImport }) {
  const [step, setStep] = useState("upload"); // upload | map | preview | done
  const [data, setData] = useState([]);
  const [mapping, setMapping] = useState({});
980 4.5k
Email Sender

Transactional email service with React email templates, queue-based sending, retry logic, and delivery tracking. Supports Resend, SendGrid, and SMTP providers.

Node.jsIntegrationsBuilt with OpenClaw
import { Resend } from "resend";
import { render } from "@react-email/render";
import { WelcomeEmail } from "./templates/welcome";

const resend = new Resend(process.env.RESEND_API_KEY);
1.1k 5.9k