|
il y a 10 mois | |
---|---|---|
.. | ||
PWA-example | il y a 11 mois | |
assets | il y a 11 mois | |
mobile_demo | il y a 1 an | |
openid_connect_demo | il y a 11 mois | |
tailwind | il y a 11 mois | |
README.md | il y a 1 an | |
all_events.rs | il y a 11 mois | |
backgrounded_futures.rs | il y a 1 an | |
calculator.rs | il y a 11 mois | |
calculator_mutable.rs | il y a 11 mois | |
clock.rs | il y a 11 mois | |
control_focus.rs | il y a 11 mois | |
counters.rs | il y a 11 mois | |
crm.rs | il y a 11 mois | |
custom_assets.rs | il y a 11 mois | |
custom_html.rs | il y a 1 an | |
custom_menu.rs | il y a 1 an | |
disabled.rs | il y a 1 an | |
dog_app.rs | il y a 11 mois | |
dynamic_asset.rs | il y a 11 mois | |
errors.rs | il y a 1 an | |
eval.rs | il y a 1 an | |
file_explorer.rs | il y a 11 mois | |
file_upload.rs | il y a 10 mois | |
flat_router.rs | il y a 11 mois | |
form.rs | il y a 11 mois | |
future.rs | il y a 11 mois | |
generic_component.rs | il y a 1 an | |
global.rs | il y a 10 mois | |
hash_fragment_state.rs | il y a 1 an | |
hello_world.rs | il y a 1 an | |
hydration.rs | il y a 1 an | |
image_generator_openai.rs | il y a 11 mois | |
link.rs | il y a 10 mois | |
login_form.rs | il y a 1 an | |
memo_chain.rs | il y a 1 an | |
meta.rs | il y a 11 mois | |
multiwindow.rs | il y a 11 mois | |
nested_listeners.rs | il y a 1 an | |
optional_props.rs | il y a 11 mois | |
overlay.rs | il y a 11 mois | |
popup.rs | il y a 1 an | |
query_segment_search.rs | il y a 1 an | |
read_size.rs | il y a 11 mois | |
readme.rs | il y a 1 an | |
reducer.rs | il y a 11 mois | |
resize.rs | il y a 10 mois | |
router.rs | il y a 11 mois | |
router_resource.rs | il y a 1 an | |
rsx_usage.rs | il y a 11 mois | |
scroll_to_top.rs | il y a 1 an | |
shortcut.rs | il y a 1 an | |
shorthand.rs | il y a 1 an | |
signals.rs | il y a 11 mois | |
simple_list.rs | il y a 1 an | |
simple_router.rs | il y a 1 an | |
spread.rs | il y a 1 an | |
ssr.rs | il y a 1 an | |
streams.rs | il y a 1 an | |
suspense.rs | il y a 1 an | |
svg.rs | il y a 10 mois | |
title.rs | il y a 11 mois | |
todomvc.rs | il y a 10 mois | |
video_stream.rs | il y a 1 an | |
weather_app.rs | il y a 11 mois | |
web_component.rs | il y a 11 mois | |
window_event.rs | il y a 11 mois | |
window_focus.rs | il y a 1 an | |
window_zoom.rs | il y a 11 mois | |
xss_safety.rs | il y a 1 an |
These examples are fully-fledged mini Dioxus apps.
You can run them with cargo run --example EXAMPLE_NAME
. Example:
cargo run --example hello_world
(Most of these examples are run through webview, so you don't need the Dioxus CLI installed)
hello_world - Most basic example
readme - Counter example from the Readme
custom_assets - Include images
custom_html - Customize wrapper HTML
eval - Evaluate JS expressions
rsx_usage - Demo of all RSX features
xss_safety - You can include text without worrying about injections by default
optional_props - Optional props
tailwind - You can use a library for styling
all_events - Basic event handling demo
file upload - Handle uploading files
form - Handle form submission
inputs - Input values
nested_listeners - Nested handlers and bubbling
textarea - Text area input
login_form - Login endpoint example
suspense - Render placeholders while data is loading
tasks - Continuously run future
ssr - Rendering RSX server-side
hydration - Pre-rendering with hydration
disabled - Disable buttons conditionally
errors - Handle errors with early return
flat_router - Basic, flat route example
router - Router example
link - Internal, external and custom links
window_event - Window decorations, fullscreen, minimization, etc.
window_zoom – Zoom in or out
calculator - Simple calculator
crm - Toy multi-page customer management app
dog_app - Accesses dog API
file_explorer - File browser that uses use_ref
to interact with the model
todomvc - Todo task list example
Missing Features
Missing examples