
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
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.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.