1.0.7 ⢠Published 6 months ago
@codinix/device-mockup v1.0.7
@codinix/device-mockup
š±š„ļø Beautiful and responsive device mockups built with React and Tailwind CSS ā phone, tablet, laptop, desktop ā all with realistic frames and perfect proportions.
Ideal for portfolios, UI showcases, landing pages, or client demos.
⨠Features
- ā
Easy-to-use:
<Device type="phone">...</Device> - ā Fully responsive and scalable
- ā Pixel-perfect frames: not screenshots
- ā
Supports
phone,tablet,laptop,desktop - ā Works with any content: components, iframes, apps
- ā Optional keyboard/stand assets for ultra-realism
- ā TypeScript support
š¦ Installation
npm install @codinix/device-mockup
# or
yarn add @codinix/device-mockupā ļø Using React 19+?
Run with:
npm install @codinix/device-mockup --legacy-peer-depsš§ Usage
Smart wrapper
import { Device } from "@codinix/device-mockup";
<Device type="tablet">
<iframe
src="https://your-app.vercel.app"
className="w-full h-full"
frameBorder="0"
/>
</Device>š¤ Credits
Crafted by Cleopatra Ropot
Packaged under the Codinix open component standard.