@c15t/ui
@c15t/ui: Cookie consent UI primitives and theme system
The framework-agnostic cookie consent UI primitives, CSS, and theme tokens behind the c15t React, Vue, Svelte, and Astro components. Most apps get this package through a framework adapter and do not install it directly.
c15t is used by 2,100+ sites, including expo.dev, zed.dev, unkey.dev, mintlify.com, and sazabi.com.
Key Features
- One theme system for every c15t framework: set
--c15t-*tokens once and the banner, dialog, and preference center follow - Stylesheets for plain CSS and Tailwind CSS, with a separate file for Tailwind CSS 3
- Framework-agnostic primitives for building a c15t adapter for another UI framework
Installation
The framework packages (c15t/react, c15t/vue, c15t/astro, @c15t/svelte) depend on this package and re-export its stylesheets. Install it directly only to build your own adapter:
pnpm add @c15t/ui
Documentation
See the documentation for guides, API reference, and examples.
Support
- Join our Discord community
- Open an issue on our GitHub repository
- Visit inth.com and use the chat widget
- Contact our support team via email support@inth.com
Contributing
- Read the contribution guidelines before you open a pull request
- Follow the code of conduct
Security
Do not open a public issue for a security vulnerability. Report it privately through GitHub's vulnerability reporting. We examine every valid report.
- Do not share the vulnerability in public forums, issues, or pull requests
- Give the steps to reproduce it and the versions it affects
- Give us time to release a fix before you disclose it
License
Built by Inth
Related Packages
Astro cookie consent banner and GDPR consent management platform (CMP). Server-r...
Centralized cookie consent management (CMP) for 30+ sites — a typed wrapper arou...
Version History
| Version | Released | License |
|---|---|---|
| 3.0.1 | Apache-2.0 | |
| 3.0.0 | Apache-2.0 | |
| 2.2.2 | Apache-2.0 | |
| 2.2.1 | Apache-2.0 | |
| 2.2.0 | Apache-2.0 | |
| 2.1.0 | Apache-2.0 | |
| 2.0.3 | Apache-2.0 | |
| 2.0.2 | Apache-2.0 | |
| 2.0.1 | Apache-2.0 | |
| 2.0.0 | Apache-2.0 |
Pre-releases (31)
| Version | Released | License |
|---|---|---|
| 3.0.1-canary.0 | Apache-2.0 | |
| 3.0.1-canary-198c836e9e869389f889eb3195a9e7b3e3902275.0 | Apache-2.0 | |
| 3.0.0-alpha.12 | Apache-2.0 | |
| 3.0.0-alpha.11 | Apache-2.0 | |
| 3.0.0-alpha.10 | Apache-2.0 | |
| 3.0.0-alpha.9 | Apache-2.0 | |
| 3.0.0-alpha.8 | Apache-2.0 | |
| 3.0.0-alpha.7 | Apache-2.0 | |
| 3.0.0-alpha.6 | Apache-2.0 | |
| 3.0.0-alpha.5 | Apache-2.0 | |
| 3.0.0-alpha.4 | Apache-2.0 | |
| 3.0.0-alpha.3 | Apache-2.0 | |
| 3.0.0-alpha.2 | Apache-2.0 | |
| 3.0.0-alpha.1 | Apache-2.0 | |
| 3.0.0-alpha.0 | Apache-2.0 | |
| 2.2.2-canary-20260930161603 | Apache-2.0 | |
| 2.2.0-canary-20260814121231 | Apache-2.0 | |
| 2.2.0-canary-20260731105620 | Apache-2.0 | |
| 2.2.0-canary-20260727202135 | Apache-2.0 | |
| 2.0.0-rc.11 | Apache-2.0 | |
| 2.0.0-rc.10 | Apache-2.0 | |
| 2.0.0-rc.9 | ||
| 2.0.0-rc.8 | ||
| 2.0.0-rc.7 | ||
| 2.0.0-rc.6 | ||
| 2.0.0-rc.5 | ||
| 2.0.0-rc.4 | ||
| 2.0.0-rc.3 | ||
| 2.0.0-rc.2 | ||
| 2.0.0-rc.1 |
Showing the latest 30 of 31. See every release on npm