Flare

API

Flare is offered in two packages. Both provide the same support for building applicative-style user interfaces as shown on the Examples page; however, they differ in how these UIs are rendered. flare offers a more narrowly-focused API surface, while flare-core provides greater flexibility.

flare

This package re-exports a subset of flare-core and is the best choice for use cases with minimal customization requirements. The runFlare or runFlareWith procedures can be used to render the UI. CSS is the recommended approach to customizing the appearance of various UI elements.

flare-core

The flare-core package provides applicative UI building blocks along with additional APIs that allow the rendered markup to be customized. The RunFlare React component can be used to render the UI, with its components prop allowing various elements to be overridden using custom React components.

Flare

Applicative-style UIs in TypeScript

Get started
npm install flare
yarn add flare

Flare