|
hai 10 meses | |
---|---|---|
.. | ||
PWA-example | hai 11 meses | |
assets | hai 11 meses | |
mobile_demo | hai 1 ano | |
openid_connect_demo | hai 11 meses | |
tailwind | hai 11 meses | |
README.md | hai 1 ano | |
all_events.rs | hai 11 meses | |
backgrounded_futures.rs | hai 1 ano | |
calculator.rs | hai 11 meses | |
calculator_mutable.rs | hai 11 meses | |
clock.rs | hai 11 meses | |
control_focus.rs | hai 11 meses | |
counters.rs | hai 11 meses | |
crm.rs | hai 11 meses | |
custom_assets.rs | hai 11 meses | |
custom_html.rs | hai 1 ano | |
custom_menu.rs | hai 1 ano | |
disabled.rs | hai 1 ano | |
dog_app.rs | hai 11 meses | |
dynamic_asset.rs | hai 11 meses | |
errors.rs | hai 1 ano | |
eval.rs | hai 1 ano | |
file_explorer.rs | hai 11 meses | |
file_upload.rs | hai 10 meses | |
flat_router.rs | hai 11 meses | |
form.rs | hai 11 meses | |
future.rs | hai 11 meses | |
generic_component.rs | hai 1 ano | |
global.rs | hai 10 meses | |
hash_fragment_state.rs | hai 1 ano | |
hello_world.rs | hai 1 ano | |
hydration.rs | hai 1 ano | |
image_generator_openai.rs | hai 11 meses | |
link.rs | hai 10 meses | |
login_form.rs | hai 1 ano | |
memo_chain.rs | hai 1 ano | |
meta.rs | hai 11 meses | |
multiwindow.rs | hai 11 meses | |
nested_listeners.rs | hai 1 ano | |
optional_props.rs | hai 11 meses | |
overlay.rs | hai 11 meses | |
popup.rs | hai 1 ano | |
query_segment_search.rs | hai 1 ano | |
read_size.rs | hai 11 meses | |
readme.rs | hai 1 ano | |
reducer.rs | hai 11 meses | |
resize.rs | hai 10 meses | |
router.rs | hai 11 meses | |
router_resource.rs | hai 1 ano | |
rsx_usage.rs | hai 11 meses | |
scroll_to_top.rs | hai 1 ano | |
shortcut.rs | hai 1 ano | |
shorthand.rs | hai 1 ano | |
signals.rs | hai 11 meses | |
simple_list.rs | hai 1 ano | |
simple_router.rs | hai 1 ano | |
spread.rs | hai 1 ano | |
ssr.rs | hai 1 ano | |
streams.rs | hai 1 ano | |
suspense.rs | hai 1 ano | |
svg.rs | hai 10 meses | |
title.rs | hai 11 meses | |
todomvc.rs | hai 10 meses | |
video_stream.rs | hai 1 ano | |
weather_app.rs | hai 11 meses | |
web_component.rs | hai 11 meses | |
window_event.rs | hai 11 meses | |
window_focus.rs | hai 1 ano | |
window_zoom.rs | hai 11 meses | |
xss_safety.rs | hai 1 ano |
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