The shared UI component library of the FerroHEALTH consoles: FerroBRIDGE,
FerroFED, FerroEHR and FerroTERM. It is published on crates.io as
ferrohealth-ui, for Leptos 0.8.
crates/ferrohealth-ui: the library. Static view functions, a few interactive widgets, one table model, highlighters for YAML, JSON, XML and AQL, Lucide icons, and one plain-CSS stylesheet with a theme file per product. The crate README is the integration guide.app/ferrohealth-ui-gallery: the gallery, which shows every component in every product theme, light and dark, with browser journeys and the screenshots underdocs/screenshots/. It is never published.
[dependencies]
ferrohealth-ui = "=0.1.7"Serve ferrohealth_ui::style::STYLESHEET and your brand's Brand::theme()
as two stylesheets of your own origin, and write data-theme on <html>.
The crate README has the details.
Every component targets WCAG 2.2 Level AA in the light and dark theme of every brand. The crate's contrast test checks every role pairing, and a gallery journey checks the colours the browser paints.
cd app/ferrohealth-ui-gallery
cargo leptos watch
Then open http://127.0.0.1:3000.
See CONTRIBUTING.md, SECURITY.md and SUPPORT.md.
Business Source License 1.1, Licensor Cadasto B.V., converting to Apache 2.0
four years after each version. See LICENSE and
NOTICE. The vendored Lucide icons keep their ISC licence.
