Steve Schoettler a1107de0c0 Update axum and many dependencies (#3825) 2 ay önce
..
assets 12c6938346 feat: inline dioxus-native from blitz (#3675) 2 ay önce
fullstack-auth a1107de0c0 Update axum and many dependencies (#3825) 2 ay önce
fullstack-desktop a1107de0c0 Update axum and many dependencies (#3825) 2 ay önce
fullstack-hello-world a1107de0c0 Update axum and many dependencies (#3825) 2 ay önce
fullstack-router a1107de0c0 Update axum and many dependencies (#3825) 2 ay önce
fullstack-streaming 5ea0867a34 Fix the test_stream function running after the stream is closed (#3396) 5 ay önce
pwa 4c8e8567cf Fix the pwa example (#3664) 5 ay önce
tailwind 66a50240bc Update all docs links to 0.6, release 0.6 (#3225) 6 ay önce
README.md 68ca4c3289 feat(examples): add Context API state management example (#3657) 4 ay önce
all_events.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
backgrounded_futures.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
calculator.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
calculator_mutable.rs ba4389567d Deprecate relative asset paths, better warnings for asset!() (#3214) 7 ay önce
clock.rs 79a2f023e7 Add the `onvisible` event handler to `Element` (#2911) 6 ay önce
context_api.rs 68ca4c3289 feat(examples): add Context API state management example (#3657) 4 ay önce
control_focus.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
counters.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
crm.rs ba4389567d Deprecate relative asset paths, better warnings for asset!() (#3214) 7 ay önce
custom_assets.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
custom_html.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
custom_menu.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
disabled.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
dog_app.rs ac3e33af46 cli json output, dx bundle fix, `dx serve --platform android`, race condition, drop ssg platform (#3186) 7 ay önce
dynamic_asset.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
errors.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
eval.rs 519ec9d294 Move the document trait into a separate crate (#3035) 8 ay önce
file_upload.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
flat_router.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
form.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
future.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
generic_component.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
global.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
hash_fragment_state.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
hello_world.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
hydration.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
image_generator_openai.rs 519ec9d294 Move the document trait into a separate crate (#3035) 8 ay önce
link.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
logging.rs b6243d32a3 feat: Add logger to logger example (#3846) 2 ay önce
login_form.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
memo_chain.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
meta.rs 281087469a Move the history provider into the context (#3048) 7 ay önce
multiwindow.rs 25a64d97c0 Fixed the multiple window closing issue, where the two multiwindow examples weren't working. (#3499) 5 ay önce
nested_listeners.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
optional_props.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
overlay.rs 3da821d184 Provide `HotkeyState` on Global Shortcut Events (#3822) 2 ay önce
popup.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
query_segment_search.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
read_size.rs ba4389567d Deprecate relative asset paths, better warnings for asset!() (#3214) 7 ay önce
readme.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
reducer.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
resize.rs ba4389567d Deprecate relative asset paths, better warnings for asset!() (#3214) 7 ay önce
router.rs 9dc567255a Fix fullstack axum integration docs (#3263) 6 ay önce
router_resource.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
rsx_usage.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
scroll_to_top.rs c13fb06bfa fix(interpreter): missing scrollTo boolean return value (#3734) 4 ay önce
shortcut.rs 3da821d184 Provide `HotkeyState` on Global Shortcut Events (#3822) 2 ay önce
shorthand.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
signals.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
simple_list.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
simple_router.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
spread.rs 95976d9a17 Extend head components with global attributes (#2888) 8 ay önce
ssr.rs cfc119cce2 Update more examples, add css for more examples 1 yıl önce
streams.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
suspense.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
svg.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
title.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
todomvc-native.rs 12c6938346 feat: inline dioxus-native from blitz (#3675) 2 ay önce
todomvc.rs 7ec3453ca3 Fix bundling/path errors, sidecar support, iOS/Android simulator support, asset hotreload fixes, serverfn hotrelad, native tailwind support (#2779) 8 ay önce
video_stream.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
visible.rs 79a2f023e7 Add the `onvisible` event handler to `Element` (#2911) 6 ay önce
weather_app.rs 519ec9d294 Move the document trait into a separate crate (#3035) 8 ay önce
web_component.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
wgpu_child_window.rs dfc59a8465 Rename wgpu child window example for discoverability (#3837) 3 ay önce
window_event.rs 519ec9d294 Move the document trait into a separate crate (#3035) 8 ay önce
window_focus.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
window_zoom.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce
xss_safety.rs 20d146d9bd Simplify the launch builder (#2967) 8 ay önce

README.md

Examples

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)

Basic Features

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

rsx_usage - Demo of all RSX features

xss_safety - You can include text without worrying about injections by default

Props

optional_props - Optional props

CSS

tailwind - You can use a library for styling

Input Handling

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

State Management

context_api - Cross-component state sharing via Context API

Async

login_form - Login endpoint example

suspense - Render placeholders while data is loading

tasks - Continuously run future

SVG

svg

Server-side rendering

ssr - Rendering RSX server-side

hydration - Pre-rendering with hydration

Common Patterns

disabled - Disable buttons conditionally

errors - Handle errors with early return

Routing

flat_router - Basic, flat route example

router - Router example

link - Internal, external and custom links

Platform Features

window_event - Window decorations, fullscreen, minimization, etc.

window_zoom – Zoom in or out

Example Apps

calculator - Simple calculator

crm - Toy multi-page customer management app

dog_app - Accesses dog API

todomvc - Todo task list example