Custom UI Components
Learn how to create custom UI components for Elsa Studio, including custom property editors for activity inputs and integration of React/Angular components via web components.
Overview
What You Can Customize
How Studio Renders Activity Editors
Default Property Editors
Data Type
Default Editor
Description
UI Hints: Requesting Custom Editors
Creating Custom Property Editors
Architecture: Backend + Frontend
Example: Custom Email Input Editor
Backend: Activity with UI Hint
Backend: UI Hint Handler (Optional)
Frontend: Custom Web Component
Frontend: Register the Component
Frontend: Include in Studio Build
Integrating React Components
Step 1: Create React Component
Step 2: Wrap in Web Component
Step 3: Register with Studio
Integrating Angular Components
Step 1: Create Angular Component
Step 2: Convert to Web Component
Property Editor Interface
Best Practices
1. Handle Expression Mode
2. Emit Value Changes
3. Validate Input
4. Responsive Design
5. Accessibility
Debugging Custom Editors
Browser DevTools
Studio Debug Mode
Placeholder for Screenshots
Further Reading
Summary
Last updated