Skip to content

Await

The generated section below is sourced from runtime/types/await.d.ts.

Generated Component Signatures

VStack

ts
export function VStack(
		props: VStackValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

HStack

ts
export function HStack(
		props: HStackValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

ZStack

ts
export function ZStack(
		props: ZStackValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Opens a custom-scheme URL or universal link through the Await app when tapped.

ts
export function Link(
		props: LinkValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Button

When tapped, runs an intent or opens a universal link directly without going through the Await app.

ts
export function Button(
		props: ButtonValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Color

Displays a solid color and expands to fill the available space.

ts
export function Color(
		props: ColorValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Text

Displays text and can contain nested Text or Image views.

ts
export function Text(
		props: TextValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Time

Displays an automatically updating clock or countdown.

ts
export function Time(
		props: TimeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

ProgressView

ts
export function ProgressView(
		props: ProgressViewValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Gauge

ts
export function Gauge(
		props: GaugeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Image

Displays an image from a local or remote path, or renders child views as an image. Avoid large or complex child content due to system limits.

ts
export function Image(
		props: ImageValue &
			ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Icon

Displays a system SF Symbol.

ts
export function Icon(
		props: IconValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Svg

Displays an SVG from a local or remote path, or from raw SVG markup.

ts
export function Svg(
		props: SvgValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

RoundedRectangle

Draws a rounded rectangle that expands to fill the available space.

ts
export function RoundedRectangle(
		props: RoundedRectangleValue &
			ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

UnevenRoundedRectangle

Draws a rounded rectangle with independently configurable corners that expands to fill the available space.

ts
export function UnevenRoundedRectangle(
		props: UnevenRoundedRectangleValue &
			ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Rectangle

Draws a rectangle that expands to fill the available space.

ts
export function Rectangle(
		props: ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Sector

Draws a circular sector that expands to fill the available space.

ts
export function Sector(
		props: SectorValue &
			ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Ellipse

Draws an ellipse that expands to fill the available space.

ts
export function Ellipse(
		props: ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Circle

Draws a circle that expands to fill the available space.

ts
export function Circle(
		props: ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Polygon

Draws a polygon that expands to fill the available space.

ts
export function Polygon(
		props: PolygonValue &
			ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Diamond

Draws a diamond that expands to fill the available space.

ts
export function Diamond(
		props: ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Capsule

Draws a capsule that expands to fill the available space.

ts
export function Capsule(
		props: CapsuleValue &
			ShapeValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Spacer

Adds flexible space within an HStack or VStack, expanding to fill the available space.

ts
export function Spacer(
		props: SpacerValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Group

ts
export function Group(
		props: ID &
			Mods & {
				children?: NativeView;
			},
	): NativeView;

Modifier

Creates a modifier for use in a CustomButtonStyle.

ts
export function Modifier(
		props: ID &
			Mods & {
				children?: never;
			},
	): NativeView;

EmptyView

ts
export function EmptyView(
		props: ID &
			Mods & {
				children?: never;
			},
	): NativeView;

FullButton

Creates a transparent button that expands to fill the available space.

ts
export function FullButton(
		props: ButtonValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Stamp

Displays a random number for debugging.

ts
export function Stamp(
		props: ID &
			Mods & {
				children?: never;
			},
	): NativeView;

VFlip

Creates a vertical page-flip effect.

ts
export function VFlip(
		props: FlipValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

HFlip

Creates a horizontal page-flip effect.

ts
export function HFlip(
		props: FlipValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

XFlip

Creates a flip transition around the x-axis.

ts
export function XFlip(
		props: AxisFlipValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

YFlip

Creates a flip transition around the y-axis.

ts
export function YFlip(
		props: AxisFlipValue &
			ID &
			Mods & {
				children?: never;
			},
	): NativeView;

Gif

Creates a GIF-like animation with limited system support. Only specific durations are available, transparency is not supported directly, and frame dimensions and count should remain small.

ts
export function Gif(
		props: GifValue &
			ID &
			Mods & {
				children: NativeView[];
			},
	): NativeView;

Ticker

Cycles through a sequence of views based on the selected time unit, enabling effects such as a ticking second hand. Available on iOS 26 and later.

ts
export function Ticker(
		props: TickerValue &
			ID &
			Mods & {
				children: NativeView[];
			},
	): NativeView;