Socket
Socket
Sign inDemoInstall

@hi-ui/carousel

Package Overview
Dependencies
19
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hi-ui/carousel

A sub-package for @hi-ui/hiui.


Version published
Maintainers
2
Install size
1.80 MB
Created

Readme

Source

又叫图片轮播器,是用于在同一空间展示一组图片的容器。

何时使用

在空间有限的情况下,需要展示多张图片时

常用于宣传营销 Banner、新功能上线等场景

使用示例

Props

参数说明类型可选值默认值
duration自动切换间隔,默认不自动切换number-0
showDots是否显示分页指示器booleantrue | falsetrue
showArrows是否显示箭头指示器booleantrue | falsetrue
defaultActive默认激活索引,从 0 开始number-0
showPages是否显示页码指示器booleantrue | falsefalse

CHANGELOG

参数变更类型变更内容解决的问题
arrowSizefeature箭头指示器尺寸UI 新增功能
dotTypefeature分页指示器类型UI 新增功能
dotPlacementfeature分页指示器位置

FAQs

Last updated on 12 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc