You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@c15t/react

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@c15t/react

@c15t/react Transform privacy consent from a compliance checkbox into a fully observable system

1.4.1
npmnpm
Version published
Weekly downloads
1.1K
-26.9%
Maintainers
1
Weekly downloads
 
Created
Source
c15t Logo

@c15t/react

Transform privacy consent from a compliance checkbox into a fully observable system

GitHub stars CI License Discord

React components for building privacy-first user interfaces.

Features

  • 🎯 Privacy-First Components: Pre-built UI components for consent management
  • 🎨 Highly Customizable: Flexible theming and styling system
  • Accessible: WCAG compliant with full keyboard navigation
  • 🌐 Regulation Ready: Built to meet GDPR, CCPA, and other privacy requirements
  • 🔧 Composable: Uses compound component pattern for maximum flexibility

Documentation

For detailed documentation and examples, visit: https://c15t.com/docs/react/quickstart

⚡ Quick Start Via CLI

# Generates the schema + code
npx @c15t/cli generate 
pnpm dlx @c15t/cli generate
bunx --bun @c15t/cli generate

# Database Migrations (If you're self hosting c15t)
npx @c15t/cli migrate
pnpm dlx @c15t/cli migrate
bunx --bun @c15t/cli migrate

After running the CLI, you can use the following code to get started:

import { ConsentManagerProvider, CookieBanner, ConsentManagerDialog } from "@c15t/react";
import { c15tConfig } from "./c15t.client";

export default function App() {
  return (
    <ConsentManagerProvider options={c15tConfig}>
      <CookieBanner />
      <ConsentManagerDialog/>
      {/* Your app content */}
    </ConsentManagerProvider>
  );
}

📜 License

GNU General Public License v3.0 - See LICENSE for details.

Built with ❤️ by the consent.io team

FAQs

Package last updated on 26 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts