Crate freya_components
source ·Expand description
§Freya Components
A collection of basic components to be used in Freya.
Structs§
- Properties for the
AccordionBodycomponent. - Properties for the
Accordioncomponent. - Properties for the
AccordionSummarycomponent. - Properties for the
ActivableRoutecomponent. - Properties for the
ArrowIconcomponent. - Properties for the
Bodycomponent. - Properties for the
Buttoncomponent. - Properties for the
Canvascomponent. - Properties for the
Checkboxcomponent. - Properties for the
CrossIconcomponent. - Properties for the
CursorAreacomponent. - Properties for the
DragProvidercomponent. - Properties for the
DragZonecomponent. - Properties for the
DropZonecomponent. - Properties for the
DropdownItemcomponent. - Properties for the
Dropdowncomponent. - Properties for the
GestureAreacomponent. - Data line for the
Graphcomponent. - Properties for the
Graphcomponent. - Properties for the
Inputcomponent. - Properties for the
KeyboardNavigatorcomponent. - Properties for the
Linkcomponent. - Properties for the
Loadercomponent. - Properties for the
MenuButtoncomponent. - Properties for the
MenuContainercomponent. - Properties for the
MenuItemcomponent. - Properties for the
Menucomponent. - Properties for the
NativeRoutercomponent. - Properties for the
NetworkImagecomponent. - Properties for the
PopupBackgroundcomponent. - Properties for the
PopupContentcomponent. - Properties for the
Popupcomponent. - Properties for the
PopupTitlecomponent. - Properties for the
ProgressBarcomponent. - Properties for the
Radiocomponent. - Properties for the
ScrollBarcomponent. - Properties for the
ScrollThumbcomponent. - Properties for the
ScrollViewcomponent. - Properties for the
SidebarItemcomponent. - Properties for the
Sidebarcomponent. - Properties for the
Slidercomponent. - Properties for the [
SnackBarBox] component. - Properties for the
SnackBarcomponent. - Properties for the
SubMenucomponent. - Properties for the
Switchcomponent. - Properties for the
TableBodycomponent. - Properties for the
TableCellcomponent. - Properties for the
TableHeadcomponent. - Properties for the
Tablecomponent. - Properties for the
TableRowcomponent. - Properties for the
ThemeProvidercomponent. - Properties for the
TickIconcomponent. - Properties for the
Tilecomponent. - Properties for the
Tooltipcomponent. - Form controller
- Properties for the
VirtualScrollViewcomponent.
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.
- Gesture emitted by the
GestureAreacomponent. - Enum to declare is
Inputhidden. - Indicates the current status of the Input.
- Tooltip configuration for the
Linkcomponent. - Indicates the current status of the MenuItem.
- Sorting direction for items in
Table. - Describes the current status of the Slider.
- Describes the current status of the Switch.
- Indicates the current status of the Tile.
Functions§
- Show other elements under a collapsable box.
- Intended to wrap the body of an
Accordion. - Intended to use as summary for an
Accordion. - Provide a context to the inner components so they can know whether the passed route is the current router in the Router or not.
- Icon component for an Arrow.
- Usually used to wrap the application root component.
- Clickable button.
- Draw anything inside of this canvas.
- Controlled
Checkboxcomponent. - Icon component for a Cross.
- Change the cursor icon when it’s hovering over this component.
- Make the inner children draggable to other
DropZone. - Elements from
DragZones can be dropped here. - Select from multiple options, use alongside
DropdownItem. - Styling
- Detect complex touch gestures such as
Gesture::DoubleTap. - Graph component.
- Small box to edit text.
- Styling
- Floating menu, use alongside
MenuItem. - Like a button, but for
Menus. - Wraps the body of a
Menu. - Styling
- Provides native functionalities for a dioxus-router.
- Image component that automatically fetches and caches remote (HTTP) images.
- Floating window intended for quick interactions. Also called
Dialogin other frameworks. - The background of the
Popupcomponent. - Optionally wrap the content of your
Popupin a styled container. - Optionally use a styled title inside a
Popup. - Display the progress of something visually. For example: downloading files, fetching data, etc.
- Controlled
Radiocomponent. - Scroll bar used for
crate::ScrollViewandcrate::VirtualScrollView. - Scroll thumb used for
crate::ScrollViewandcrate::VirtualScrollView. - Scrollable area with bidirectional support and scrollbars.
- Props
- Props
- Controlled
Slidercomponent. SnackBarcomponent. Use in combination with other components.- Create sub menus inside a
Menu. - Display whether a state is
trueorfalse. Commonly used for enabled/disabled scenarios. Example: light/dark theme. - The body of a
Table. - Cell for a
Table. You can place anything inside. - Provides a
Themefor all its children. - Icon component for a Tick.
- Tile component to be used with [
Radio] and [Checkbox]. Tooltipcomponent- 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.
- Create a Form controller with a submit callback.