We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bc52fe commit cc996ffCopy full SHA for cc996ff
README.md
@@ -11,6 +11,24 @@ A small JS library that implements common patterns on top of CSS view-transition
11
* Respond to navigations
12
* Animate between list and details
13
14
+## To install
15
+```bash
16
+npm install velvette
17
+```
18
+```js
19
+import {Velvette, startViewTransition} from "velvette";
20
21
+
22
+Or directly in the browser:
23
+```html
24
+<script src="https://www.unpkg.com/[email protected]/dist/browser/velvette.js">
25
+<script>
26
+// You now have `Velvette` in your window object.
27
+Velvette.startViewTransition(...)
28
+const velvette = new Velvette(config);
29
+</script>
30
31
32
## Overview
33
34
### CSS View Transitions
0 commit comments