Atelier UI

Search components…

Search components…

iOS Kit

iOS interface kit: device frame, large-title navigation bar, tab bar, grouped lists, switch, segmented control, bottom sheet and app icons, with light and dark support.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

IOSDeviceProps

Also accepts all props of React.ComponentProps<"main">

PropTypeDefaultDescription
lightboolean—White status bar text, for photo and dark wallpaper screens
hideHomeIndicatorboolean—Hide the home indicator pill

IOSPageProps

PropTypeDefaultDescription
title* requiredstring——
largebooleantrueShow the big collapsing title under the navigation bar
leftReact.ReactNode——
rightReact.ReactNode——
tabbedboolean—Leave room for an IOSTabBar at the bottom
classNamestring—Background of the page, defaults to the grouped background
childrenReact.ReactNode——

IOSTabBarProps

PropTypeDefaultDescription
items* requiredIOSTabItem[]——
value* requiredstring——
onValueChange* required(id: string) => void——
darkboolean—Draw over a dark photographic screen
classNamestring——

IOSGroupProps

PropTypeDefaultDescription
headerReact.ReactNode——
footerReact.ReactNode——
classNamestring——
childrenReact.ReactNode——

IOSRowProps

PropTypeDefaultDescription
title* requiredReact.ReactNode——
subtitleReact.ReactNode——
detailReact.ReactNode—Value shown on the right in secondary color
iconReact.ReactNode—An icon element, drawn white on a rounded square of `iconClassName`
iconClassNamestring"bg-(color:--ios-blue)"—
chevronboolean—Show the disclosure chevron
rightReact.ReactNode—Replaces the detail and chevron, for example an IOSSwitch
leadingReact.ReactNode—Leading content that replaces the icon square, for example an avatar
destructiveboolean——
onClick() => void——
classNamestring——

IOSSwitchProps

PropTypeDefaultDescription
checked* requiredboolean——
onCheckedChange* required(checked: boolean) => void——
labelstring——
tintstring——

IOSSegmentedProps

PropTypeDefaultDescription
options* requiredstring[]——
value* requirednumber——
onValueChange* required(index: number) => void——
classNamestring——

IOSButtonProps

Also accepts all props of React.ComponentProps<"button">

PropTypeDefaultDescription
variant"filled" | "tinted" | "plain"——
tintstring—Any CSS color, defaults to the system blue

IOSAppIconProps

PropTypeDefaultDescription
iconReact.ReactNode——
classNamestring—Tailwind background classes, for example a gradient
sizenumber60—
labelstring——
showLabelboolean—Show the label under the icon, as on the home screen
labelClassNamestring——
onClick() => void——

IOSSheetProps

PropTypeDefaultDescription
open* requiredboolean——
onClose* required() => void——
titlestring——
leftReact.ReactNode——
rightReact.ReactNode——
heightstring"80%"Height as a CSS length, defaults to a tall detent
childrenReact.ReactNode——

Install

$ npx shadcn@latest add https://chromotion.dev/r/ios-kit.json

More like this