Skip to Content
@anker-in/headless-ui 2.0 is released 🎉

TextMarquee (Text Marquee)

Text Marquee 组件【✅ 已发布】

加载中...
当前视口: 1920px × 600px场景: 浅色主题文字跑马灯
打开链接

功能特性

  • 响应式设计:支持多端适配
  • 主题切换:支持亮色和暗色主题

使用示例

基础用法

import { TextMarquee } from '@anker-in/headless-ui/biz' import scenarios from './scenarios.json' export default function Example() { return ( <TextMarquee data={{ // 配置数据 }} /> ) }

Props API

详见组件类型定义。

最佳实践

  1. 确保传入正确的数据格式
  2. 根据需求配置主题和样式
  3. 注意响应式布局的适配

相关组件

  • 查看更多通用组件
Last updated on