🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@c15t/react

Package Overview
Dependencies
Maintainers
1
Versions
71
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
latest
npm
Version published
Weekly downloads
865
51.22%
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