2.0.3 • Published 2 years ago

@lewispour/iphone v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🏴‍☠️ @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

Powers

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1-canary.1

2 years ago