Open Source Docs
  • Welcome
  • Getting Started
    • How to Join
  • Plugins
    • Filament API Service
    • Filament Announce
    • Filament Swiper
  • Project
    • Remote Database Backup
    • Code Deploy
      • Pre-requisite
      • Installation
      • How to use it?
        • Create a server
        • Adding site
        • Add discord notification
  • Blockchain
    • Testnet
      • Chasm Network
      • Empeiria
        • Requirements
        • Installation
Powered by GitBook
On this page
  • Installation
  • Usage
  • Widget
  • Bugs
  • Features
  • Changelog
  • Contributing
  • Security Vulnerabilities
  • Credits
  • License

Was this helpful?

Edit on GitHub
Export as PDF
  1. Plugins

Filament Swiper

The Most Modern Mobile Touch Slider now on FilamentPHP

PreviousFilament AnnounceNextRemote Database Backup

Last updated 10 months ago

Was this helpful?

This is a Swiper Component for filament, using .

Installation

You can install the package via composer:

composer require rupadana/filament-swiper

Usage

Available API

public function infolists(Infolists $infolists) {
    return $infolists
    ->schema([
        \Rupadana\FilamentSwiper\Infolists\Components\SwiperImageEntry::make('attachment')
            ->navigation(false)
            ->pagination()
            ->paginationType(SwiperImageEntry::BULLETS)
            ->paginationClickable()
            ->paginationDynamicBullets()
            ->paginationHideOnClick()
            ->paginationDynamicMainBullets(2)
            ->scrollbar()
            ->scrollbarDragSize(100)
            ->scrollbarDraggable()
            ->scrollbarSnapOnRelease()
            ->scrollbarHide(false)
            ->height(300)
            ->autoplay()
            ->effect(SwiperImageEntry::CARDS_EFFECT)
            ->cardsPerSlideOffset(2)
            ->autoplayDelay(500)
            ->centeredSlides()
            ->slidesPerView(2)
    ])
} 

Widget

Create a class whatever u want. example App\Livewire\Widgets\Swipget and extends Rupadana\FilamentSwiper\Widgets\SwiperWidget,

<?php

namespace App\Livewire\Widgets;

use App\Livewire\Components\Feature;
use Rupadana\FilamentSwiper\Widgets\SwiperWidget;

class Swipget extends SwiperWidget
{

    public function getComponents(): array
    {
        return [
            // Your livewire component
        ];
    }
}

and register it to your Filament Provider

Bugs

There is a bug. we need contributor to fix it.

Features

There is module has been implemented in this project.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

  • All Contributors

License

The MIT License (MIT). Please see License File for more information.

Rupadana
SwiperJS
Page cover image