Overview
Widget system for rendering native Swift UI
Eney widgets provide a JSX-based interface for building native UI. You write standard React components using the widget library — the JSX renders into a JSON tree that the native Swift app interprets and displays as fully native UI elements.
Your code never touches UIKit or SwiftUI directly. The runtime serializes your component tree into JSON messages, and Eney handles the native rendering for you.
JSX Component → JSON tree → Native Swift UIThe following image shows a password generator widget built using native Eney components:

Import
All widgets are exported from @eney/api:
import {
Form,
Paper,
Action,
ActionPanel,
Files,
CardHeader,
setupTool,
} from "@eney/api";Available Widgets
Paper
Display markdown content with optional scrolling and actions.
Form
Container for interactive form fields with header and actions.
Actions
Buttons for submission, clipboard, Finder, and finalization.
ActionPanel
Layout container for grouping action buttons.
CardHeader
Header with title and icon for forms.
Files
Display a list of file paths.