Raxol.UI (Raxol v2.0.1)
View SourceUnified UI framework adapter for Raxol.
Provides a consistent interface across different UI paradigms:
- React-style components
- Svelte-style reactive components
- Phoenix LiveView components
- HEEx templates
- Raw terminal buffer operations
Usage
# Choose your preferred framework
use Raxol.UI, framework: :react
use Raxol.UI, framework: :svelte
use Raxol.UI, framework: :liveview
use Raxol.UI, framework: :heex
use Raxol.UI, framework: :rawUniversal Features
Regardless of framework choice, you get:
- Actions system (use: directive)
- Transitions and animations
- Context API
- Slot system
- Theme support
Summary
Functions
Convert between different UI frameworks at runtime.
Create a new UI component with the specified framework.