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