Socket
Socket
Sign inDemoInstall

@junhoyeo/iphone

Package Overview
Dependencies
5
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @junhoyeo/iphone


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@junhoyeo/iphone

GitHub deployments License: MIT

🏴‍☠️ @junhoyeo/iphone

🏝️ iPhone 14 Pro with dynamic island, on the web.

Warning
This package is under rapid development 🛠

yarn add @junhoyeo/iphone
import { Phone, type GridItemProps } from '@junhoyeo/iphone';

import '@junhoyeo/iphone/dist/style.css';

const APPS: GridItemProps[] = [];
const DOCK: GridItemProps[] = [];
const BACKGROUND_IMAGE_URL: string = '';

<Phone
  appBarBrightness="dark"
  frameColor="purple"
  transformScale={1}
  apps={APPS}
  dock={DOCK}
  backgroundImage={BACKGROUND_IMAGE_URL}
  dynamicIslandProps={{ ... }}
>
  <AppBar />
  <Screen>
    <Iframe src="/demo" allowTransparency />
  </Screen>
</Phone>
  • Special thanks to Sunghyun Cho(@anaclumos)! The implementation of Dynamic Island was made possible by his work.
  • If you found this project interesting, please consider following me(GitHub/Twitter) or ⭐️ giving it a star.

Powered by

Vite

Powers

FAQs

Last updated on 31 Dec 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc