Expand description
Collection of components.
Go to Gallery to see previews of the components.
Macros§
- import_
image - Generate a Dioxus component rendering the specified image.
- import_
svg - Generate a Dioxus component rendering the specified SVG.
Structs§
- Accordion
Body Props - Properties for the
AccordionBody
component. - Accordion
Props - Properties for the
Accordion
component. - Accordion
Summary Props - Properties for the
AccordionSummary
component. - Activable
Route Props - Properties for the
ActivableRoute
component. - Animated
Position Props - Properties for the
AnimatedPosition
component. - Animated
Router Props - Arrow
Icon Props - Properties for the
ArrowIcon
component. - Base
Button Props - Properties for the
Button
component. - Body
Props - Properties for the
Body
component. - Bottom
TabProps - Properties for the
BottomTab
component. - Button
Props - Properties for the
Button
,FilledButton
andOutlineButton
components. - Checkbox
Props - Properties for the
Checkbox
component. - Cross
Icon Props - Properties for the
CrossIcon
component. - Cursor
Area Props - Properties for the
CursorArea
component. - Drag
Provider Props - Properties for the
DragProvider
component. - Drag
Zone Props - Properties for the
DragZone
component. - Drop
Zone Props - Properties for the
DropZone
component. - Dropdown
Item Props - Properties for the
DropdownItem
component. - Dropdown
Props - Properties for the
Dropdown
component. - Flat
Item - Just like a TreeItem for flattened. Use this when rendering the items.
- Gesture
Area Props - Properties for the
GestureArea
component. - Global
Animated Position Props - Properties for the
GlobalAnimatedPosition
component. - Global
Animated Position Provider - Global
Animated Positions - Graph
Line - Data line for the
Graph
component. - Graph
Props - Properties for the
Graph
component. - Input
Props - Properties for the
Input
component. - Input
Validator - Link
Props - Properties for the
Link
component. - Loader
Props - Properties for the
Loader
component. - Menu
Button Props - Properties for the
MenuButton
component. - Menu
Container Props - Properties for the
MenuContainer
component. - Menu
Item Props - Properties for the
MenuItem
component. - Menu
Props - Properties for the
Menu
component. - Native
Container Props - Properties for the
NativeContainer
component. - Native
Router Props - Properties for the
NativeRouter
component. - Network
Image Props - Properties for the
NetworkImage
component. - Overflowed
Content Props - Properties for the
OverflowedContent
component. - Popup
Background Props - Properties for the
PopupBackground
component. - Popup
Content Props - Properties for the
PopupContent
component. - Popup
Props - Properties for the
Popup
component. - Popup
Title Props - Properties for the
PopupTitle
component. - Progress
BarProps - Properties for the
ProgressBar
component. - Radio
Props - Properties for the
Radio
component. - Resizable
Container Props - Properties for the
ResizableContainer
component. - Resizable
Handle Props - Properties for the
ResizableHandle
component. - Resizable
Panel Props - Properties for the
ResizablePanel
component. - Scroll
BarProps - Properties for the
ScrollBar
component. - Scroll
Config - Scroll
Controller - Scroll
Request - Scroll
Thumb Props - Properties for the
ScrollThumb
component. - Scroll
View Props - Properties for the
ScrollView
component. - Selectable
Text Props - Properties for the
SelectableText
component. - Sidebar
Item Props - Properties for the
SidebarItem
component. - Sidebar
Props - Properties for the
Sidebar
component. - Slider
Props - Properties for the
Slider
component. - Snack
BarBox Props - Properties for the [
SnackBarBox
] component. - Snack
BarProps - Properties for the
SnackBar
component. - SubMenu
Props - Properties for the
SubMenu
component. - Switch
Props - Properties for the
Switch
component. - TabProps
- Properties for the
Tab
component. - Table
Body Props - Properties for the
TableBody
component. - Table
Cell Props - Properties for the
TableCell
component. - Table
Head Props - Properties for the
TableHead
component. - Table
Props - Properties for the
Table
component. - Table
RowProps - Properties for the
TableRow
component. - Tabsbar
Props - Properties for the
Tabsbar
component. - Theme
Provider Props - Properties for the
ThemeProvider
component. - Tick
Icon Props - Properties for the
TickIcon
component. - Tile
Props - Properties for the
Tile
component. - Tooltip
Container Props - Properties for the
TooltipContainer
component. - Tooltip
Props - Properties for the
Tooltip
component. - UseForm
- Form controller
- Virtual
Scroll View Props - Properties for the
VirtualScrollView
component. - Window
Drag Area Props - Properties for the
WindowDragArea
component.
Enums§
- Accordion
Status - Indicates the current status of the accordion.
- Animated
Router Context - Button
Status - Identifies the current status of the Button.
- Dropdown
Item Status - Current status of the DropdownItem.
- Dropdown
Status - Current status of the Dropdown.
- Expandable
Item State - Indicates the state of the item.
- Gesture
- Gesture emitted by the
GestureArea
component. - Handle
Status - Describes the current status of the Handle.
- Input
Mode - Enum to declare is
Input
hidden. - Input
Status - Indicates the current status of the Input.
- Link
Tooltip - Tooltip configuration for the
Link()
component. - Menu
Item Status - Indicates the current status of the MenuItem.
- Order
Direction - Sorting direction for items in
Table
. - Press
Event - Scroll
Direction - Scroll
Position - Selectable
Text Status - Current status of the SelectableText.
- Slider
Status - Describes the current status of the Slider.
- Switch
Status - Describes the current status of the Switch.
- TabStatus
- Current status of the Tab.
- Tile
Status - Indicates the current status of the Tile.
- Tooltip
Position - Tree
Item - Item part of a larget Tree.
Traits§
- Item
Path - Abstract the path matching.
Functions§
- Accordion
- Show other elements under a collapsable box.
- Accordion
Body - Intended to wrap the body of an
Accordion
. - Accordion
Summary - Intended to use as summary for an
Accordion
. - Activable
Route - Sometimes you might want to know if a route is selected so you can style a specific UI element in a different way,
like a button with a different color.
To avoid cluttering your components with router-specific code you might instead want to wrap your component in an
ActivableRoute
and inside your component calluse_activable_route
. - Animated
Position - Props
- Animated
Router - Provide a mechanism for outlets to animate between route transitions.
- Arrow
Icon - Icon component for an Arrow.
- Body
- Usually used to wrap the application root component.
- Bottom
Tab - Clickable BottomTab. Same thing as Tab but designed to be placed in the bottom of your app,
usually used in combination with
Tabsbar
,crate::Link
andcrate::ActivableRoute
. - Button
- Clickable button.
- Button
Base - Checkbox
- Controlled
Checkbox
component. - Cross
Icon - Icon component for a Cross.
- Cursor
Area - Change the cursor icon when it’s hovering over this component.
- Drag
Provider - Provide a common place for
DragZone
s andDropZone
s to exchange their data. - Drag
Zone - Make the inner children draggable to other
DropZone
. - Drop
Zone - Elements from
DragZone
s can be dropped here. - Dropdown
- Select from multiple options, use alongside
DropdownItem
. - Dropdown
Item - Styling
- Filled
Button - Clickable button with a solid fill color.
- Gesture
Area - Detect complex touch gestures such as
Gesture::DoubleTap
. - Global
Animated Position - Animate an element position across time and space.
- Global
Animated Position Provider - Graph
- Graph component.
- Input
- Small box to edit text.
- Link
- Similar to
Link
, but you can use it in Freya. Both internal routes (dioxus-router) and external links are supported. When using internal routes make sure the Link is descendant of aRouter
component. - Loader
- Styling
- Menu
- Floating menu, use alongside
MenuItem
. - Menu
Button - Like a button, but for
Menu
s. - Menu
Container - Wraps the body of a
Menu
. - Menu
Item - Styling
- Native
Container - Props
- Native
Router - Provides native functionalities for a dioxus-router.
- Network
Image - Image component that automatically fetches and caches remote (HTTP) images.
- Outline
Button - Clickable button with an outline style.
- Overflowed
Content - Animate the content of a container when the content overflows.
- Popup
- Floating window intended for quick interactions. Also called
Dialog
in other frameworks. - Popup
Background - The background of the
Popup
component. - Popup
Content - Optionally wrap the content of your
Popup
in a styled container. - Popup
Title - Optionally use a styled title inside a
Popup
. - Progress
Bar - Display the progress of something visually. For example: downloading files, fetching data, etc.
- Radio
- Controlled
Radio
component. - Resizable
Container - Resizable container, used in combination with ResizablePanel() and ResizableHandle().
- Resizable
Handle - Resizable panel to be used in combination with ResizableContainer() and ResizablePanel().
- Resizable
Panel - Resizable panel to be used in combination with ResizableContainer() and ResizableHandle().
- Scroll
Bar - Scroll bar used for
crate::ScrollView
andcrate::VirtualScrollView
. - Scroll
Thumb - Scroll thumb used for
crate::ScrollView
andcrate::VirtualScrollView
. - Scroll
View - Scrollable area with bidirectional support and scrollbars.
- Selectable
Text - Text that can be selected with a mouse or keyboard.
- Sidebar
- Props
- Sidebar
Item - Props
- Slider
- Controlled
Slider
component. - Snack
Bar SnackBar
component. Use in combination with other components.- SubMenu
- Create sub menus inside a
Menu
. - Switch
- Display whether a state is
true
orfalse
. Commonly used for enabled/disabled scenarios. Example: light/dark theme. - Tab
- Clickable Tab. Usually used in combination with
Tabsbar
,crate::Link
andcrate::ActivableRoute
. - Table
- Table component, composed with
TableHead
andTableBody
. - Table
Body - The body of a
Table
. - Table
Cell - Cell for a
Table
. You can place anything inside. - Table
Head - The head of a
Table
. UseTableRow
inside. - Table
Row - Table row for
Table
. UseTableCell
inside. - Tabsbar
- Horizontal container for Tabs. Use in combination with
Tab
- Theme
Provider - Provides a
Theme
for all its children. - Tick
Icon - Icon component for a Tick.
- Tile
- Tile component to be used with
Radio
andCheckbox
. - Tooltip
Tooltip
component. Use in combination with TooltipContainer().- Tooltip
Container TooltipContainer
component.- Virtual
Scroll View - One-direction scrollable area that dynamically builds and renders items based in their size and current available size, this is intended for apps using large sets of data that need good performance.
- Window
Drag Area - Allow dragging the window when the cursor drag this component with a left mouse click.
- gallery
- manage_
key_ event - use_
animated_ router - Shortcut to get access to the AnimatedRouterContext.
- use_
form - Create a Form controller with a submit callback.
- use_
scroll_ controller