Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hi-ui/carousel

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/carousel

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

  • 4.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
65
increased by1525%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 12 Apr 2024

Did you know?

Socket

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc