Expand description
§Freya Components
A collection of basic components to be used in Freya.
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. - Arrow
Icon Props - Properties for the
ArrowIcon
component. - Body
Props - Properties for the
Body
component. - Button
Props - Properties for the
Button
component. - Canvas
Props - Properties for the
Canvas
component. - 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. - Gesture
Area Props - Properties for the
GestureArea
component. - Graph
Line - Data line for the
Graph
component. - Graph
Props - Properties for the
Graph
component. - Input
Props - Properties for the
Input
component. - Keyboard
Navigator Props - Properties for the
KeyboardNavigator
component. - 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
Router Props - Properties for the
NativeRouter
component. - Network
Image Props - Properties for the
NetworkImage
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. - Scroll
BarProps - Properties for the
ScrollBar
component. - Scroll
Thumb Props - Properties for the
ScrollThumb
component. - Scroll
View Props - Properties for the
ScrollView
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. - 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. - Theme
Provider Props - Properties for the
ThemeProvider
component. - Tick
Icon Props - Properties for the
TickIcon
component. - Tile
Props - Properties for the
Tile
component. - Tooltip
Props - Properties for the
Tooltip
component. - UseForm
- Form controller
- Virtual
Scroll View Props - Properties for the
VirtualScrollView
component.
Enums§
- Accordion
Status - Indicates the current status of the accordion.
- Button
Status - Identifies the current status of the Button.
- Cursor
Icon - Describes the appearance of the (usually mouse) cursor icon.
- Dropdown
Item Status - Current status of the DropdownItem.
- Dropdown
Status - Current status of the Dropdown.
- Gesture
- Gesture emitted by the
GestureArea
component. - 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
. - Slider
Status - Describes the current status of the Slider.
- Switch
Status - Describes the current status of the Switch.
- Tile
Status - Indicates the current status of the Tile.
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 - Provide a context to the inner components so they can know whether the passed route is the current router in the Router or not.
- Arrow
Icon - Icon component for an Arrow.
- Body
- Usually used to wrap the application root component.
- Button
- Clickable button.
- Canvas
- Draw anything inside of this canvas.
- 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
- Gesture
Area - Detect complex touch gestures such as
Gesture::DoubleTap
. - Graph
- Graph component.
- Input
- Small box to edit text.
- Keyboard
Navigator - 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
Router - Provides native functionalities for a dioxus-router.
- Network
Image - Image component that automatically fetches and caches remote (HTTP) images.
- 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. - 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.
- 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. - 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. - Theme
Provider - Provides a
Theme
for all its children. - Tick
Icon - Icon component for a Tick.
- Tile
- Tile component to be used with [
Radio
] and [Checkbox
]. - Tooltip
Tooltip
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.
- manage_
key_ event - use_
form - Create a Form controller with a submit callback.