Components

FicusJS provides functions for creating fast, lightweight web components.

Components created with FicusJS are native custom elements
created in a functional and declarative way.

createCustomElement function

The createCustomElement function creates a lightweight custom element. The following features are provided:

createComponent function

The createComponent function creates a lightweight web component using the createCustomElement function and extending it with the withLocalState function to provide local state.