You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

eyer-react

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eyer-react

An Augmented Reality package for embedding Augmented Reality content on your React website.

1.6.1
latest
npmnpm
Version published
Weekly downloads
16
128.57%
Maintainers
1
Weekly downloads
 
Created
Source

eyer simply brings AR to your website

eyer-react is an Augmented Reality package for embedding Augmented Reality content on your React website.
The eyeR is developed with love for you :heart_eyes:
You can easily display your products in 3D on the website and
give your users the possibility to view your products in Augmented Reality.
Get started now! :muscle:    

eyer is very easy to use:

First install package:
npm i eyer-react@latest

And in your code, change <img src='example.jpg'/> to:

import eyer from 'eyer-react'
import {useEffect} from 'react'
export default function Home() {
useEffect(()=>{if (typeof window!=='undefined') eyer()},[])
return (
<div className='eyer' eyerid='#' imagesrc='example.jpg' style={{desired style for image such as:width,height,...}}></div>
)}

  • Don't change className='eyer'
  • Replace # with your eyerid got from www.eyer.ir website
  • Give your desired style for image (which is in the role of placeholder for 3d model)      

But First, register your model in eyer website! (FREE) :point_down:

www.eyer.ir

behsaman19@gmail.com    

:heart: :100:

Keywords

eyer

FAQs

Package last updated on 13 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts