Module freya::components 
source · Expand description
Collection of basic components.
Macros§
- Generate a Dioxus component rendering the specified image.
- Generate a Dioxus component rendering the specified SVG.
Structs§
- Properties for theAccordionBodycomponent.
- Properties for theAccordioncomponent.
- Properties for theAccordionSummarycomponent.
- Properties for theActivableRoutecomponent.
- Properties for theAnimatedPositioncomponent.
- Properties for theArrowIconcomponent.
- Properties for theButtoncomponent.
- Properties for theBodycomponent.
- Properties for theBottomTabcomponent.
- Properties for theCanvascomponent.
- Properties for theCheckboxcomponent.
- Properties for theCrossIconcomponent.
- Properties for theCursorAreacomponent.
- Properties for theDragProvidercomponent.
- Properties for theDragZonecomponent.
- Properties for theDropZonecomponent.
- Properties for theDropdownItemcomponent.
- Properties for theDropdowncomponent.
- Just like a TreeItem for flattened. Use this when rendering the items.
- Properties for theGestureAreacomponent.
- Data line for theGraphcomponent.
- Properties for theGraphcomponent.
- Properties for theInputcomponent.
- Properties for theLinkcomponent.
- Properties for theLoadercomponent.
- Properties for theMenuButtoncomponent.
- Properties for theMenuContainercomponent.
- Properties for theMenuItemcomponent.
- Properties for theMenucomponent.
- Properties for theNativeContainercomponent.
- Properties for theNativeRoutercomponent.
- Properties for theNetworkImagecomponent.
- Properties for thePopupBackgroundcomponent.
- Properties for thePopupContentcomponent.
- Properties for thePopupcomponent.
- Properties for thePopupTitlecomponent.
- Properties for theProgressBarcomponent.
- Properties for theRadiocomponent.
- Properties for theScrollBarcomponent.
- Properties for theScrollThumbcomponent.
- Properties for theScrollViewcomponent.
- Properties for theSidebarItemcomponent.
- Properties for theSidebarcomponent.
- Properties for theSlidercomponent.
- Properties for the [SnackBarBox] component.
- Properties for theSnackBarcomponent.
- Properties for theSubMenucomponent.
- Properties for theSwitchcomponent.
- Properties for theTabcomponent.
- Properties for theTableBodycomponent.
- Properties for theTableCellcomponent.
- Properties for theTableHeadcomponent.
- Properties for theTablecomponent.
- Properties for theTableRowcomponent.
- Properties for theTabsbarcomponent.
- Properties for theThemeProvidercomponent.
- Properties for theTickIconcomponent.
- Properties for theTilecomponent.
- Properties for theTooltipContainercomponent.
- Properties for theTooltipcomponent.
- Form controller
- Properties for theVirtualScrollViewcomponent.
- Properties for theWindowDragAreacomponent.
Enums§
- Indicates the current status of the accordion.
- Identifies the current status of the Button.
- Describes the appearance of the (usually mouse) cursor icon.
- Current status of the DropdownItem.
- Current status of the Dropdown.
- Indicates the state of the item.
- Gesture emitted by theGestureAreacomponent.
- Enum to declare isInputhidden.
- Indicates the current status of the Input.
- Tooltip configuration for theLinkcomponent.
- Indicates the current status of the MenuItem.
- Sorting direction for items inTable.
- Describes the current status of the Slider.
- Describes the current status of the Switch.
- Current status of the Tab.
- Indicates the current status of the Tile.
- Item part of a larget Tree.
Traits§
- Abstract the path matching.
Functions§
- Show other elements under a collapsable box.
- Intended to wrap the body of anAccordion.
- Intended to use as summary for anAccordion.
- 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 anActivableRouteand inside your component calluse_activable_route.
- Props
- Provide a mechanism for outlets to animate between route transitions.
- Icon component for an Arrow.
- Usually used to wrap the application root component.
- Clickable BottomTab. Same thing as Tab but designed to be placed in the bottom of your app, usually used in combination withTabsbar, [Link] and [ActivableRoute].
- Clickable button.
- Draw anything inside of this canvas.
- ControlledCheckboxcomponent.
- Icon component for a Cross.
- Change the cursor icon when it’s hovering over this component.
- Make the inner children draggable to otherDropZone.
- Elements fromDragZones can be dropped here.
- Select from multiple options, use alongsideDropdownItem.
- Styling
- Clickable button with a solid fill color.
- Detect complex touch gestures such asGesture::DoubleTap.
- Graph component.
- Small box to edit text.
- Styling
- Floating menu, use alongsideMenuItem.
- Like a button, but forMenus.
- Wraps the body of aMenu.
- Styling
- Provides native functionalities for a dioxus-router.
- Image component that automatically fetches and caches remote (HTTP) images.
- Clickable button with an outline style.
- Floating window intended for quick interactions. Also calledDialogin other frameworks.
- The background of thePopupcomponent.
- Optionally wrap the content of yourPopupin a styled container.
- Optionally use a styled title inside aPopup.
- Display the progress of something visually. For example: downloading files, fetching data, etc.
- ControlledRadiocomponent.
- Scroll bar used forcrate::ScrollViewandcrate::VirtualScrollView.
- Scroll thumb used forcrate::ScrollViewandcrate::VirtualScrollView.
- Scrollable area with bidirectional support and scrollbars.
- Props
- Props
- ControlledSlidercomponent.
- SnackBarcomponent. Use in combination with other components.
- Create sub menus inside aMenu.
- Display whether a state istrueorfalse. Commonly used for enabled/disabled scenarios. Example: light/dark theme.
- The body of aTable.
- Cell for aTable. You can place anything inside.
- Horizontal container for Tabs. Use in combination withTab
- Provides aThemefor all its children.
- Icon component for a Tick.
- Tile component to be used with [Radio] and [Checkbox].
- Tooltipcomponent
- TooltipContainercomponent.
- 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.
- Allow dragging the window when the cursor drag this component with a left mouse click.
- Shortcut to get access to the AnimatedRouterContext.
- Create a Form controller with a submit callback.