SweetUI

Search items

Jump to an item

block

preview

Theme wall: 33 cards, registry + native; adaptive grid, compact one-column.

previewthemeshowcasecardscreateshadcndashboard
preview, light

On iPad

The same installed source at a regular width. It adapts its layout without a separate design.

preview on iPad, light

Install

With the sweetui tool (brew install mangobyte-dev/tap/sweetui):

sweetui install preview --destination Sources/YourFeature/Components

Installs in order: card 0.2.1, avatar 0.2.1, separator 0.2.1, badge 0.3.2, item 0.2.2, button 0.5.2, alert 0.2.1, chart 0.1.3, empty 0.1.1, input-group 0.2.1, combobox 0.1.1, input 0.5.1, field 0.1.2, spinner 0.2.1, checkbox 0.3.2, textarea 0.4.1, table 0.1.1, kbd 0.1.2, progress 0.2.1, select 0.2.1, skeleton 0.2.2, button-group 0.3.2, preview 0.3.1. Point --destination at a folder inside the consuming target's sources.

Usage

PreviewWall()

Accessibility contract

  • 33 cards, one wall; regular: adaptive grid; compact: plain-non-lazy-VStack, all off-screen too (capture-route audit).
  • Controls: accessibility label; SF Symbol hidden; no unlabeled button, image, switch, field, slider.
  • Avatars: person/account name label. Charts, gauges, keycaps: spoken labels, not glyphs.
  • Dialog actions: native alert/sheet; keeps modal semantics, focus.
  • Cards: native GroupBox + controls, card-surface; respects Dynamic Type, color-scheme, direction, no-per-card-handling.

Details