Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DioxusLabs/dioxus-components
/ functions
Functions
1,115 in github.com/DioxusLabs/dioxus-components
⨍
Functions
1,115
◇
Types & classes
404
↓ 96 callers
Method
iter
Iterate over the [`Weekday`]s in the collection starting from a given day Wraps around from Sunday to Monday if necessary
primitives/src/calendar.rs:41
↓ 90 callers
Function
merge_attributes
Merge multiple attribute vectors. Rules: - Later lists win for the same (name, namespace) pair. - `class` is concatenated with a single space separat
primitives/src/lib.rs:348
↓ 63 callers
Method
first
Get the first day in the collection, starting from Monday Returns `None` if the collection is empty
primitives/src/calendar.rs:25
↓ 36 callers
Function
use_unique_id
Generate a runtime-unique id.
primitives/src/lib.rs:63
↓ 27 callers
Function
sender
(name: &'static str, addr: &'static str, initials: &'static str)
preview/src/dashboard/common/messages.rs:12
↓ 25 callers
Function
use_id_or
Elements can only have one id so if the user provides their own, we must use it as the aria id.
primitives/src/lib.rs:83
↓ 23 callers
Method
set_focus
(&mut self, index: Option<usize>)
primitives/src/collection.rs:117
↓ 21 callers
Function
list
(page: Page)
playwright/combobox.spec.ts:13
↓ 21 callers
Function
use_controlled
Allows some state to be either controlled or uncontrolled.
primitives/src/lib.rs:119
↓ 20 callers
Method
is_empty
(&self)
primitives/src/selectable.rs:83
↓ 17 callers
Function
tag
(page: Page, name: string)
playwright/tag_group.spec.ts:20
↓ 16 callers
Function
collection_item
Begin registering one collection item. Chain only the optional inputs the component actually has — `key`, `disabled`, `hidden`, `selected` — then pass
primitives/src/collection.rs:469
↓ 16 callers
Function
use_item
Register an item builder and return its handle: a roving `tabindex`, `focused()` state, and an `onmounted()` focus handler. This is the hook — it call
primitives/src/collection.rs:527
↓ 15 callers
Method
disabled
Whether the item is currently disabled (skipped by roving focus).
primitives/src/collection.rs:497
↓ 15 callers
Function
getItems
Helper to get list items from a dnd-list container.
playwright/drag_and_drop_list.spec.ts:26
↓ 15 callers
Method
onmounted
A mounted handler that lets the collection drive DOM focus for this item. Attach it to the focusable element.
primitives/src/collection.rs:458
↓ 14 callers
Method
contains
Returns `true` if the collection contains the given day
primitives/src/calendar.rs:60
↓ 14 callers
Function
loadMainList
Navigate to the DnD page and return the first (main) variant list.
playwright/drag_and_drop_list.spec.ts:10
↓ 14 callers
Method
offset_view_date
(&self)
primitives/src/calendar.rs:982
↓ 14 callers
Function
use_collection_provider
(roving_loop: ReadSignal<bool>)
primitives/src/collection.rs:427
↓ 13 callers
Method
key
The item key, used for focus identity and `focused_key()` lookups.
primitives/src/collection.rs:503
↓ 13 callers
Method
remove
Remove the item at the given index from the list.
primitives/src/drag_and_drop_list.rs:175
↓ 12 callers
Method
clamp
(&self, date: Date)
primitives/src/calendar.rs:221
↓ 12 callers
Function
content
(page: Page)
playwright/combobox.spec.ts:10
↓ 12 callers
Function
make_measurements
(state: &Store<VirtualizerState>)
primitives/src/virtual/virtualizer.rs:343
↓ 12 callers
Method
start
Get the start of the range
primitives/src/calendar.rs:226
↓ 11 callers
Method
available
(&self)
primitives/src/collection.rs:19
↓ 11 callers
Method
clear_focus
(&mut self)
primitives/src/collection.rs:151
↓ 11 callers
Method
end
Get the end of the range
primitives/src/calendar.rs:231
↓ 11 callers
Function
use_animated_open
( id: impl Readable<Target = String> + Copy + 'static, open: impl Readable<Target = bool> + Copy + 'st
primitives/src/lib.rs:244
↓ 9 callers
Method
color
Read the current HSV color.
primitives/src/color_picker.rs:62
↓ 9 callers
Method
focused_index
(&self)
primitives/src/collection.rs:155
↓ 9 callers
Function
input
(page: Page)
playwright/combobox.spec.ts:7
↓ 9 callers
Function
itemText
(locator: import("@playwright/test").Locator)
playwright/drag_and_drop_list.spec.ts:34
↓ 9 callers
Method
learn_from_event
Learn from a keyboard event mapping physical key to logical character
primitives/src/select/text_search.rs:136
↓ 9 callers
Method
next
(&mut self)
primitives/src/calendar.rs:85
↓ 9 callers
Function
openPicker
(page: Page)
playwright/color-picker.spec.ts:6
↓ 8 callers
Method
as_ref
Downcast this value to its concrete type.
primitives/src/selection.rs:36
↓ 8 callers
Function
recency_bias
The recency bias of the levenshtein distance function
primitives/src/select/text_search.rs:53
↓ 8 callers
Function
set_scroll_offset
Handle a scroll event. Writes reactive fields (`scroll_offset`, `is_scrolling`) which trigger component re-renders. Returns an optional correction t
primitives/src/virtual/virtualizer.rs:88
↓ 8 callers
Function
singleSelectTrigger
(page: Page)
playwright/select.spec.ts:3
↓ 8 callers
Method
update_message
(&mut self, uid: String, update: impl FnOnce(&mut MessageState))
preview/src/dashboard/views/email_client/state.rs:250
↓ 7 callers
Method
any_focused
(&self)
primitives/src/collection.rs:187
↓ 7 callers
Function
best_match
Find the best matching option based on typeahead input
primitives/src/select/text_search.rs:8
↓ 7 callers
Method
focus_next
(&mut self)
primitives/src/collection.rs:265
↓ 7 callers
Method
is_available
(&self, index: usize)
primitives/src/collection.rs:195
↓ 7 callers
Method
is_dragging
(&self)
primitives/src/drag_and_drop_list.rs:125
↓ 7 callers
Function
levenshtein_distance
We use a weighted Levenshtein distance to account for the recency of characters More recent characters have a higher weight, while older characters ha
primitives/src/select/text_search.rs:62
↓ 7 callers
Method
substitution_cost
Calculate hybrid substitution cost using multiple strategies
primitives/src/select/text_search.rs:143
↓ 6 callers
Method
close_read_pane
(&mut self)
preview/src/dashboard/views/email_client/state.rs:165
↓ 6 callers
Function
create_test_state
()
primitives/src/virtual/virtualizer.rs:330
↓ 6 callers
Method
focus_prev
(&mut self)
primitives/src/collection.rs:274
↓ 6 callers
Method
loops
Whether arrow navigation wraps around the ends of the collection.
primitives/src/collection.rs:71
↓ 6 callers
Method
modifiers
(&self)
primitives/src/move_interaction.rs:170
↓ 6 callers
Function
normalized_distance
Calculate normalized distance between typeahead and value characters
primitives/src/select/text_search.rs:34
↓ 6 callers
Method
predicate
(&self)
primitives/src/combobox/context.rs:33
↓ 6 callers
Function
resize_item
Resize an item and return an optional scroll adjustment. Called from resize event handlers. All access uses `.peek()` so this never triggers a compo
primitives/src/virtual/virtualizer.rs:139
↓ 6 callers
Function
sliderTrack
(slider: Locator)
playwright/slider.spec.ts:21
↓ 6 callers
Function
with_runtime
Run a closure inside a Dioxus runtime context so that Store/CopyValue APIs are available. The closure runs inside a component render.
primitives/src/virtual/virtualizer.rs:299
↓ 5 callers
Function
dispatch
(node: EventTarget, type: string, init: DragEventInit = {})
playwright/drag_and_drop_list.spec.ts:57
↓ 5 callers
Method
distance_cost
Calculate substitution cost between two characters based on keyboard distance
primitives/src/select/text_search.rs:288
↓ 5 callers
Method
first_available_index
(&self)
primitives/src/collection.rs:202
↓ 5 callers
Method
focus_first
(&mut self)
primitives/src/collection.rs:257
↓ 5 callers
Method
focus_last
(&mut self)
primitives/src/collection.rs:261
↓ 5 callers
Method
focused
Whether this item is the currently focused one.
primitives/src/collection.rs:452
↓ 5 callers
Method
key
(&self)
primitives/src/virtual/types.rs:25
↓ 5 callers
Method
same_identity
(&self, other: &Self)
primitives/src/collection.rs:23
↓ 5 callers
Function
sliderGroup
(page: Page, name: string | RegExp)
playwright/slider.spec.ts:14
↓ 5 callers
Function
use_effect_cleanup
Run some cleanup code when the component is unmounted if the effect was run.
primitives/src/lib.rs:136
↓ 5 callers
Function
use_effect_with_cleanup
Run some cleanup code when the component is unmounted if the effect was run.
primitives/src/lib.rs:141
↓ 4 callers
Method
announce
(&mut self, msg: String)
primitives/src/drag_and_drop_list.rs:193
↓ 4 callers
Method
as_str
(self)
preview/src/dashboard/common/mod.rs:50
↓ 4 callers
Method
available_range
Get the available range of given date
primitives/src/calendar.rs:288
↓ 4 callers
Method
char_position
Get the position of a character on the keyboard layout
primitives/src/select/text_search.rs:303
↓ 4 callers
Function
clickSliderTrack
(page: Page, track: Locator, frac: number)
playwright/slider.spec.ts:9
↓ 4 callers
Method
close_if_selected
(&mut self, uid: &str)
preview/src/dashboard/views/email_client/state.rs:257
↓ 4 callers
Function
compute_measurements
Compute item measurements from current state. This is a pure function suitable for use inside a `use_memo`. Adaptive estimation (average of measured
primitives/src/virtual/virtualizer.rs:52
↓ 4 callers
Method
drag_from
(&self)
primitives/src/drag_and_drop_list.rs:103
↓ 4 callers
Method
drop_to
(&self)
primitives/src/drag_and_drop_list.rs:110
↓ 4 callers
Method
focusChild
(child: HTMLElement)
primitives/src/ts/focus-trap.ts:60
↓ 4 callers
Method
focusChild
(child)
primitives/src/js/focus-trap.js:1
↓ 4 callers
Function
gotoSidebarBlock
(page: Page)
playwright/sidebar.spec.ts:6
↓ 4 callers
Method
is_empty
(&self)
primitives/src/tag_group.rs:116
↓ 4 callers
Method
is_empty
Returns `true` if the collection is empty
primitives/src/calendar.rs:46
↓ 4 callers
Method
is_focused
Check if a date is focused
primitives/src/calendar.rs:379
↓ 4 callers
Function
lookup_message
(source_index: usize)
preview/src/dashboard/common/messages.rs:224
↓ 4 callers
Method
phonetic_similarity_cost
Check phonetic similarity using small lookup groups
primitives/src/select/text_search.rs:182
↓ 4 callers
Method
recent_focus
(&self)
primitives/src/collection.rs:159
↓ 4 callers
Function
replace_month
(date: Date, month: Month)
primitives/src/calendar.rs:155
↓ 4 callers
Method
selected
Whether this item is the selected one. When nothing is focused yet, the selected item becomes the roving tab stop — mirrors React Aria seeding `focuse
primitives/src/collection.rs:517
↓ 4 callers
Method
set_focus
(&mut self, index: Option<usize>)
primitives/src/drag_and_drop_list.rs:205
↓ 4 callers
Method
show
Send a toast to the associated [`ToastProvider`] with the given title, type, and options.
primitives/src/toast.rs:655
↓ 4 callers
Function
sync_option_state
(options: &mut Vec<OptionState>, option_state: OptionState)
primitives/src/selection.rs:104
↓ 4 callers
Function
use_sidebar
()
preview/src/components/sidebar/component.rs:130
↓ 4 callers
Function
use_toast
# use_toast The `use_toast` hook provides access to the [`Toast`] api from the nearest [`ToastProvider`] which lets you dispatch toasts from anywhere
primitives/src/toast.rs:725
↓ 3 callers
Function
area_percent
(value: ClientPoint)
primitives/src/color_picker.rs:44
↓ 3 callers
Method
as_percent
(&self, value: f64)
primitives/src/slider.rs:805
↓ 3 callers
Method
as_str
(&self)
primitives/src/lib.rs:296
↓ 3 callers
Method
available_indices_matching
(&self, predicate: impl Fn(usize) -> bool)
primitives/src/collection.rs:334
↓ 3 callers
Function
calculate_total_size
Calculate total size from measurements.
primitives/src/virtual/virtualizer.rs:282
next →
1–100 of 1,115, ranked by callers