testimonials-slider Svelte Themes

Testimonials Slider

animated testimonials slider made with svelte/typescript

Infinite Slider

A smooth, responsive, and infinite slider component built using Svelte, Vite, and TypeScript. The slider animates images in a loop and allows users to control the animation speed by hovering over the slider.

Features

  • Seamless animation with adjustable speed on hover
  • Responsive design
  • Built with Svelte, Vite, and TypeScript for a modern development experience
  • Highly customizable and easy to integrate into your projects

Installation

  1. Clone the repository: git clone https://github.com/miliansolberg/svelte-slider.git

  2. Install dependencies: cd svelte-slider pnpm create vite --> Choose Svelte with Typescript.

  3. Run the development server: pnpm run dev --> Use your preferred localhost port.

  4. Open your browser and navigate to http://localhost:3000, or your preferred localhost port :)

Usage

To use the Infinite Slider in your project, simply copy the Slider.svelte component and its corresponding TypeScript and CSS files. Import the Slider.svelte component into your Svelte application and customize the content and styling as needed.

Customization

You can customize the appearance of the slider by updating the CSS styles in the Slider.svelte file. Additionally, you can modify the animation duration and speed by updating the animationOptions object in the TypeScript code.

Contributing

I welcome contributions to the Infinite Slider project! Please feel free to open issues or submit pull requests with any improvements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Top categories

Loading Svelte Themes