Skip to main content

Crate fc_dioxus

Crate fc_dioxus 

Source
Expand description

Typed components over the pinned future-css stylesheets.

use fc_dioxus::prelude::*;
fn app() -> Element {
    rsx! { FutureCss { Divider { inset: DividerInset::Middle } } }
}

Re-exports§

pub use fc_tokens as tokens;

Modules§

behavior
Keyboard and focus behaviour shared by several components. Pure decisions are plain functions with unit tests; the hooks around them only read and write signals.
components
Components implemented against the pinned upstream CSS and fixtures.
core
Shared typed contracts, classes, state, and host access.
models
Pure Rust models from the same upstream revision as the stylesheets.
prelude
The supported API for applications using use fc_dioxus::prelude::*.
testing
SSR and static accessibility helpers for application tests.
theme
Root theme, stylesheet policy, and deterministic context.

Macros§

fc_modifier
Declare a modifier vocabulary once, including parsing and coverage enumeration.
name
An AccessibleName from a string literal, checked when the program compiles.
spread
A Spread from attributes, as vec! makes a Vec.