|
2 dienas atpakaļ | |
---|---|---|
.. | ||
assets | 3 nedēļas atpakaļ | |
fullstack-auth | 6 dienas atpakaļ | |
fullstack-desktop | 6 dienas atpakaļ | |
fullstack-hello-world | 6 dienas atpakaļ | |
fullstack-router | 6 dienas atpakaļ | |
fullstack-streaming | 6 dienas atpakaļ | |
fullstack-websockets | 6 dienas atpakaļ | |
pwa | 5 mēneši atpakaļ | |
tailwind | 4 nedēļas atpakaļ | |
wgpu-texture | 1 nedēļu atpakaļ | |
README.md | 2 dienas atpakaļ | |
all_events.rs | 1 mēnesi atpakaļ | |
backgrounded_futures.rs | 8 mēneši atpakaļ | |
calculator.rs | 8 mēneši atpakaļ | |
calculator_mutable.rs | 7 mēneši atpakaļ | |
clock.rs | 6 mēneši atpakaļ | |
context_api.rs | 4 mēneši atpakaļ | |
control_focus.rs | 8 mēneši atpakaļ | |
counters.rs | 8 mēneši atpakaļ | |
crm.rs | 7 mēneši atpakaļ | |
custom_assets.rs | 8 mēneši atpakaļ | |
custom_html.rs | 8 mēneši atpakaļ | |
custom_menu.rs | 8 mēneši atpakaļ | |
disabled.rs | 8 mēneši atpakaļ | |
dog_app.rs | 7 mēneši atpakaļ | |
dynamic_asset.rs | 8 mēneši atpakaļ | |
errors.rs | 8 mēneši atpakaļ | |
eval.rs | 8 mēneši atpakaļ | |
file_upload.rs | 8 mēneši atpakaļ | |
flat_router.rs | 8 mēneši atpakaļ | |
form.rs | 8 mēneši atpakaļ | |
future.rs | 2 dienas atpakaļ | |
generic_component.rs | 8 mēneši atpakaļ | |
global.rs | 8 mēneši atpakaļ | |
hash_fragment_state.rs | 8 mēneši atpakaļ | |
hello_world.rs | 8 mēneši atpakaļ | |
hydration.rs | 8 mēneši atpakaļ | |
image_generator_openai.rs | 8 mēneši atpakaļ | |
link.rs | 8 mēneši atpakaļ | |
logging.rs | 2 mēneši atpakaļ | |
login_form.rs | 2 mēneši atpakaļ | |
memo_chain.rs | 8 mēneši atpakaļ | |
meta.rs | 7 mēneši atpakaļ | |
multiwindow.rs | 5 mēneši atpakaļ | |
nested_listeners.rs | 8 mēneši atpakaļ | |
optional_props.rs | 8 mēneši atpakaļ | |
overlay.rs | 2 mēneši atpakaļ | |
popup.rs | 8 mēneši atpakaļ | |
query_segment_search.rs | 8 mēneši atpakaļ | |
read_size.rs | 7 mēneši atpakaļ | |
readme.rs | 8 mēneši atpakaļ | |
reducer.rs | 8 mēneši atpakaļ | |
resize.rs | 7 mēneši atpakaļ | |
router.rs | 1 mēnesi atpakaļ | |
router_resource.rs | 8 mēneši atpakaļ | |
router_restore_scroll.rs | 1 mēnesi atpakaļ | |
rsx_usage.rs | 8 mēneši atpakaļ | |
scroll_to_offset.rs | 1 mēnesi atpakaļ | |
scroll_to_top.rs | 4 mēneši atpakaļ | |
shortcut.rs | 2 mēneši atpakaļ | |
shorthand.rs | 8 mēneši atpakaļ | |
signals.rs | 8 mēneši atpakaļ | |
simple_list.rs | 8 mēneši atpakaļ | |
simple_router.rs | 8 mēneši atpakaļ | |
spread.rs | 8 mēneši atpakaļ | |
ssr.rs | 1 gadu atpakaļ | |
streams.rs | 8 mēneši atpakaļ | |
suspense.rs | 8 mēneši atpakaļ | |
svg.rs | 8 mēneši atpakaļ | |
title.rs | 8 mēneši atpakaļ | |
todomvc.rs | 8 mēneši atpakaļ | |
video_stream.rs | 8 mēneši atpakaļ | |
visible.rs | 6 mēneši atpakaļ | |
weather_app.rs | 8 mēneši atpakaļ | |
web_component.rs | 8 mēneši atpakaļ | |
wgpu_child_window.rs | 2 mēneši atpakaļ | |
window_event.rs | 8 mēneši atpakaļ | |
window_focus.rs | 8 mēneši atpakaļ | |
window_zoom.rs | 8 mēneši atpakaļ | |
xss_safety.rs | 8 mēneši atpakaļ |
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
nested_listeners - Nested handlers and bubbling
context_api - Cross-component state sharing via Context API
counters - Mapping a Signal<Vec<T>>
into UI elements
futures - Handle async Rust with use_future, use_effect, and async event handlers
login_form - Login endpoint example
suspense - Render placeholders while data is loading
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
popup - Create a popup window and send data back to the main window
calculator - Simple calculator
crm - Toy multi-page customer management app
dog_app - Accesses dog API
todomvc - Todo task list example