rivetkit-client-swiftui

Configure RivetKitSwiftUI endpoints and @Actor wrappers in SwiftUI apps.

18|7|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/rivet-dev/skills --skill rivetkit-client-swiftui
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rivetkit-client-swiftui
Source: https://github.com/rivet-dev/skills/tree/main/rivetkit-client-swiftui
Command: npx skills add https://github.com/rivet-dev/skills --skill rivetkit-client-swiftui

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Solves the integration of RivetKitSwiftUI with Rivet Actors in SwiftUI apps.

Core Features & Use Cases

  • Developer guidance for configuring endpoints, using the @Actor wrapper, actions, events, and rivetKit modifiers across SwiftUI screens.
  • Use Case: Build a sample app that shows a counter actor updating UI via events and actions.

Quick Start

Install RivetKitSwiftUI as a dependency, configure the root view with .rivetKit(endpoint: "..."), and define an @Actor to drive UI interactions.

Frequently Asked Questions about rivetkit-client-swiftui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate RivetKit actors in a SwiftUI app?

RivetKit actors integrate in SwiftUI apps by installing the RivetKitSwiftUI dependency, configuring the root view with the .rivetKit(endpoint:) modifier, and using the @Actor wrapper to drive UI interactions.

What is the best way to configure RivetKit endpoints for SwiftUI views?

Configuring RivetKit endpoints for SwiftUI views requires applying the standard .rivetKit(endpoint: "...") modifier to your root view, establishing the connection for subsequent actor actions and events.

Can I use @Actor wrappers to update SwiftUI UI via RivetKit events and actions?

Yes, you can use the @Actor wrapper in SwiftUI to receive Rivet actor events and trigger actions, enabling real-time UI updates such as displaying a counter actor's state changes.

Do I need Swift Package Manager to add RivetKitSwiftUI to my iOS project?

Yes, adding RivetKitSwiftUI to your iOS project requires Swift Package Manager dependencies, which pulls in the necessary modules for standard SwiftUI patterns and immediate prototyping.

How do rivetKit modifiers work across common SwiftUI screens?

RivetKit modifiers attach to SwiftUI views to configure endpoint connections, allowing screens to uniformly access actor actions and events for interactive UI state management.