Skip to main content

Module components

Module components 

Source
Expand description

Model-independent control behavior.

Use number to normalize localized input before submitting an edit. Styled controls install their embedded CSS through the renderer’s Dioxus Document context. Missing context reports a delivery failure on the platform diagnostic channel; the library does not assume an alternate stylesheet.

Re-exports§

pub use button::Button;
pub use button::Button;
pub use button::ButtonProps;
pub use button::ButtonSize;
pub use button::ButtonVariant;
pub use card::Card;
pub use card::Card;
pub use card::CardAction;
pub use card::CardAction;
pub use card::CardContent;
pub use card::CardContent;
pub use card::CardDescription;
pub use card::CardDescription;
pub use card::CardFooter;
pub use card::CardFooter;
pub use card::CardHeader;
pub use card::CardHeader;
pub use card::CardTitle;
pub use card::CardTitle;
pub use checkbox::Checkbox;
pub use input::Input;
pub use input::Input;
pub use input::InputProps;
pub use label::Label;
pub use separator::Separator;
pub use slider::RangeSlider;
pub use slider::Slider;
pub use switch::Switch;
pub use theme::Theme;
pub use theme::Theme;

Modules§

button
Official styled button controls.
card
Groups related content into a bordered card surface.
checkbox
Official accessible checkbox.
input
Official native text input.
label
Official accessible labels.
number
Locale-aware numeric editing without model or widget dependencies.
separator
Official semantic separator.
slider
Official accessible sliders.
switch
Official accessible switch.

Structs§

NumericEditorProps
Supplies controlled canonical values and model-independent numeric callbacks.

Enums§

CheckboxState
Provides the checked state accepted by Checkbox.

Constants§

CONTROL_CSS
Contains the official styles transformed with public CSS-module exports.

Functions§

NumericEditor
Renders an exact, localized controlled numeric editor.
NumericSlider
Composes the official slider with the exact editor and shared canonical callbacks.
Theme
Installs reusable component tokens and wraps children in a theme scope.
style_delivery_script
Returns an idempotent document-owned stylesheet installation script.