
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
carousel-universal
Advanced tools
This component has the functionality to render in the form of a carousel, elements passed by children.
This component has the functionality to render in the form of a carousel, elements passed by children.
yarn add carousel-universal
import Carousel from "carousel-items"
<Carousel>
</Carousel>
<Carousel>
<img src="http://via.placeholder.com/226x416?text=Product1" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product2" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product3" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product4" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product5" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product6" alt='' />
<img src="http://via.placeholder.com/226x416?text=Product7" alt='' />
</Carousel>
<Carousel bullet={{ isVisible: true }} arrow={{ isVisible: true}} carouselId="Sample" >
...
</Carousel>
Parameter | Type | Description |
---|---|---|
bullet | object | Mandatory. Parameter containing the parameters below |
style | object | Optional. Style that will be applied to the Button |
bulletEnableColor | string | Optional. Bullet color enabled |
bulletDisableColor | string | Optional. Bullet color Disable |
isVisible | boolean | Obrigatório. Visibility of Bullets Button |
Parameter | Type | Description |
---|---|---|
arrow | object | Mandatory. Parameter containing the parameters below |
style | object | Opcional. Estilo que sera aplicado ao Button |
iconColor | string | Opcional. Cor do Icone |
isVisible | boolean | Obrigatório.Visibility of Arrows Button |
Parameter | Type | Description |
---|---|---|
qtdItems | number | Optional.Set the Number of Items displayed on the screen |
gapItems | number | Optional. Set the spacing between the items that will be displayed |
carouselId | string | Mandatory. Unique Carousel Identifie |
When using qtdItems it will not be necessary to use gapItems, because the distance of the elements will be calculated automatically.
Use gapItems when the spacing generated by qtdItems is not satisfactory.
FAQs
This component has the functionality to render in the form of a carousel, elements passed by children.
The npm package carousel-universal receives a total of 0 weekly downloads. As such, carousel-universal popularity was classified as not popular.
We found that carousel-universal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.