Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

vue3-image-carousel-component

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-image-carousel-component

Vue3 Image Carousel Component A Vue component library for building interactive UI elements.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

A Vue component library for building interactive UI elements.

npm

License

This project is licensed under the MIT License.

Installation

npm i vue3-image-carousel-component

or

yarn add vue3-image-carousel-component

Usage

import {VCarousel} from 'vue3-image-carousel-component' <br>
import 'vue3-image-carousel-component/dist/style.css';

Props

The following table describes the props that can be passed to the component for customization:

PropTypeDescription
imagesStringYour Image array will be inside of images.
backButtonWidthStringThe Width of back button.
nextButtonWidthStringThe Width of back button.
backButtonHeightStringThe Height of back button.
nextButtonHeightStringThe Height of next button.
arrowsColorStringThe color of the button.
slideWidthStringThe width of slide.
slideHeightStringThe height of slide.
mainDivDisplayStringChoose your display type default flex.
mainDivAlignItemsStringAlign items type default center.
imageWidthStringThe width of image default 100%.
imageHeightStringThe width of image default 100%.
objectFitCoverStringChoose your fit default Cover

Example

<template>
const carouselImages = [
  "https://exampleImageOne",
  "https://exampleImageTwo",
  "https://exampleImageThree"
]
  <Carousel 
    :images=  "carouselImages"
    slideWidth="1000px"
    slideHeight="500px"
    backButtonWidth="100px"
    backButtonHeight="100px"
    nextButtonWidth="100px"
    nextButtonHeight="100px"
    arrowsColor="red" 
    mainDivDisplay="flex" 
    mainDivAlignItems="center" 
    imageWidth="100%" 
    imageHeight="100%" 
    objectFitCover="Cover"
    >
  </Carousel>
</template>

<script>
import { VCarousel } from 'vue3-image-carousel-component';
## Props


License

This project is licensed under the MIT License.

Built with ❤️ by Volkan Filazi
https://github.com/volkanfilazi
https://www.volkanfilazi.at/

Keywords

vue

FAQs

Package last updated on 13 Jun 2023

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