@gfazioli/mantine-parallax
TypeScript icon, indicating that this package has built-in type declarations

2.1.5 • Public • Published

Mantine Parallax Component


Latest Stable Version NPM Downloads NPM Downloads License

Overview

This component is created on top of the Mantine library.

Mantine UI Library

Despite the Parallax component allowing you to create the famous Apple TV Card effect, you can use this component to manipulate the perspective and rotation of an element. It is also possible to act on the skew of the element and disable the parallax effect when hovering with the mouse.

Mantine Extensions Demo and Documentation Mantine Extensions HUB

You can find more components on the Mantine Extensions Hub library.

Installation

npm install @gfazioli/mantine-parallax

or

yarn add @gfazioli/mantine-parallax

After installation import package styles at the root of your application:

import '@gfazioli/mantine-parallax/styles.css';

Usage

import { Parallax } from '@gfazioli/mantine-parallax';

function Demo() {

  return (
    <Parallax w={560} h={300}>
        <Title>Parallax</Title>
        <Text>
          Amazing contentParallax effect component. Hover to see the effect.
        </Text>
    </Parallax>
  );
}

Package Sidebar

Install

npm i @gfazioli/mantine-parallax

Weekly Downloads

109

Version

2.1.5

License

MIT

Unpacked Size

101 kB

Total Files

23

Last publish

Collaborators

  • gfazioli