@c15t/ui

Framework-agnostic cookie banner UI primitives, CSS and theme tokens behind the c15t React, Vue, Svelte and Astro consent components.
2,447,802 1,991
Install
npm install @c15t/ui
Latest Version:3.0.1
License:Apache-2.0
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: kayleew

@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

Contributing

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

Apache License 2.0


Built by Inth

Related Packages

@c15t/astro

Astro cookie consent banner and GDPR consent management platform (CMP). Server-r...

15,689 1,999
@polyus-studio/vera-cmp

Centralized cookie consent management (CMP) for 30+ sites — a typed wrapper arou...

802 0
@bridge-ui/vue

Vue components and composables for Bridge UI.

7,241 6
@bridge-ui/adapters

Ready-made date, icon, and i18n adapters for Bridge UI.

874 0
@anguszhu/kroma-ui

A small, themeable UI component library with React and Vue support.

513

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
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