Welcome UI logo
FOUNDATIONSCOMPONENTSBLOG650+
10.1.5

Menu

    Actions

    • Button
    • ButtonGroup
    • Close Button
    • Link

    Data display

    • Accordion
    • Avatar
    • Badge
    • Card
    • Swiper
    • Table
    • Tag
    • VisuallyHidden

    Feedback

    • Alert
    • StickyNote

      NEW

    • Toast

    Forms

    • Checkbox
    • DatePicker
    • DateTimePicker
    • Field
    • FileDrop
    • FileUpload
    • Hint
    • InputText
    • Label
    • PasswordInput
    • Radio
    • RadioGroup
    • RadioTab
    • Search
    • Select
    • Slider
    • Textarea
    • TimePicker
    • Toggle

    Icons & logo

    • Icon
    • Logo
    • Stamp

      NEW

    • VariantIcon
    • WelcomeLoader

    Layout

    • AspectRatio
    • Loader
    • Window

      NEW

    Navigation

    • Breadcrumb
    • DropdownMenu
    • FloatingActionBar
    • Pagination
    • Stepper

      NEW

    • Tabs

    Overlay

    • Drawer
    • Modal
    • Popover
    • Tooltip

    Typography

    • Text

    Utilities

    • Grid background

Overview

Props

useSwiper

autoplay
{ duration?: number; enabled?: boolean; loop?: boolean; }
If true the swiper will automatically transition between slides
navigation
{ desktop: boolean; mobile: boolean; }
Navigation arrow visibility per breakpoint
slides
{ alignment?: "default" | "center"; expandOnLargeScreens?: boolean; gap?: number; id?: string; initialIndex?: number; perView?: { desktop: number; mobile: number; tablet: number; }; }
Slide display and spacing configuration

Swiper

store
{ autoplay: defaultOptions.autoplay!, navigation: defaultOptions.navigation!, slides: { alignment: defaultOptions.slides!.alignment!, currentPage: 0, currentSlidesPerView: defaultOptions.slides!.perView!.desktop, expandOnLargeScreens: defaultOptions.slides!.expandOnLargeScreens!, gap: defaultOptions.slides!.gap!, id: defaultOptions.slides!.id!, initialIndex: defaultOptions.slides!.initialIndex!, perView: defaultOptions.slides!.perView!, setCurrentPage: () => {}, }, } (default)
{ autoplay: { duration: number; enabled: boolean; loop: boolean; }; navigation: { desktop: boolean; mobile: boolean; }; slides: { alignment: "default" | "center"; currentPage: number; currentSlidesPerView: number; ... 5 more ...; setCurrentPage: Dispatch<...>; }; }

On this page

  • useSwiper
    • autoplay
    • navigation
    • slides
  • Swiper
    • store
Made with by
Welcome to the jungle logo

Documentations

  • Foundations
  • Components
  • Source code

Updates

  • Releases
  • Issues

Community

  • Github
  • Twitter
  • Medium
  • Jobs