Good morning
Michael
Balance
$12,480
Riley−$24.00
Jayden−$48.00
Riley−$72.00
Installation
$ pnpm dlx shadcn@latest add @synccn/phone-mockupFirst time in this project? Connect synccn with one command.
Usage
import { PhoneMockup } from "@/components/ui/mockups";<PhoneMockup>…</PhoneMockup>API reference
Generated from the component's TypeScript types, so it always matches the code.
PhoneMockup
Phone frame with a dynamic-island notch.
PropTypeDescription
- children
React.ReactNodeContent to render.
- className
stringExtra classes for the root element.
Dependencies
Read from the component's imports when the site builds. The CLI installs all of these for you.
Helpers
- lib/utilscn (merges class names)
npm packages
- clsx for cn()
- tailwind-merge for cn()
- lucide-react for Lock, RotateCw
Accessibility
From the source
Read from this component's code when the site builds, so it can't drift.
No ARIA roles, key handling or motion settings in its source. It renders plain elements, so its accessibility comes from the content and labels you give it.
More display
CardSurface with header, content and footer slots.BadgeSmall status label with an optional dot.AvatarImage with initials fallback, presence dot and stacked groups.KbdKeyboard key for shortcuts and hints.SeparatorHorizontal, vertical or labelled divider.AccordionExpanding sections with smooth height animation.