1.0.12 • Published 4 years ago

swype v1.0.12

Weekly downloads
31
License
-
Repository
github
Last release
4 years ago

Swype

a simple card swipe component with indicators
alt txt

Install

npm i swype

Usage

import React from 'react';
import Swype from 'swype';

const cards = [
     {
        title: "card #1",
        content: "this is card #1"
    },
    {
        title: "card #2",
        content: "this is card #2"
    },
    {
        title: "card #3",
        content: "this is card #3"
    }
];

export const MyComponent = () => <Swype cards={cards} />;

Storybook

run npm run storybook for a storybook version of the component.

Features

  • super simple
  • multiple ways to navigate cards
  • responsive
  • auto adjusts according to content

overflow

note that you may need to add overflow-x: hidden to whatevers wraps Swype

1.0.11

4 years ago

1.0.10

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago