sp-dev-fx-webparts/samples/react-modern-carousel
Hugo Bernier a68ffc5204 Updated sample, devcontainer 2024-10-20 23:13:36 -04:00
..
.devcontainer Updated sample, devcontainer 2024-10-20 23:13:36 -04:00
.vscode Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
assets Updated sample, devcontainer 2024-10-20 23:13:36 -04:00
config chore: bump package versions and update documentation after SPFx 1.20 upgrade 2024-10-19 15:58:40 +05:30
src style: added white fade effect to card image for smoother visual transition 2024-10-19 15:48:33 +05:30
teams Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
.eslintrc.js Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
.gitignore Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
.npmignore Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
.nvmrc build: include .nvmrc file 2024-03-16 21:23:41 +05:30
.yo-rc.json build: upgrade to SPFx(1.20) & related dependencies to latest 2024-10-19 14:45:10 +05:30
README.md chore: bump package versions and update documentation after SPFx 1.20 upgrade 2024-10-19 15:58:40 +05:30
gulpfile.js Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30
package-lock.json build: upgrade to SPFx(1.20) & related dependencies to latest 2024-10-19 14:45:10 +05:30
package.json chore: bump package versions and update documentation after SPFx 1.20 upgrade 2024-10-19 15:58:40 +05:30
tsconfig.json Add 'samples/react-modern-carousel/' from commit '9858b121023449b8bdbeeeb83120547c2a668d1d' 2024-03-16 21:14:30 +05:30

README.md

Modern Carousel

Summary

This SharePoint Framework (SPFx) web part introduces a contemporary carousel component leveraging Swiper, facilitating seamless traversal through content housed within a SharePoint site. This innovative feature enhances user experience by providing fluid navigation through various pieces of content, thereby adding a touch of elegance and sophistication to the SharePoint environment.

Award Recognition

Compatibility

⚠️ Important
Every SPFx version is optimally compatible with specific versions of Node.js. In order to be able to build this sample, you need to ensure that the version of Node on your workstation matches one of the versions listed in this section. This sample will not work on a different version of Node.
Refer to https://aka.ms/spfx-matrix for more information on SPFx compatibility.

Used SharePoint Framework Version

version

This sample is optimally compatible with the following environment configuration:

SPFx 1.20.0 Node.js v18 | v16 Compatible with SharePoint Online Does not work with SharePoint 2019 Does not work with SharePoint 2016 (Feature Pack 2) Local Workbench Unsupported Hosted Workbench Compatible Compatible with Remote Containers

Applies to

Get your own free development tenant by subscribing to Microsoft 365 developer program

Prerequisites

Create a SharePoint custom list Award Recognition in the SPO site with below columns

Column Name Type
Title OOTB
Designation Text
UserImage Image

Solution

Solution Author(s)
react-modern-carousel Sandeep P S ( LinkedIn ) / Quadrasystems.net ( Twitter / LinkedIn )

Contributors🧑‍💻

Version history

Version Date Comments
1.0 March 16, 2024 Initial release
1.1 October 19, 2024 Upgrade to SPFx 1.20 & misc changes

Minimal Path to Awesome

  • Clone this repository
  • Ensure that you are at the solution folder
  • in the command-line run:
    • npm install
    • gulp serve

Deploy Package Solution 🚀

  • Ensure that you are at the solution folder
  • in the command-line run:
    • gulp build --ship
    • gulp bundle --ship
    • gulp package-solution --ship
  • Upload package to AppCatalog & add it to the SharePoint site.

Features💡

Key features demonstrated by this solution:

  • Property pane controls usage
  • PnP react hooks usage
  • Type checking

References

Help

We do not support samples, but we this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.

If you're having issues building the solution, please run spfx doctor from within the solution folder to diagnose incompatibility issues with your environment.

If you encounter any issues while using this sample, create a new issue.

For questions regarding this sample, create a new question.

Finally, if you have an idea for improvement, make a suggestion.

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

react-modern-carousel