Duo
  • Apps
  • Platform
  • Docs
  • Simulator
  • Blog
  • Changelog
  • GitHub
Try Duo

UI kit

  • Showcase
  • Overview
  • Guidelines

Components

  • Button
  • Checkbox
  • HStack
  • IconButton
  • LargeTitle
  • List
  • Menu
  • Nav
  • NavigationLink
  • Num
  • Placeholder
  • Row
  • Screen
  • Section
  • Segmented
  • Select
  • Sheet
  • Text
  • TextField
  • Title
  • Toggle
  • VStack
  • Widget
  • WidgetLabel

Hooks

  • useDisplay
  • useNav
  • useNavigation
  • usePresence
  • useWide

Functions

  • Page
  • Sym

Values

  • animations

Types

  • AnimationName
  • App
  • ButtonProps
  • CheckboxProps
  • HStackProps
  • IconButtonProps
  • LargeTitleProps
  • ListProps
  • MenuEntry
  • MenuItem
  • MenuProps
  • PageProps
  • Push
  • NavigationLinkProps
  • PlaceholderProps
  • RowProps
  • ScreenProps
  • SectionProps
  • SegmentedProps
  • SelectProps
  • SheetProps
  • Align
  • Justify
  • StackProps
  • SymProps
  • TextProps
  • TextFieldProps
  • TitleProps
  • ToggleProps
  • VStackProps
  • WidgetProps
  • WidgetLabelProps
Types›ListProps

ListProps

Semantic list. Use Row as="li" for direct children, or place Sections inside list items.

Source
type ListProps<T extends ElementType = 'ul'> = PrimitiveProps<T>

API reference

type ListProps<T extends ElementType = 'ul'> = PrimitiveProps<T>

Related types

MenuEntryMenuItemOne action. The glyph sits on the leading edge, as iOS 26 draws it; `checked` present makes the row a radio and puts a tick on the trailing edge. `name` is what a screen reader says when the visible label is not enough on its own.MenuPropsThe iOS pop-up menu: a sheet of actions that floats out of the control which opened it and sinks back once one is chosen. The caller keeps `open` and puts `aria-expanded` on that control; `onClose` runs after the chosen action.
Duo

A working simulator of a phone that folds, and the SDK to build apps for it.

Platform

AppsPlatformDocsSimulatorBlogChangelog

Project

GitHubSubmit an appGuidelinesLicense
An experiment by Doan Labs

An unofficial experiment, not affiliated with Apple. iPhone is a trademark of Apple Inc.