Crate singlestage

Crate singlestage 

Source

Re-exports§

pub use reactive::*;

Modules§

Theme
accordion
alert
avatar
badge
breadcrumb
button
card
checkbox
dialog
dropdown
input
label
link
pagination
radio
reactive
select
separator
sidebar
skeleton
slider
switch
table
tabs
textarea
theme_provider
toggle
tooltip

Macros§

icon
Helper macro for using icondata icons

Structs§

AccordionContentProps
Props for the AccordionContent component.
AccordionIcon
Props for the AccordionIcon slot.
AccordionIconBuilder
Builder for AccordionIcon instances.
AccordionItemProps
Props for the AccordionItem component.
AccordionProps
Props for the Accordion component.
AccordionTriggerProps
Props for the AccordionTrigger component.
AlertDescriptionProps
Props for the AlertDescription component.
AlertProps
Props for the Alert component.
AlertTitleProps
Props for the AlertTitle component.
AvatarFallbackProps
Props for the AvatarFallback component.
AvatarImageProps
Props for the AvatarImage component.
AvatarProps
Props for the Avatar component.
BadgeProps
Props for the Badge component.
BreadcrumbItemProps
Props for the BreadcrumbItem component.
BreadcrumbProps
Props for the Breadcrumb component.
BreadcrumbSeparatorProps
Props for the BreadcrumbSeparator component.
ButtonProps
Props for the Button component.
CardContentProps
Props for the CardContent component.
CardDescriptionProps
Props for the CardDescription component.
CardFooterProps
Props for the CardFooter component.
CardHeaderProps
Props for the CardHeader component.
CardProps
Props for the Card component.
CardTitleProps
Props for the CardTitle component.
CheckboxGroupContext
CheckboxGroupProps
Props for the CheckboxGroup component.
CheckboxProps
Props for the Checkbox component.
CollapsibleContentProps
Props for the CollapsibleContent component.
CollapsibleContext
CollapsibleProps
Props for the Collapsible component.
CollapsibleTrigger
Props for the CollapsibleTrigger slot.
CollapsibleTriggerBuilder
Builder for CollapsibleTrigger instances.
DialogCloseProps
Props for the DialogClose component.
DialogContentProps
Props for the DialogContent component.
DialogContext
DialogDescriptionProps
Props for the DialogDescription component.
DialogFooterProps
Props for the DialogFooter component.
DialogHeaderProps
Props for the DialogHeader component.
DialogProps
Props for the Dialog component.
DialogTitleProps
Props for the DialogTitle component.
DialogTrigger
Props for the DialogTrigger slot.
DialogTriggerBuilder
Builder for DialogTrigger instances.
DropdownMenuContentProps
Props for the DropdownMenuContent component.
DropdownMenuContext
DropdownMenuGroupContext
DropdownMenuGroupProps
Props for the DropdownMenuGroup component.
DropdownMenuItemProps
Props for the DropdownMenuItem component.
DropdownMenuLabelProps
Props for the DropdownMenuLabel component.
DropdownMenuProps
Props for the DropdownMenu component.
DropdownMenuSeparatorProps
Props for the DropdownMenuSeparator component.
DropdownMenuShortcutProps
Props for the DropdownMenuShortcut component.
DropdownMenuTriggerProps
Props for the DropdownMenuTrigger component.
InputProps
Props for the Input component.
LabelProps
Props for the Label component.
LinkProps
Props for the Link component.
PaginationContentProps
Props for the PaginationContent component.
PaginationEllipsisProps
Props for the PaginationEllipsis component.
PaginationItemProps
Props for the PaginationItem component.
PaginationLinkProps
Props for the PaginationLink component.
PaginationNextProps
Props for the PaginationNext component.
PaginationPreviousProps
Props for the PaginationPrevious component.
PaginationProps
Props for the Pagination component.
RadioGroupContext
RadioGroupProps
Props for the RadioGroup component.
RadioProps
Props for the Radio component.
SelectContentProps
Props for the SelectContent component.
SelectContext
SelectItemProps
Props for the SelectItem component.
SelectProps
Props for the Select component.
SeparatorProps
Props for the Separator component.
SidebarContentProps
Props for the SidebarContent component.
SidebarContext
SidebarFooterProps
Props for the SidebarFooter component.
SidebarGroupContentProps
Props for the SidebarGroupContent component.
SidebarGroupContext
SidebarGroupLabelProps
Props for the SidebarGroupLabel component.
SidebarGroupProps
Props for the SidebarGroup component.
SidebarHeaderProps
Props for the SidebarHeader component.
SidebarMenuButtonProps
Props for the SidebarMenuButton component.
SidebarMenuItemProps
Props for the SidebarMenuItem component.
SidebarMenuProps
Props for the SidebarMenu component.
SidebarMenuSubItemProps
Props for the SidebarMenuSubItem component.
SidebarMenuSubProps
Props for the SidebarMenuSub component.
SidebarProps
Props for the Sidebar component.
SidebarProviderProps
Props for the SidebarProvider component.
SidebarSeparatorProps
Props for the SidebarSeparator component.
SidebarTriggerProps
Props for the SidebarTrigger component.
SkeletonProps
Props for the Skeleton component.
SliderProps
Props for the Slider component.
SwitchProps
Props for the Switch component.
TableBodyProps
Props for the TableBody component.
TableCaptionProps
Props for the TableCaption component.
TableCellProps
Props for the TableCell component.
TableFooterProps
Props for the TableFooter component.
TableHeadProps
Props for the TableHead component.
TableHeaderProps
Props for the TableHeader component.
TableProps
Props for the Table component.
TableRowProps
Props for the TableRow component.
TabsContentProps
Props for the TabsContent component.
TabsContext
TabsListProps
Props for the TabsList component.
TabsProps
Props for the Tabs component.
TabsTriggerProps
Props for the TabsTrigger component.
TextareaProps
Props for the Textarea component.
ThemeProviderContext
ThemeProviderInnerProps
Props for the ThemeProviderInner component.
ThemeProviderProps
Props for the ThemeProvider component.
ToggleProps
Props for the Toggle component.
TooltipProps
Props for the Tooltip component.

