@junhoyeo/iphone
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@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>

Powered by

Vite

Powers

Readme

Keywords

none

Package Sidebar

Install

npm i @junhoyeo/iphone

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

539 kB

Total Files

34

Last publish

Collaborators

  • junhoyeo