Crate savory_elements[][src]

UI Elements built using Savory

Elements in this crate are built using savory ecosystem crates.

Features

  • Design System: Elements are fully styled using DesignSystem.
  • Reusability: Elements are highly reusable/composable.
  • Decoupled Developemnt: Design Systems can be developed in seprate crate without even touching elements code, and the same for elements developemnt, the are developed sepratedly from the design system, thanks to DesignSystemImpl trait.
  • Clean View: build your view in a clean and declarative way, no more macros at all.
  • Trait Based: embrace Rust trait system, all savory elements implments Element and/or View trait.
  • Typed HTML: Use typed CSS and HTML attributes, Savory try hard not to rely on strings when creating CSS and HTML attributes since these can produce hard to debug bugs.
  • Collection of UI elements: Savory ships with collection of resuable and themeable UI elements.
  • Enhance Seed API: Enhancement on Seed API that makes working with Node, Orders fun.

Savory tries to make writing UI elements fun and boilerplate free.

Layouts

Elements & Views

Re-exports

pub use self::prelude::*;

Modules

design_system

Traits and types used to generate elements/views styles.

element

Reusable elements

id
layout
prelude

savory_elements prelude

traits

Helper traits, used internally.

view

Reusable views