Todos os tipos
470 de 470
Configuração da app 24
type
config.AndroidIntentDataAn <intent>'s or <intent-filter>'s <data>: each key an android: attribute.typeconfig.AndroidIntentFilterOne android.manifest intent filter, checked: the links and intents that open the app, and whether its hosts are verified as app links.typeconfig.AndroidManifestAdditionsandroid.manifest, checked, with every key present and values as text.typeconfig.AndroidManifestSettingsandroid.manifest: attribute names without android:, values as data.typeconfig.AppConfigThe config for one environment, checked, with every optional key present.typeconfig.ColorSchemeThe colorScheme setting: whether the app follows the system's light or dark mode or stays in one.typeconfig.EnvironmentKeys of the base config that differ in one environment.typeconfig.FontSourceA font file the config names; the face is read from the file where it is null.typeconfig.IconSourceAn image the config names, absolute, and how to name it in an error.typeconfig.IOSBackgroundModeOne value of ios.backgroundModes: a UIBackgroundModes entry such as audio, location or fetch.typeconfig.KuitoConfigWhat kuito.config.ts exports.typeconfig.KuitoFontA bundled font file, and the face it is, where the file's own tables are wrong.typeconfig.KuitoFontWeightA bundled font's weight: normal, bold, or a hundred from 100 to 900.typeconfig.KuitoPermissionsEach permission the app uses, with the reason iOS shows in its prompt.typeconfig.KuitoSplashThe splash setting: how the native launch screen looks, in light and dark mode, and the named variants the app can pick for its next launch.typeconfig.MigrationOne change to the app's SQLite database (docs/storage.md#migrations): an
SQL statement, or several that apply together.typeconfig.OrientationThe orientation setting: default follows the device, portrait or landscape locks the app.typeconfig.PlistDictionaryA property-list object with string keys and PlistValue values, as ios.infoPlist and ios.entitlements take.typeconfig.PlistValueA property-list value: a string, number, boolean, an array of values, or a PlistDictionary.typeconfig.PushEnvironmentThe ios.pushEnvironment setting: the APNs server a build's remote push uses, development for builds Xcode signs for development and production for TestFlight and the App Stortypeconfig.SoftInputModeThe android.softInputMode setting: what the window does for the keyboard, resize or pan.typeconfig.SplashConfigThe splash setting checked, with defaults applied: one SplashLook and each variant as its own SplashLook.typeconfig.SplashLookOne launch screen, checked, with its defaults applied.typeconfig.StatusBarStyleThe status bar's content color at launch: light, dark, or auto to follow the color scheme.HTTP, URLs e APIs Web 8
type
global.BodyInitWhat a fetch request body may be: a string, ArrayBuffer, ArrayBufferView or URLSearchParams.typeglobal.HeadersInitWhat Headers and RequestInit.headers take: a Headers, name-value pairs, or a record of strings.typeglobal.RequestInitShapes a fetch request: its method, headers and body, and a signal that cancels it.typeglobal.ResponseA fetch response, for checking its status and reading its body whole or as it streams in.typenetwork.CellularGenerationThe radio's generation on a cellular network: '2g', '3g', '4g' or '5g'.typenetwork.NetworkDetailsWhether the current network costs the user money, and its generation on cellular.typenetwork.NetworkStateThe device's network as the app can use it now: its kind, whether it is connected, and whether the internet answers.typenetwork.NetworkStateTypeThe transport of the network the system routes traffic through.Utilitários JavaScript 2
Estado da aplicação e dispositivo 26
type
appearance.AppearancePreferencesThe user's display preferences together, for tests and code that need both at once.typeapp.AppStateactive in the foreground, background when another app or the home
screen is, inactive in between.typeappearance.ColorSchemeNameThe user's color scheme, 'light' or 'dark', as appearance.colorScheme reports it.typedevice.DeviceTypeWhat kind of device the app runs on.typekeyboard.KeyboardEventNameAn event keyboard.watch takes: willShow, didShow, willHide, didHide, willChangeFrame or didChangeFrame.typekeyboard.KeyboardFrameThe keyboard's frame on screen, in points.typekeyboard.KeyboardFrameEventWhat a keyboard event says about the keyboard's motion, for moving views in step with it.typesplash.SplashFrameA rectangle of the window, in points (iOS) and dp (Android).typesplash.SplashLayoutWhere the launch screen draws its logo and brand.typewindow.WidthClassThe window's width class, by its width: under 600, under 840, and wider.typewindow.WindowInsetsHow far the system bars, the notch and the home indicator reach into the window.typewindow.WindowOrientationWhether the window is taller than wide or wider than tall, for picking a layout.typewindow.WindowSizeThe window's size, for layouts that depend on the space the app has.typeAppearancePreferencesThe user's display preferences together, for tests and code that need both at once.typeAppStateactive in the foreground, background when another app or the home
screen is, inactive in between.typeColorSchemeNameThe platform's color scheme, 'light' or 'dark', as appearance.colorScheme reports it.typeDeviceTypeWhat kind of device the app runs on.typeKeyboardEventNameA keyboard event the runtime listens for: willShow, didShow, willHide, didHide, willChangeFrame or didChangeFrame.typeKeyboardFrameThe keyboard's frame on screen, in points.typeKeyboardFrameEventWhat a keyboard event says about the keyboard's motion, for moving views in step with it.typeSplashFrameA rectangle of the window, in points (iOS) and dp (Android).typeSplashLayoutWhere the launch screen draws its logo and brand.typeWidthClassThe window's width class, by its width: under 600, under 840, and wider.typeWindowInsetsHow far the system bars, the notch and the home indicator reach into the window.typeWindowOrientationWhether the window is taller than wide or wider than tall, for picking a layout.typeWindowSizeThe window's size, for layouts that depend on the space the app has.Câmara, áudio e vídeo 78
type
audio.AudioInterruptionThe system interrupting the app's audio (a call, an alarm), and the interruption ending.typeaudio.AudioModeThe app's audio session, which configure sets.typeaudio.AudioPlayerA native player the scope that made it owns (docs/audio.md).typeaudio.AudioPlayerOptionsSets how an audio player starts out (its volume, speed and looping) and which scope owns it.typeaudio.AudioRecorderA native recorder the scope that made it owns (docs/audio.md).typeaudio.AudioRecorderOptionsChooses the file an audio recorder writes, its quality, and whether it measures the input level while it records.typeaudio.AudioSourceA URL, a file:// path, or a bundled file: fileSystem.bundle + name.typemediaPicker.CaptureOptionsTunes what the system camera captures for mediaPicker.capture(): images or videos, JPEG quality, a maximum size and the iOS editor.typefonts.FontSourceA font file: a file:// URI, or one with the weight and style it draws.typefonts.FontWeightA font file's weight: 'normal' (400), 'bold' (700), or 100 to 900 in hundreds.typeimage.ImageSizeIn pixels, as an Image's onLoad reports it.typemediaPicker.MediaAssetOne image or video the user picked or captured, as a file in the app's cache with what it is.typemediaPicker.MediaPickerResultWhat the media picker ended with: the assets the user chose, or a cancel.typemediaPicker.MediaTypeWhat the picker offers, 'images' or 'videos', named by the mediaTypes option.typemediaPicker.PickOptionsTunes the system photo picker for mediaPicker.pick(): what it offers, how many assets the user may choose, and their size.typeimage.PrefetchOptionsPicks the caches image.prefetch() fills, so the Image that later shows the picture finds it there.typeaudio.RecordingA finished audio recording, as a file the app can play, upload or keep.typeaudio.RecordingFormataac writes .m4a on both platforms; wav is 16-bit PCM, iOS only (docs/audio.md).typeaudio.RecordingQualityTrades an audio recording's fidelity against its file size.typeAudioInterruptionThe system interrupting the app's audio (a call, an alarm), and the interruption ending.typeAudioModeThe app's audio session, which configure sets.typeAudioPlayerA native player the scope that made it owns (docs/audio.md).typeAudioPlayerOptionsSets how an audio player starts out (its volume, speed and looping) and which scope owns it.typeAudioRecorderA native recorder the scope that made it owns (docs/audio.md).typeAudioRecorderOptionsChooses the file an audio recorder writes, its quality, and whether it measures the input level while it records.typeAudioSourceA URL, a file:// path, or a bundled file: fileSystem.bundle + name.typeBarcodeEventTells a Camera's app which code came into view, what it encodes and where it is in the preview.typeBarcodeTypeThe symbologies barcodes can scan for (see docs/camera.md#barcodes).typeCameraErrorEventThe camera failed or can't run: ERR_PERMISSION (access denied),
ERR_CAMERA_UNAVAILABLE (no such camera, or none on this device), or
ERR_CAMERA (the session failed or was intetypeCameraFacingWhich camera a Camera uses: 'back' or 'front'.typeCameraFlashFor pictures.typeCameraHandleWhat a Camera's ref holds: ref<CameraHandle>().typeCameraMethodsWhat an app can ask a mounted Camera to do through its ref: take pictures, record video and pause the preview.typeCameraModeWhat the camera is set up to capture; switching reconfigures the session.typeCameraPictureA picture a Camera took, as a JPEG file in the cache that an Image or fileSystem can use at once.typeCameraPropsProps of Camera: which camera, its light, zoom and mode, the codes to scan, and its events.typeCameraReadyEventThe Camera's onReady event, without payload: the preview runs and the camera can take pictures and record.typeCameraRecordingA video a Camera recorded, as an MPEG-4 file in the cache with its length.typeCameraRefA Camera's ref that also holds its state: ready while the preview
runs and the camera can take pictures and record, and the last error.typeCaptureOptionsTunes what the system camera captures for mediaPicker.capture(): images or videos, JPEG quality, a maximum size and the iOS editor.typeFontSourceA font file: a file:// URI, or one with the weight and style it draws.typeFontWeightA font's weight: normal, bold, or a number from 100 to 900 in hundreds.typeImageSizeIn pixels, as an Image's onLoad reports it.typeMediaAssetOne image or video the user picked or captured, as a file in the app's cache with what it is.typeMediaPickerResultWhat the media picker ended with: the assets the user chose, or a cancel.typeMediaTypeWhat the media picker offers: images or videos.typePickOptionsTunes the system photo picker for mediaPicker.pick(): what it offers, how many assets the user may choose, and their size.typePictureOptionsTunes a picture a Camera takes: its JPEG quality, and whether its bytes come back with it.typePrefetchOptionsPicks the caches image.prefetch() fills, so the Image that later shows the picture finds it there.typeRecordingA finished audio recording, as a file the app can play, upload or keep.typeRecordingFormataac writes .m4a on both platforms; wav is 16-bit PCM, iOS only (docs/audio.md).typeRecordingOptionsCaps how long a Camera's video recording may run before it stops on its own.typeRecordingQualityTrades an audio recording's fidelity against its file size.typeVideoBufferEventA Video's buffer event, with isBuffering saying whether the player is waiting for data.typeVideoEndEventA Video's end event, sent when playback reaches the end; it carries no payload.typeVideoErrorEventA Video's error event, with the failure's code and message.typeVideoFullscreenEventA Video's fullscreenChange event, with fullscreen saying whether the player is now full screen.typeVideoHandleWhat a Video's ref holds, for seeking, playing, pausing and entering full screen or picture in picture from code.typeVideoLoadEventA Video's load event, with the duration (null for a live stream), currentTime and naturalSize in pixels.typeVideoMethodsWhat a ref to a Video calls.typeVideoObjectFitCSS's object-fit for the picture: letterboxed, cropped, or distorted to fit.typeVideoPictureInPictureEventA Video's pictureInPictureChange event, with active saying whether picture in picture is on.typeVideoPlaybackStateEventA Video's playbackStateChange event: isPlaying, the currentTime in seconds and the playback rate.typeVideoProgressEventA Video's progress event, sent while playing: currentTime and the buffered playableDuration, in seconds.typeVideoPropsProps of Video: what it plays and how, with the style, layout and accessibility props and a ref to a VideoHandle.typeVideoRefA Video's ref that also holds its state: signals for what the player is
doing, and time and duration as motion values.typeVideoSourceA stream or a file: https:// (HLS .m3u8 or progressive MP4) or file://.typeWebViewErrorEventcode and description are the platform's: an NSURLError code on iOS, a WebViewClient one on Android.typeWebViewHandleWhat a WebView's ref holds.typeWebViewMessageEventdata is the string the page passed to window.KuitoWebView.postMessage; url is the page's.typeWebViewMethodsEach resolves once the platform has started it, not when the page has done it.typeWebViewNavigationThe page's state, on every load and navigation event.typeWebViewNavigationEventA WebView's loadStart, load, loadEnd or navigate event, carrying the page's url, title, loading and history state.typeWebViewPropsProps of WebView: the page to load, where it may navigate, and its events.typeWebViewRefA WebView's ref that also holds the page's state as signals, kept by its
load and navigation events.typeWebViewSourceThe URL a WebView loads (src), with its request headers if it needs any.typetests.FontFaceOne face at one size: the advances a glyph moves the pen by, in points.typetests.FontTableThe fonts a test measures text with, so its layouts come out the same on every machine or match a device's.Permissões, localização e notificações 43
type
backgroundTasks.BackgroundTaskResolve when the work is done; throw or reject to report a failed run.typebackgroundTasks.BackgroundTaskOptionsTells the OS how often a background task may run and what the device must have (a network, a charger) before it does.typebackgroundTasks.BackgroundTaskRunWhat a task receives when the OS runs it.typebackgroundTasks.BackgroundTaskStatusWhether the OS lets this app run in the background: the user or a policy can turn it off.typelocation.GeocodedAddressOne place at a position.typelocation.GeocodedLocationA position location.geocode() found for an address, ready to center a map or measure a distance.typelocation.LastKnownPositionOptionsSays how old and how coarse a cached fix location.last() may return before it resolves null.typelocation.LocationAccuracyHow precise a fix should be; finer costs more power.typelocation.LocationCoordsA fix's position.typelocation.LocationErrorWhy a location call or watch failed, for telling the user or falling back.typelocation.LocationHeadingWhich way the device points, for a compass or for turning a map with the user.typelocation.LocationObjectOne position fix of the device, with when it was taken and whether a mock location supplied it.typelocation.LocationOptionsTrades a fix's accuracy against the battery it costs.typelocation.LocationTaskResolve when the fixes are handled; throw or reject to report a failed run.typelocation.LocationTaskOptionsHow a location task's updates run.typelocation.LocationTaskRunWhat a location task receives: the fixes since its last run, oldest first.typepermissions.PermissionNameWhat an app can ask for.typepermissions.PermissionResponseWhether the app holds a permission, and whether asking again can still show the system prompt.typepermissions.PermissionStatuslimited is access the user narrowed: a selection of photos (iOS 14+,
Android 14+).typenotifications.PushTokenWhere a server sends the device's push: the service and its token.typenotifications.ReceivedNotificationA notification that arrived while the app is in the foreground.typenotifications.ScheduledNotificationA notification notifications.schedule shows.typelocation.WatchPositionOptionsTrades how often and how precisely a position watch reports against the battery it costs.typeBackgroundTaskResolve when the work is done; throw or reject to report a failed run.typeBackgroundTaskOptionsTells the OS how often a background task may run and what the device must have (a network, a charger) before it does.typeBackgroundTaskRunWhat a task receives when the OS runs it.typeBackgroundTaskStatusWhether the OS lets this app run in the background: the user or a policy can turn it off.typeGeocodedAddressOne place at a position.typeGeocodedLocationA position location.geocode() found for an address, ready to center a map or measure a distance.typeLastKnownPositionOptionsSays how old and how coarse a cached fix location.last() may return before it resolves null.typeLocationAccuracyHow precise a fix should be; finer costs more power.typeLocationCoordsA fix's position.typeLocationErrorWhy a location call or watch failed, for telling the user or falling back.typeLocationHeadingWhich way the device points, for a compass or for turning a map with the user.typeLocationObjectOne position fix of the device, with when it was taken and whether a mock location supplied it.typeLocationOptionsTrades a fix's accuracy against the battery it costs.typePermissionNameWhat an app can ask for.typePermissionResponseWhether the app holds a permission, and whether asking again can still show the system prompt.typePermissionStatuslimited is access the user narrowed: a selection of photos (iOS 14+,
Android 14+).typePushTokenWhere a server sends the device's push: the service and its token.typeReceivedNotificationA notification that arrived while the app is in the foreground.typeScheduledNotificationA notification notifications.schedule shows.typeWatchPositionOptionsTrades how often and how precisely a position watch reports against the battery it costs.Armazenamento, bases de dados e ficheiros 35
type
fileSystem.ByteRangePicks the part of a file fileSystem.readBytes reads, for reading a header or a large file in pieces.typedb.ComparisonComparisons of one column's value: a row matches when every one holds.typefileSystem.DownloadOptionsAdds request headers to a download and follows its progress.typefileSystem.DownloadResultWhere a finished download is on disk and what the server answered.typefileSystem.FileInfoWhat info finds at a URI.typefileSystem.FileTransferA running download or upload: await it, or cancel it to reject with ERR_CANCELED.typesecureStore.KeychainAccessibilityWhen a secret can be read (docs/secure-store.md).typedb.QueryOptionsSelects the rows a database query returns: which ones match, their order, and how many.typesecureStore.SecureStoreOptionsChooses where a secret lives, when it can be read, and whether biometrics guard it.typestorage.SqlStatementOne SQL statement and the values bound to its placeholders, for running raw SQL.typestorage.SqlValueA value SQLite stores and binds: booleans cross as 1 and 0.typestorage.StorageEntryA key and its value, or null when nothing is stored under it.typedb.TableA table the migrations made, and the schema each of its rows matches.typefileSystem.TransferProgressHow far a transfer is.typefileSystem.UploadOptionsSays how a file is uploaded: the HTTP method and headers, as the whole body or a form field, and its progress.typefileSystem.UploadResultWhat the server answered to an upload.typedb.WhereRows whose columns equal these values, or pass these comparisons; null matches NULL.typefileSystem.WriteOptionsSays whether fileSystem.write() replaces the file or adds to its end.typeByteRangePicks the part of a file fileSystem.readBytes reads, for reading a header or a large file in pieces.typeComparisonComparisons of one column's value: a row matches when every one holds.typeDownloadOptionsAdds request headers to a download and follows its progress.typeDownloadResultWhere a finished download is on disk and what the server answered.typeFileInfoWhat info finds at a URI.typeFileTransferA running download or upload: await it, or cancel it to reject with ERR_CANCELED.typeKeychainAccessibilityWhen a secret can be read (docs/secure-store.md).typePersistedOptionsSays where persisted() stores its value and the schema a stored value must still match.typeQueryOptionsSelects the rows a database query returns: which ones match, their order, and how many.typeSecureStoreOptionsChooses where a secret lives, when it can be read, and whether biometrics guard it.typeStorageEntryA key and its value, or null when nothing is stored under it.typeTableA table the migrations made, and the schema each of its rows matches.typeTransferProgressHow far a transfer is.typeUploadOptionsSays how a file is uploaded: the HTTP method and headers, as the whole body or a form field, and its progress.typeUploadResultWhat the server answered to an upload.typeWhereRows whose columns equal these values, or pass these comparisons; null matches NULL.typeWriteOptionsSays whether fileSystem.write() replaces the file or adds to its end.Acessibilidade e idiomas 4
type
localization.CalendarOne of the user's calendar settings, for showing dates, times and weeks the way the user reads them.typelocalization.LocaleOne of the user's preferred languages, most preferred first.typeCalendarOne of the user's calendar settings, for showing dates, times and weeks the way the user reads them.typeLocaleOne of the user's preferred languages, most preferred first.Diálogos, partilha e feedback 16
type
haptics.ImpactStyleThe weight of the collision haptics.impact plays: 'light', 'medium' or 'heavy'.typehaptics.NotificationTypeThe outcome a notification haptic reports: 'success', 'warning' or 'error'.typeActionSheetButtonOne choice an action sheet offers, which may be the cancel choice, a destructive one or a dimmed one the user can't pick.typeActionSheetOptionsWhat an action sheet shows: the choices it offers the user, with an optional heading and, on iPad, where its popover points.typeAlertButtonOne button of an alert or a prompt, as the app lists it and as the call resolves with the one the user picked.typeAlertButtonStyleHow an alert or action sheet button reads to the user: an ordinary choice, the one that cancels, or one that destroys something.typeAlertOptionsWhat an alert says and which buttons it offers, and the base a prompt adds its text field to.typeImpactStyleHow heavy a collision haptics.impact() makes the device feel.typeNotificationTypeA haptic notification's kind, 'success', 'warning' or 'error', as haptics.notification() takes it.typePromptOptionsWhat a prompt asks for: an alert's title, message and buttons, plus the kind of text field and its starting text.typePromptTypeOne text field, a password, or a login's username and password, as TextField's type names them.typePromptValueWhat the user typed: the text, or a login's username and password.typeShareActionWhether the user shared from the share sheet or dismissed it.typeShareContentWhat the share sheet shares: a message, a URL, or both.typeShareOptionsPlatform touches for the share sheet: Android's chooser title, and iOS's subject and the activities it leaves out.typeShareResultHow the share sheet ended, and with which app or activity when the user shared.Expandir com código nativo 22
type
localization.MessageCatalogsMessages by key, in catalogs by BCP 47 tag; the first catalog is the fallback.typelocalization.MessageValuesThe values a message's arguments take, by name.typeAndroidNeedsDeclares what a native module's Android side needs beside its Kotlin class: Gradle dependencies and the manifest entries it adds to the app.typeEventSubscriptionA subscription to a native event, which remove() ends.typeFunctionDeclarationsDeclares, in a native module's spec, on which thread each of its functions runs.typeIosNeedsDeclares what a native module's iOS side needs beside its Swift class: Info.plist keys, frameworks and Swift packages.typeJsonWhat crosses the host boundary as data: JSON values, checked again at run time.typeModuleEventAn event a module's spec declares, as an app listens to it.typeModuleOfThe module's functions, as an app imports them.typeNativeNeedsWhat a module needs beside its functions; a platform it leaves out does not ship it.typeNativeViewEventAn event a native view emits, with its payload's fields.typeNativeViewHandleA module view's element, as its ref holds it: the element and the view's functions.typeNativeViewMethodsMethods the view's element answers, the spec's methods: arguments and a
Promise of a result that are JSON values or ArrayBuffers.typeNativeViewPropsThe component's props: the view's own, each a value or a signal, beside
the style, layout and accessibility props every view takes.typeNativeViewSpecA view's own props: JSON values, and on* handlers for the events it
declares (onSlidingComplete for slidingComplete).typeQueuedDeclarationDeclares a native module function that runs on the main thread or the module's background thread, returning a value or settling through a callback.typeSchemaA Standard Schema whose output is T.typeScopeOptionsWho owns a resource: the component setting up, by default, which releases
it when it unmounts; { scope: app } for one the app holds for its life.typeViewDeclarationA view's events and methods, as its spec declares them.typetests.ModuleCallA call the app made, with its arguments as the platform decoded them.typetests.ModuleFakeA module's fakes by member name: a function for a function, the value for a live value.typetests.ModuleFakesFakes for the native modules a test's app calls, by module name, so the app runs without a device.Elementos, eventos e estilos 119
type
AccessibilityActionAn action a screen reader offers on a view: a standard name or a custom one listed by label.typeAccessibilityActionEventA screen reader user performed one of the view's actions.typeAccessibilityPropsOne set of accessibility props, on every view and on both platforms:
label, hint, role (ARIA's names), live, actions and ARIA's
aria-* state and value facts (see docs/atypeAnimatableA prop that may also animate: an animation to a value, or a motion value it follows on the UI thread.typeBlurMaterialApple's system materials, from the most see-through to the bars': the
blur and tint a surface is made of.typeBlurPropsProps of Blur: the material it is made of, and the children above it.typeBoundA prop the view also changes itself, as the user types, toggles or
dismisses.typeBoxPropsProps of Box: a container's layout, style and accessibility props.typeBranchChildrenChildren, or a callback receiving the truthy when value.typeBundledImageSourceAn image shipped inside the app, as importing a PNG or JPEG makes it, so an Image shows it with no request.typeButtonPropsA native push button, titled by its children.typeCatchPropsProps of Catch: the children it guards, and what it shows once they throw.typeCirclePropsProps of Circle: its center and radius in user units, and paint.typeClassNamesWhat class takes: names, or a list of them with falsy entries skipped.typeCommonPropsProps every view takes; the native ones come from src/protocol/manifest.ts.typeComponentA function component written by an app.typeContainerPropsThe props every container view accepts, children included, for typing a component that wraps one.typeContentAlignmentCSS's content alignment keywords for justifyContent and alignContent, with their safe and unsafe overflow positions.typeContextMenuEventThe item the user selected, by its value.typeContextMenuItemAn item of the menu: the value the app keeps, and the label the user reads.typeContextMenuPropsProps of ContextMenu: the menu's items and title, and the views it opens on.typeDatePickerPropsProps of DatePicker: the moment picked, what it picks, and its bounds.typeDatePickerTypeWhat the picker picks, as HTML's date and time inputs' type: datetime is datetime-local.typeDividerPropsProps of Divider: every view's props, and none of its own.typeDrawingPropsProps of Drawing: its user space, an imported SVG, and its shapes as children.typeDrawingSourceAn SVG file read into shapes when the app compiles: import icon from './icon.svg?drawing'.typeElementHandleA mounted view as code reaches it through a ref: to focus it, set a native prop directly, or listen for and dispatch events.typeElementRefNative view handles, as exposed to refs and event listeners.typeEllipsePropsProps of Ellipse: its center and radii in user units, and paint.typeFillRuleDecides which parts of a self-intersecting shape a fill covers, as SVG's fill-rule does.typeFocusEventA KuitoEvent of type focus or blur, as TextField passes to onFocus and onBlur.typeForPropsProps of For: the items, the row each renders, and what shows while there are none.typeFragmentPropsProps of Fragment: its children and a key.typeGroupPropsProps of Group: the paint and transform its shapes share, and the shapes.typeHStackPropsProps of HStack: a container's layout, style and accessibility props.typeImageErrorEventA KuitoEvent of type error, with the error payload, that Image passes to onError.typeImageLoadEventThe loaded image's size, in points.typeImagePropsAn image loaded from a URI, with built-in memory and disk caching, request
deduplication, a placeholder color and a fade-in transition.typeImageSourceWhat an Image shows: a URL string, or one of the objects src takes.typeInputModeA keyboard, by HTML's inputmode values.typeKuitoElementWhat a JSX expression evaluates to, before Kuito renders it.typeKuitoEventFields every native event carries.typeKuitoNativeEventThe event an element listener receives, with the DOM's methods to stop its propagation or cancel its default action.typeKuitoNodeA renderable child: elements, text, conditionals, signals, reactive thunks and lists.typeLayoutPropsCSS flexbox and positioning, laid out by a port of Taffy's algorithm on both platforms (see docs/styles.md#layout).typeLengthPercentagePoints, or a percentage of the containing block.typeLengthPercentageAutoA length in points, a percentage of the containing block, or auto.typeLinePropsProps of Line: its two ends in user units, and paint.typeListHandleWhat a List ref holds: its native list, and methods that scroll it to an item too.typeListItemWhat a List's renderItem receives for one row: the item, its position, and whether the row is on screen.typeListPropsProps of List: its items, how a row renders, and a Scroll's other props.typeLoadingPropsProps of Loading: the children, and what it shows while their resources load.typeMatchPropsProps of Match: the condition, and what it shows while it holds.typeMessageCatalogsMessages by key, in catalogs by BCP 47 tag; the first catalog is the fallback.typeMessageValuesThe values a message's arguments take, by name.typeNavigationBarButtonStyleLight buttons for a dark navigation bar, dark buttons for a light one.typePagePropsProps of Page: a Box's.typePagerPropsProps of Pager: the page shown, the user's page changes, and a Scroll's
other props.typePathPropsProps of Path: its path data and paint.typePlatformThe platform an app's bundle is for.typePolygonPropsProps of Polygon: the [x, y] points it closes, and paint.typePolylinePropsProps of Polyline: the [x, y] points it runs through, and paint.typePressablePropsProps of Pressable, a view that reports presses, with feedback that runs
natively on touch-down instead of waiting for JavaScript: opacity, scale
and haptics.typePressEventThe press event a Pressable's onPress receives: it bubbles, can be cancelled, and may carry the touch location.typePressPhaseEventPress-in, press-out and long press from a Pressable.typePrimitiveA built-in element: at runtime the string the renderer dispatches on, typed as a function so TSX checks its props P.typePropA prop's value: the value, or a signal it follows.typeRectanglePropsProps of Rectangle: its box in user units, corner radii and paint.typeRemoteImageSourceAn image an Image fetches by URL, with the request headers it needs.typeRoleARIA's roles, which role takes; each maps to a VoiceOver trait and a TalkBack role.typeSafeAreaEdgeOne screen edge SafeArea can pad: top, right, bottom or left.typeSafeAreaPropsA VStack padded by the part of the screen the system covers (status bar,
notch, home indicator, navigation bar), like react-native-safe-area-context:
only edges that overlap it gettypeScalarA plain value, a string, number, boolean or null; the kind Animatable props carry.typeScrollEndEventWhere a scroll view came to rest, as scroll reports where it is.typeScrollEventScroll position and sizes, in points.typeScrollHandleWhat a Scroll ref holds: its element, and methods that scroll it.typeScrollPropsProps of Scroll.typeScrollToIndexOptionsSays which item a List scrolls to and where in the viewport the item lands.typeSegmentedControlPropsProps of SegmentedControl: a segment per option, and the chosen value.typeSelectOptionAn option, as HTML's <option>: the value the app keeps, and the label the user reads.typeSelectPropsProps of Select: the options, the chosen value, and a placeholder.typeSelfAlignmentCross-axis alignment keywords for alignSelf and alignItems, each also with a safe or unsafe prefix.typeShapePaintHow a shape is painted, as SVG's presentation attributes.typeSheetPropsA native bottom sheet (UISheetPresentationController on iOS, Material's
BottomSheetDialog on Android) presenting its children above the screen.typeShowPropsProps of Show: the condition, and what it shows either way.typeSizeValuewidth, height and flex-basis: also auto and CSS's sizing keywords.typeSliderEventThe value a Slider settled on when the user let go, for saving it once rather than on every move.typeSliderPropsProps of Slider: its value and range, colors, and the events of a drag.typeSnapEventThe snap point a sheet settled at, by index into its snapPoints.typeSnapPointA sheet height: points, a percentage of the screen ('50%'), or 'content' to fit its children.typeSpacerPropsProps of Spacer: every view's props, and none of its own.typeSpinnerPropsProps of Spinner, the native progress indicator.typeSplashPartPropsStyle, transforms and opacity for a part of the splash; plain values, animations or motion values.typeSplashScreenPropsProps of SplashScreen: the whole splash's props, its logo and brand
parts', and onReady.typeStandardAccessibilityActionThe accessibility action names screen readers know: activate, increment, decrement, longpress, magicTap and escape.typeStatusBarContentThe color of the bar's content: the system's choice, or light or dark.typeStatusBarOptionsSystemBars' statusBar part.typeStatusBarTransitionHow the iOS status bar animates as it hides or shows.typeStrokeLinecapHow the ends of an open stroke inside a Drawing look, as SVG's stroke-linecap.typeStrokeLinejoinHow the corners of a stroke inside a Drawing look, as SVG's stroke-linejoin.typeStyleDeclarationsA style's declarations: CSS properties in camelCase, with CSS's values.typeSubmitEventThe text a TextField held when the user pressed its return key.typeSwitchPropsProps of Switch: its Match branches, and what it shows when none matches.typeSymbolNameA symbol name both platforms share, or each platform's own.typeSymbolPropsProps of Symbol, the platform's symbol by name.typeSymbolWeightA symbol's stroke weight, after SF Symbols'.typeSystemBarsPropsProps of SystemBars, and a route's systemBars: what the system chrome
around the app shows while they hold.typeTextChangeEventA change event carrying text, a TextField's text as the user changed it.typeTextContentText content: Text/Button labels never contain elements.typeTextFieldPropsProps of TextField, the native text input.typeTextPropsProps of Text: every view's props, its font props, and the text as children.typeTextSelectionA range of a TextField's text, for reading or setting the caret and what the user selected.typeTogglePropsProps of Toggle, the native on/off switch.typeTouchLocationWhere a touch landed: in the view (location) and on screen (page), in points.typeTruthyT without its falsy members (null, undefined, false, 0, 0n, ''): what a Show or Match branch callback receives.typeValueChangeEventA change event carrying a boolean value, as a Toggle reports being switched on or off.typeViewabilitySays how much of a List's row must be on screen before its visible signal turns true.typeViewableItemAn item entering or leaving the visible rows, with whether it is now visible.typeVStackPropsProps of VStack: a container's layout, style and accessibility props.Movimento e animação 17
type
AnimatablePropsThe names of the props animate can move with a transition rather than set at once.typeAnimatedPropsanimate's values: each change moves as the view's transition says.typeAnimationWhat a builder returns: give it to a prop, a transition or a motion value.typeAnimationCallbackCalled when the animation finishes (true) or is interrupted (false).typeCubicBezierA CSS cubic-bezier curve: x1, y1, x2, y2.typeDecayConfigTunes how a decay() animation coasts to a stop from a velocity, and the range it stays within or rubber-bands past.typeDerivedA value computed from another as it moves.typeEffectWhat enter and exit take.typeExtrapolateHow interpolate treats input outside its range: 'clamp' to the ends, or 'extend' linearly beyond them.typeInterpolateOptionsSays what interpolate() does with input past its last stop: hold the end value, or keep going.typeMotionA value that moves every frame: scroll offsets, gestures, animations.typeRepeatConfigSets how many times repeat() plays an animation and whether every other run goes backwards.typeScrollMotionWhat a Scroll or a List moves as it scrolls, every frame on the UI thread
(docs/motion.md#motion-sources).typeSheetMotionWhat a Sheet moves as it is dragged and snaps, every frame on the UI
thread (docs/motion.md#motion-sources).typeSpringConfigTunes how a spring() animation moves: by its physics, or by a duration and how bouncy it is.typeTimingConfigTunes a timing() animation's duration, easing and delay.typeTransitionHow props move, by group; a CSS transition compiles to the same.Gestos 29
type
CallbacksCallbacks for what needs JavaScript; the compiler places each one.typeComposableAnything a view's gestures prop and the gesture composers accept: one gesture, or gestures already composed.typeComposedGestureSeveral gestures on one view combined so they race, recognize together, or wait for one another to fail.typeFlingDirectionWhere a fling may go: 'left', 'right', 'up' or 'down'.typeFlingEventWhere a fling started, in the view and on screen, for reacting to the swipe that triggered it.typeFlingOptionsSets the directions a fling() gesture answers to, and the callbacks that run when it is recognized.typeGestureA gesture's data; the kernel reads it, apps compose and attach it.typeGestureEventWhat every gesture event carries.typeGesturePropsWhat a view's gestures prop takes.typeGestureSourceA value a gesture moves, which a motion value follows: drag.x.typeHitAreaGrows or shrinks the area that takes a gesture's touches beyond the view's bounds, so a small target stays easy to hit.typeLongPressEventWhere a long press happened and how long it was held.typeLongPressOptionsSets how long a longPress() gesture must be held and how far the finger may wander, and its callbacks.typePanChangeEventA pan's move, with how far the finger went since the last one.typePanEventWhere a pan is, how far it has moved and how fast, as it starts and ends.typePanGestureThe gesture pan() makes, with x and y translation sources that motion values follow.typePanOptionsRestricts a pan() gesture to one axis or a distance before it starts, and sets its callbacks.typePinchChangeEventA pinch's move, with how much the scale changed since the last one.typePinchEventHow far a pinch has scaled and around which point, as it starts and ends.typePinchGestureThe gesture pinch() makes, with a scale source multiplying what the follower was when it activated.typePinchOptionsSets a pinch() gesture's callbacks, and when and where it takes touches.typeRotateGestureThe gesture rotate() makes, with a rotation source in degrees added to where the follower was.typeRotateOptionsSets a rotate() gesture's callbacks, and when and where it takes touches.typeRotationChangeEventA rotation's move, with how many degrees it turned since the last one.typeRotationEventHow far a two-finger rotation has turned and around which point, as it starts and ends.typeTapEventWhere a tap landed, in the view and on screen.typeTapOptionsSets how many taps in a row a tap() gesture needs and how quick and still they must be, and its callbacks.typeTouchesGestureA touches() gesture, a pan from the first touch, whose x and y are where the finger is in the view.typeTouchesOptionsSets a touches() gesture's callbacks, and when and where it takes touches.Estado e dados assíncronos 8
type
InheritedA value a component provides to its descendants, read with inherit()
wherever they are below it.typeReadonlySignalA signal of a value nobody writes directly: a computed, or state the platform owns.typeResourceData a component loads when it mounts, read through signals, and loaded again on refresh().typeSignalA value that changes: JSX that reads .value follows it, and a write changes it.typeTaskAn async operation an app starts on demand, whose progress, result and error components read as signals.typeTaskContextWhat a task's or resource's work receives first: the signal that aborts it when it is cancelled or replaced.typeTaskOptionsSays what a task does when it is run again while a run is in flight: replace it, or reuse it.typeTaskWorkThe function a task runs.Testar e depurar 22
type
tests.CostWhat an interaction cost: each counter's growth while it ran.typetests.CostBudgetThe most of each counter an interaction may cost; a counter left out is not limited.typetests.CostCounterThe name of one cost counter, for reading or budgeting a single measure of an interaction's work.typetests.EdgesInsets on each edge of the test's screen, in points, such as what the status bar and home indicator cover.typetests.FetchAnswerThe handler's answer; a 200 with no body by default.typetests.FetchHandlerAnswers the app's requests.typetests.FetchRequestA request the app's fetch sent, as the test's handler receives it.typetests.KeyEditOne edit of a list's keys (docs/lists.md#keys).typetests.LogEntryA log line the app or the runtime wrote.typetests.MutationOne view mutation, as native/shared/Mutation.h has it; views by number, 0 the root.typetests.PressOptionsMakes press hold past the long-press delay, to test onLongPress.typetests.PropValueA prop's value, typed by its manifest kind as native/shared/Mutation.h's Value.typetests.QueriesFinds views as a user finds them, by their text or their role and accessible name.typetests.RectA view's frame in points, for asserting where layout put it.typetests.RenderedAppThe app a render put on the headless screen.typetests.RenderOptionsWhat each render configures: the platform the app sees until the next one.typetests.ReplayedThe tree a replay left beside the one the device recorded, for comparing them in a golden test.typetests.ReplayOptionsDescribes the device a recording came from, its fonts and its window, so a replay lays out as it did.typetests.RoleOptionsNarrows a role query to the view with this accessible name.typetests.ScreenThe window the app runs in, in points: an iPhone 18 Pro's by default.typetests.ScrollOffsetWhere scroll moves a Scroll or a list to, in points along each axis.typetests.TextMatchThe text a query looks for: an exact string, or a pattern.