Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

polygona-3d-client

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polygona-3d-client

Polygona 3D Client is developed with React and GraphQL and can be embedded into any kind of web-app.

  • 2.4.2-4
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Polygona 3D Client

Polygona 3D Client is developed with React and GraphQL and can be embedded into any kind of web-app.

Requirements

  • Node.js installed on your system.
  • A valid consumerId provided by Polygona.

Setup

  • Install the library by running npm i polygona-3d-client
  • Embed it into your application (React example)
import * as React from 'react';
import * as ReactDOM from 'react-dom';

import { Polygona3DClient } from 'polygona-3d-client';

const App = () => {
  return (
    <div>
      <div id="header" style={{ height: '64px', backgroundColor: '#32aaca' }} />
      <div style={{ position: 'relative', height: '95vh' }}>
        <Polygona3DClient
          consumerId="YOUR_CONSUMER_ID"
          slug="customizable-minimalistic-egg-box"
          colorScheme="purple"
          objectColor="#b99aff"
        />
      </div>
    </div>
  );
};

ReactDOM.render(<App />, document.getElementById('root'));

Theming

Available color schemes: gray, red, orange, yellow, green, teal, blue, cyan, purple, pink

Run the example

An example of the client app is also available in example-client folder.

To run it just follow the steps below:

> In the root directory

Compile the library

  • npm i
  • npm start

> In the example-client directory

  • npm i
  • npm start

Server ready at http://localhost:1234

FAQs

Package last updated on 25 Jan 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc