react-splide-ts
TypeScript icon, indicating that this package has built-in type declarations

0.7.14 • Public • Published

React Splide (Fork)

***This is a fork of original react-splide exporting the types file***

React Splide is the React component for the Splide slider/carousel.

Getting Started
Demo
Discussions

Quick Start

Get the latest version from NPM:

$ npm install react-splide-ts

Import CSS and components:

import { Splide, SplideSlide } from "react-splide-ts";
import "react-splide-ts/css";

export function Slider() {
  return (
    <Splide options={{ rewind: true }} aria-label="React Splide Example">
      <SplideSlide>
        <img src="image1.jpg" alt="Image 1" />
      </SplideSlide>
      <SplideSlide>
        <img src="image2.jpg" alt="Image 2" />
      </SplideSlide>
    </Splide>
  );
}

Visit here for more details.

Support Splide

Please support the project if you like it!

License

React Splide and Splide are released under the MIT license. © 2021 Naotoshi Fujita

Package Sidebar

Install

npm i react-splide-ts

Weekly Downloads

94

Version

0.7.14

License

MIT

Unpacked Size

240 kB

Total Files

72

Last publish

Collaborators

  • patricknn