Mockups

iPad Frame

new

A tablet drawn in CSS, in portrait or landscape.

9:41 Tue Oct 13100%

Tuesday

October 13

October 2026

Today

09:30Design reviewMockups v3 · Studio
13:30Lunch with LenaCorner Café

Installation

npx shadcn@latest add @blank/ipad-frame

Usage

import { IPadFrame } from "@/components/ui/ipad-frame"
<IPadFrame orientation="landscape" src="/tablet.png" alt="Mail app" />

orientation is written to data-orientation, which swaps the aspect ratio and turns the side buttons with the device. Bezels and radii are measured from the short side, so they stay the same thickness in either orientation. Each orientation has its own default width; a width class replaces it.

Examples

Landscape

9:41 Tue Oct 13100%