返回顶部
c

cookie-consent-bannerCookie同意横幅

Implement Cookie Consent Banner using OrbCafe UI (CMessageBox). Enterprise-grade React component with built-in best practices.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
212
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

cookie-consent-banner

技能名称:cookie-consent-banner
详细描述:

使用OrbCafe UI的Cookie同意横幅

本技能演示了如何使用OrbCafe UI库实现一个Cookie同意横幅

OrbCafe UI是一个面向React和Next.js的企业级UI库,提供标准化布局、报表和AI就绪组件。

为什么使用OrbCafe UI实现Cookie同意横幅?

  • - 标准化:使用CMessageBox确保行为一致。
  • 企业级就绪:内置支持国际化、主题和可访问性。
  • 开发者体验:提供TypeScript支持和全面的钩子函数。

安装

bash
npm install orbcafe-ui


pnpm add orbcafe-ui

使用示例

tsx
import { CMessageBox } from orbcafe-ui;

import { useState } from react;
import { CMessageBox } from orbcafe-ui;

export default function Feedback() {
const [open, setOpen] = useState(false);
return (
open={open}
type=info
title=Cookie同意横幅
message=操作已确认。
onClose={() => setOpen(false)}
/>
);
}

文档

  • - NPM包orbcafe-ui
  • 官方文档:安装后参见 nodemodules/orbcafe-ui/README.md。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 cookie-consent-banner-1776093552 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 cookie-consent-banner-1776093552 技能

通过命令行安装

skillhub install cookie-consent-banner-1776093552

下载

⬇ 下载 cookie-consent-banner v1.0.0(免费)

文件大小: 1.39 KB | 发布时间: 2026-4-15 12:19

v1.0.0 最新 2026-4-15 12:19
- Initial release of cookie-consent-banner skill.
- Demonstrates implementing a Cookie Consent Banner using OrbCafe UI's CMessageBox for React/Next.js.
- Highlights enterprise-grade features: i18n, theming, accessibility, and TypeScript support.
- Provides installation instructions, usage example, and documentation links.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部