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

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