react-framify

1.0.16 • Public • Published

React-Framify

React-Framify is a lightweight and versatile React component library that provides device framesets for showcasing screenshots and images.

Features

  • Supports the iPhone 14 Pro frameset.
  • Enables easy navigation between multiple screenshots or images.
  • Provides touch swipe gestures for seamless image browsing.
  • Optimized for performance and smooth animations.
  • Compatible with both ReactJS and ReactTS.

Installation

You can install React-Framify using npm:

npm install react-framify

Usage

Here’s a basic example of how to use the PhoneFrame component in your React application:

import { PhoneFrame } from 'react-framify';

const screenshotList = [
  'screenshot1.png',
  'screenshot2.png',
  'screenshot3.png',
];

function MyApp() {
  return <PhoneFrame screenshotList={screenshotList} />;
}

export default MyApp;

License

React-Framify is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.

Package Sidebar

Install

npm i react-framify

Weekly Downloads

46

Version

1.0.16

License

GPL-3.0

Unpacked Size

441 kB

Total Files

13

Last publish

Collaborators

  • codenkoffee