# svelte-tilt

> Tilt library for svelte

Latest version **0.0.3** (published 2022-05-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install svelte-tilt
pnpm add svelte-tilt
yarn add svelte-tilt
bun add svelte-tilt
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-05-23 |
| First published | 2022-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 5.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Maintainers | leodog896 |

## Links

- npm: https://www.npmjs.com/package/svelte-tilt
- Repository: https://github.com/LeoDog896/svelte-tilt
- Homepage: https://github.com/LeoDog896/svelte-tilt#readme
- Issues: https://github.com/LeoDog896/svelte-tilt/issues
- npm.io page: https://npm.io/package/svelte-tilt

## Recent versions

- 0.0.3 (latest) — 2022-05-23
- 0.0.2 — 2022-05-17
- 0.0.1 — 2022-05-17

## README

# svelte-tilt

Simple tilt library.

## Usage

```html
<script lang="ts">
import tilt from 'svelte-tilt'
</script>

<div use:tilt class="w-40 h-40 bg-blue-300"> <!-- Using tailwind, but you can use any styling you want. -->
<div use:tilt={{ strength: 5 }} class="w-40 h-40 bg-green-300"> <!-- Or use options! -->
```

Find more in the demo: https://leodog896.github.io/svelte-tilt/

## References

https://svelte.dev/repl/7b23ad9d2693424482cd411b0378b55b?version=3.24.1

---
_Source: https://npm.io/package/svelte-tilt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
