Frameworks
@aparte/core is vanilla web components, so it already works in any framework. The framework
packages add ergonomics on top — you don’t have to hand-wire refs, events and lifecycle yourself.
Each wrapper ships two layers:
- An opinionated component — e.g. React’s
<AparteChat>: the full chat surface (viewport + composer + slots) as one idiomatic component, plus hooks/stores/services for state and the client. - A generic escape hatch — e.g. React’s
<AparteUi name="aparte-…" />: mounts any<aparte-*>custom element as a framework component (props + events forwarded), so you’re never boxed in by the opinionated component.
The wrappers depend only on @aparte/core — never on a specific provider. You register a
provider (or none) in the config; the wrapper streams whatever’s configured. See
Providers for the model side.