Enums§

Mode

Functions§

Accordion
Contains all the parts of an accordion.
AccordionContent
Contains the collapsible content for an item.
AccordionItem
Contains all the parts of a collapsible section.
AccordionTrigger
Toggles the collapsed state of its associated item. Also serves as the header.
Alert
Displays a callout for user attention.
AlertDescription
Contains the description of the alert.
AlertTitle
Contains the title of the alert.
Avatar
Contains all the parts of an avatar.
AvatarFallback
Renders a text fallback inside the avatar.
AvatarImage
Renders an image inside the avatar.
Badge
Required Props
Breadcrumb
Contains all pieces of the breadcrumb trail
BreadcrumbItem
An individual breadcrumb link
BreadcrumbSeparator
Separates breadcrumb items. Can render any children as a custom marker.
Button
Displays a button.
Card
Contains all the parts of a card.
CardContent
Contains the content displayed in the card body.
CardDescription
A summary that describes the card content.
CardFooter
Contains card footer content.
CardHeader
Renders at the top of the card. Contains the card title and card description.
CardTitle
Description of the card content.
Checkbox
A control that allows the user to toggle between checked and not checked.
CheckboxGroup
Contains all the parts of a radio group
Collapsible
Required Props
CollapsibleContent
Required Props
Dialog
Contains all the parts of an alert dialog.
DialogClose
Optional Props
DialogContent
Contains content to be rendered in the main body of the dialog.
DialogDescription
A short description/subheading describing dialog content.
DialogFooter
Displays at the bottom of the dialog, contains calls to action. Submit events such as button clicks in this area automatically trigger closing of the dialog.
DialogHeader
Contains the dialog title and a description to be rendered in the open dialog.
DialogTitle
The title of the dialog.
DropdownMenu
Contains all the parts of a dropdown menu.
DropdownMenuContent
The component that pops out when the dropdown menu is open.
DropdownMenuGroup
Contains multiple items.
DropdownMenuItem
Contains a menu item.
DropdownMenuLabel
Labels groups.
DropdownMenuSeparator
Visually separates groups of menu items.
DropdownMenuShortcut
Displays next to the item content and indicates keyboard shortcuts.
DropdownMenuTrigger
The button that toggles the dropdown menu.
Input
Optional Props
Label
Renders an accessible label associated with controls
Link
Required Props
Pagination
Contains all the parts of a pagination component
PaginationContent
Contains pagination content
PaginationEllipsis
Pagination ellipsis filler
PaginationItem
Contains a pagination item
PaginationLink
A pagination link
PaginationNext
Pagination next component
PaginationPrevious
A pagination previous button
Radio
An item in the group that can be checked
RadioGroup
Contains all the parts of a radio group
Select
Required Props
SelectContent
Required Props
SelectItem
Required Props
Separator
Optional Props
Sidebar
Sidebar component
SidebarContent
Required Props
SidebarFooter
Required Props
SidebarGroup
Required Props
SidebarGroupContent
Required Props
SidebarGroupLabel
Required Props
SidebarHeader
Required Props
SidebarMenu
Required Props
SidebarMenuButton
Required Props
SidebarMenuItem
Required Props
SidebarMenuSub
Required Props
SidebarMenuSubItem
Required Props
SidebarProvider
Sidebar context provider
SidebarSeparator
Optional Props
SidebarTrigger
Required Props
Skeleton
Optional Props
Slider
Optional Props
Switch
Optional Props
Table
Required Props
TableBody
Required Props
TableCaption
Required Props
TableCell
Required Props
TableFooter
Required Props
TableHead
Required Props
TableHeader
Required Props
TableRow
Required Props
Tabs
Required Props
TabsContent
Required Props
TabsList
Required Props
TabsTrigger
Required Props
Textarea
Optional Props
ThemeProvider
Required Props
ThemeProviderInner
Provides theme support to children. Note: Setting mode and theme here are only used for initial values. Updates should be done via ThemeProviderContext.
Toggle
A two-state button that toggles between on and off.
Tooltip
Required Props