V-Spotlight
๐ฆ Tiny reusable Spotlight component for your Vue App
-
Demo Link - Click Here
-
This is on GitHub so let me know if I've b0rked it somewhere, give me a star
โญ๏ธ if you like it๐ป
Install
yarn add v-spotlight
Usage
<template> <v-spotlight background="'https://placehold.it/1000x1000'"></v-spotlight> </template> <script> import VSpotlight from 'v-spotlight'; export default { components: { VSpotlight, }, }; </script>
API
Props
background
: Add background image for the spotlightposition
: Background image cover position
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
v-spotlight ยฉ Vinayak, Released under the MIT License.
Authored and maintained by Vinayak Kulkarni with help from contributors (list).
vinayak.site ยท GitHub @vinayakkulkarni ยท Twitter @_vinayak_k