Expand description
Lumen UI components for Dioxus.
The components render the same classes and attributes as @santi020k/lumen-react, so they
share Lumen’s stylesheet. They work with every Dioxus renderer: web, desktop and mobile
(webview), and Dioxus Native, which draws HTML and CSS with the Blitz engine instead of a
webview. Interactions run in Rust, so they also work where there is no JavaScript.
[dependencies]
lumen-dioxus = "6.0"Render LumenStyles once near the root, wrap the app in LumenTheme, and use the
components from the prelude:
use dioxus::prelude::*;
use lumen_dioxus::prelude::*;
#[component]
fn App() -> Element {
rsx! {
LumenStyles {}
LumenTheme { scheme: LumenScheme::Dark,
Card {
CardHeader {
CardTitle { "Workspace plan" }
CardDescription { "Shared libraries and audit logs." }
}
CardFooter {
Button { variant: ButtonVariant::Secondary, "Compare plans" }
Button { onclick: move |_| {}, "Upgrade" }
}
}
}
}
}Icons live in icons; brand icons need the brand-icons feature. On Dioxus Native,
check controls render as ARIA buttons, glass needs a renderer with backdrop-filter support,
placeholders do not show yet, and web platform APIs such as the clipboard fall back to a
documented state. The crate README lists every component and the renderer notes.
Re-exports§
pub use icons::Icon;pub use icons::IconData;pub use icons::IconProps;pub use icons::IconSize;pub use LumenStyles_completions::Component::LumenStyles;
Modules§
- hooks
- Hooks shared by the components: generated ids and controlled or uncontrolled state.
- icons
- Icons: the complete Lucide interface catalog, optional Font Awesome brand icons, and
Icon. - overlay
- Building blocks for floating panels, menus, and dialogs that work on every Dioxus renderer.
- prelude
- Everything needed to build a Lumen interface: components, their props and option enums,
icons, and
LumenStyles. - time
- Portable timers for components that wait, such as toasts, timers, and rolling text.
Structs§
- Accordion
Item Props - Props for
AccordionItem. - Accordion
Props - Props for
Accordion. - Affix
Props - Props for
Affix. - Agenda
Props - Props for
Agenda. - Alert
Props - Props for
Alert. - Amount
Field Change - What
AmountFieldreports after an accepted edit, like lumen-core’sLumenAmountChangeDetail. - Amount
Field Options - Locale and precision of an amount, like lumen-core’s
LumenAmountOptions. - Amount
Field Props - Props for
AmountField. - Anchor
Link - One link of an
Anchortable of contents. - Anchor
Props - Props for
Anchor. - Animated
Logo Props - Props for
AnimatedLogo. - Animated
Number Props - Props for
AnimatedNumber. - Animated
Portrait Props - Props for
AnimatedPortrait. - AppHeader
Props - Props for
AppHeader. - Approval
Card Props - Props for
ApprovalCard. - Approval
Card Response Detail - The request an
ApprovalCardemits. The application must still authorize the operation. - Aspect
Ratio Props - Props for
AspectRatio. - Attachment
List Props - Props for
AttachmentList. - Attachment
Preview Labels - Status messages of an
AttachmentPreview. Unset fields keep the English default. - Attachment
Preview Props - Props for
AttachmentPreview. - Attachment
Props - Props for
Attachment. - Autocomplete
Props - Props for
Autocomplete. - Avatar
Props - Props for
Avatar. - Back
ToTop Props - Props for
BackToTop. - Backdrop
Props - Props for
Backdrop. - Badge
Props - Props for
Badge. - BarChart
Props - Props for
BarChart. - BoxPlot
Datum - One distribution in a
BoxPlot: either all five statistics or none of them. - BoxPlot
Props - Props for
BoxPlot. - BoxPlot
Statistic Labels - Names of the five statistics and the outliers, shown in labels and the table.
- Breadcrumb
Item - One entry of a
Breadcrumbtrail. - Breadcrumb
Props - Props for
Breadcrumb. - Bubble
Props - Props for
Bubble. - Bullet
Chart Props - Props for
BulletChart. - Bullet
Chart Range - A qualitative band of a
BulletChart, such as “Poor” or “Good”, ending atend. - Button
Group Props - Props for
ButtonGroup. - Button
Link Props - Props for
ButtonLink. - Button
Props - Props for
Button. - Calendar
Heatmap Datum - One day’s measurement for a
CalendarHeatmap. - Calendar
Heatmap Props - Props for
CalendarHeatmap. - Calendar
Labels - Text the date controls show. Every field is optional; unset fields use the built-in English
copy (or the navigation labels of the
localelanguage pack). - Calendar
Props - Props for
Calendar. - Callout
Props - Props for
Callout. - Card
Part Props - Props shared by the card parts.
- Card
Props - Props for
Card. - Carousel
Button Props - Props for
CarouselPreviousandCarouselNext. - Carousel
Item Props - Props for
CarouselItem. - Carousel
Props - Props for
Carousel. - Carousel
Viewport Props - Props for
CarouselViewport. - Cascader
Option - One option, with optional sub-options shown in the next column.
- Cascader
Props - Props for
Cascader. - Change
Summary Item - One compared field of a
ChangeSummary. - Change
Summary Props - Props for
ChangeSummary. - Character
Count Props - Props for
CharacterCount. - Character
Count Snapshot - The count, the characters left, and the visible text for a value and limit.
- Character
Count Template - A message with a
{count}placeholder, with an optional singular form. - Chart
Bounds - Optional domain bounds; a missing bound is calculated from the data.
- Chart
Comparison Datum - One row of a
LollipopChartorDumbbellChart. - Chart
Datum - One data point of a
ChartSeries. - Chart
Domain - A numeric domain from
mintomax. - Chart
Labels - The visible and assistive text of every chart. Override fields with struct update syntax:
ChartLabels { empty: "Nothing yet".into(), ..ChartLabels::default() }. - Chart
Motion Props - Props for
ChartMotion. - Chart
Props - Props for
Chart. - Chart
Series - A named sequence of
ChartDatumvalues. - Chart
Summary - Facts about a chart’s data, passed to
ChartLabels::format_summary. - Checkbox
Card Props - Props for
CheckboxCardandRadioCard. - Checkbox
Group Item Props - Props for
CheckboxGroupItem. - Checkbox
Group Props - Props for
CheckboxGroup. - Checkbox
Props - Props for
CheckboxandSwitch. - Code
Props - Props for
Code(). - Code
Tabs Item - One tab of a
CodeTabs. - Code
Tabs Props - Props for
CodeTabs. - Collapsible
Content Props - Props for
CollapsibleContentandAccordionContent. - Collapsible
Props - Props for
Collapsible. - Collapsible
Trigger Props - Props for
CollapsibleTriggerandAccordionTrigger. - Color
Picker Props - Props for
ColorPicker. - Combo
Chart Props - Props for
ComboChart. - Combo
Chart Series - A series of a
ComboChartand how it is drawn. - Combobox
Props - Props for
Combobox. - Command
Empty Props - Props for
CommandEmpty. - Command
Input Props - Props for
CommandInput. - Command
Item Props - Props for
CommandItem. - Command
List Props - Props for
CommandList. - Command
Props - Props for
Command. - Container
Props - Props for
Container. - Context
Menu Controller - Open state, position, and trigger of a
ContextMenu, likeuseContextMenuin lumen-react. - Context
Menu Props - Props for
ContextMenu. - Context
Menu Trigger Props - Props for
ContextMenuTrigger. - Context
Navigation Props - Props for
ContextNavigation. - Copy
Button Props - Props for
CopyButton. - Country
Flag Props - Props for
CountryFlag. - Cover
Image Props - Props for
CoverImage. - Data
Table Cell - One cell value: the visible text and an optional sort value.
- Data
Table Column - One column of a
DataTable. - Data
Table Filter - An exact-match column filter of a
DataTableViewState. - Data
Table Layout Controls Props - Props for
DataTableLayoutControls. - Data
Table Layout Labels - Copy for
DataTableLayoutControls. - Data
Table Layout State - Column preferences: order, widths, and pins. No row values or selection are kept.
- Data
Table Pagination - Pagination of a
DataTableViewState. - Data
Table Props - Props for
DataTable. - Data
Table Row - One record: an optional id and its cells keyed by column key.
- Data
Table Saved View - A named, saved
DataTableViewState. - Data
Table Saved Views Labels - Copy for
DataTableSavedViews. - Data
Table Saved Views Props - Props for
DataTableSavedViews. - Data
Table Sort - One sort criterion.
- Data
Table Sort Controls Props - Props for
DataTableSortControls. - Data
Table View Column - One column of a
DataTableView. - Data
Table View Labels - Copy for a
DataTableView.pageuses{page},{pages}, and{count}placeholders. - Data
Table View Page - The result of applying a
DataTableViewStateto rows. - Data
Table View Props - Props for
DataTableView. - Data
Table View Result - What a
DataTableViewhands to itsrendercallback. - Data
Table View State - Serializable view preferences: search, filters, visibility, pagination, sorting, density. Records and selection stay outside the state.
- Date
Picker Props - Props for
DatePicker. - Date
Range Picker Props - Props for
DateRangePicker. - Date
Range Picker Value - The start and end dates of a
DateRangePicker; unset ends areNone. - Description
Detail Props - Props for
DescriptionDetail. - Description
Item Props - Props for
DescriptionItem. - Description
Term Props - Props for
DescriptionTerm. - Descriptions
Item - One plain-text row of
Descriptions. - Descriptions
Props - Props for
Descriptions. - Device
Frame Props - Props for
DeviceFrame. - Dialog
Close Props - Props for
DialogClose. - Dialog
Controller - Open state and trigger of a dialog, shared by a
DialogTriggerand the dialog it opens. - Dialog
Form Failure - A failed
DialogFormrequest, like a rejectedsubmitpromise in lumen-react. The dialog stays open, keeps every value, and shows itsfailure_message. - Dialog
Form Props - Props for
DialogForm. - Dialog
Form State - What a
DialogFormhands itsrenderfunction, like the state lumen-react passes to a function child. - Dialog
Form Values - The values a
DialogFormsubmitted, like theFormDatalumen-react passes tosubmit. - Dialog
Part Props - Props shared by
DialogHeader,DialogBody, andDialogFooter. - Dialog
Props - Props for
Dialog. - Dialog
Surface Props - Props shared by
AlertDialogandDrawer. - Dialog
Title Props - Props for
DialogTitle. - Dialog
Trigger Props - Props for
DialogTrigger. - Direction
Props - Props for
Direction. - Dropdown
Menu Content Props - Props for
DropdownMenuContent. - Dropdown
Menu Item Props - Props for
DropdownMenuItemandContextMenuItem. - Dropdown
Menu Props - Props for
DropdownMenu. - Dropdown
Menu Separator Props - Props for
DropdownMenuSeparator. - Dropdown
Menu Trigger Props - Props for
DropdownMenuTrigger. - Dumbbell
Chart Props - Props for
DumbbellChart. - Empty
Props - Props for
Empty. - Error
State Props - Props for
ErrorState. - Error
Summary Props - Props for
ErrorSummary. - Eyebrow
Props - Props for
Eyebrow. - Feature
Grid Item Props - Props for
FeatureGridItem. - Feature
Grid Props - Props for
FeatureGrid. - Field
Error Props - Props for
FieldError. - Field
Props - Props for
Field. - File
Upload Props - Props for
FileUpload. - Filter
BarFilter - One active criterion of a
FilterBar. - Filter
BarProps - Props for
FilterBar. - Floating
Badge Props - Props for
FloatingBadge. - Form
Errors - Validation errors for a whole form: form-level messages and field messages, like lumen-core’s
LumenFormErrors. - Form
Field Error - One field’s validation message.
- Form
Props - Props for
Form. - Formatted
Date Props - Props for
FormattedDate. - Formatted
Number Props - Props for
FormattedNumber. - Funnel
Chart Datum - One stage of a
FunnelChart. - Funnel
Chart Props - Props for
FunnelChart. - Gradient
Divider Props - Props for
GradientDivider. - Graphic
Props - Props for
Graphic. - Grid
Props - Props for
Grid. - Heading
Anchor Props - Props for
HeadingAnchor. - Heatmap
Datum - One cell of a
Heatmap. - Heatmap
Props - Props for
Heatmap. - Hero
Props - Props for
Hero. - Histogram
Bin - One application-supplied
Histogrambin fromstarttoend. - Histogram
Props - Props for
Histogram. - Hover
Card Props - Props for
HoverCard. - Illustration
Props - Props for
Illustration. - Image
Comparison Props - Props for
ImageComparison. - Image
Props - Props for
Image. - Inline
Edit Change Detail - A change the person saved in an
InlineEdit, passed toon_value_changebefore the editor closes. - Inline
Edit Labels - Text of an
InlineEdit. Unset or blank fields keep the English default, and{label}becomes the field label, likeresolveLumenInlineEditLabelsin lumen-core. - Inline
Edit Props - Props for
InlineEdit. - Input
Group Props - Props for
InputGroup. - InputOTP
Props - Props for
InputOTP. - Input
Props - Props for
Input. - Install
Command Props - Props for
InstallCommand. - Item
Props - Props for
Item. - Kanban
Board Props - Props for
KanbanBoard. - Kanban
Column Props - Props for
KanbanColumn. - Kanban
Handle Props - Props for
KanbanHandle. - Kanban
Item Props - Props for
KanbanItem. - Kanban
Move Detail - A request to move a kanban item between columns, like
LumenKanbanMoveDetail. - KbdProps
- Props for
Kbd. - Label
Props - Props for
Label. - Language
Toggle Locale - One language offered by a
LanguageToggle. - Language
Toggle Props - Props for
LanguageToggle. - Line
Chart Annotation - A labelled reference line on a
LineChart. - Line
Chart Props - Props for
LineChart. - Link
Props - Props for
Link. - List
BoxGroup - A labelled run of options in a
ListBox, like consecutive lumen-react options that share asection. - List
BoxProps - Props for
ListBox. - Load
More Props - Props for
LoadMore. - Load
More Request - A request for the next page.
- Lollipop
Chart Props - Props for
LollipopChart. - Lumen
Theme Props - Props for
LumenTheme. - Marker
Props - Props for
Marker. - Marquee
Props - Props for
Marquee. - Media
Filmstrip Props - Props for
MediaFilmstrip. - Media
Thumbnail Props - Props for
MediaThumbnail. - Media
Viewport Labels - Toolbar labels of a
MediaViewport. Unset fields keep the English default. - Media
Viewport Props - Props for
MediaViewport. - Media
Viewport Value - Zoom and pan of a
MediaViewport.zoomis relative to fit;xandyare fractions of the available pan extent, from -1 to 1. - Mentions
Props - Props for
Mentions. - Menubar
Item Props - Props for
MenubarItem. - Menubar
Props - Props for
Menubar. - Message
Actions Props - Props for
MessageActions. - Message
Feedback Detail - The request a
MessageActionsemits when the person rates a message. - Message
Props - Props for
Message. - Message
Retry Detail - The request a
MessageActionsemits when the person asks for a new response. The application owns regeneration. - Message
Scroller Jump Props - Props for
MessageScrollerJump. - Message
Scroller Props - Props for
MessageScroller. - Meter
Props - Props for
Meter. - Meter
Range - The clamped range a
Metershows, like the native<meter>element. - Motion
Group Props - Props for
MotionGroup. - Native
Select Props - Props for
NativeSelect. - Navigation
Menu Link Props - Props for
NavigationMenuLink. - Navigation
Menu Props - Props for
NavigationMenu. - Note
Props - Props for
Note. - Number
Field Decimal - An exact, ungrouped decimal number: a coefficient and a scale (
coefficient / 10^scale). - Number
Field Options - Bounds, step, and locale for
number_field_in_boundsandnumber_field_step_draft, like lumen-core’sLumenDecimalOptions. - Number
Field Props - Props for
NumberField. - Page
Header Props - Props for
PageHeader. - Page
NavLabels - Localizable
PageNavcopy. Blank values fall back to the English defaults. - Page
NavLink - One side of a
PageNav: the destination and the title of the page it leads to. - Page
NavProps - Props for
PageNav. - Pagination
Labels - Localized names for a
Pagination. Blank values fall back to the English defaults. - Pagination
Props - Props for
Pagination. - Parallax
Props - Props for
Parallax. - Particles
Props - Props for
Particles. - Password
Field Props - Props for
PasswordField. - Phone
Input Country - A country the phone input can offer.
- Phone
Input Number - A parsed phone value.
- Phone
Input Props - Props for
PhoneInput. - Phone
Number Props - Props for
PhoneNumber. - PieChart
Props - Props for
PieChart. - Pill
Props - Props for
Pill. - Popconfirm
Props - Props for
Popconfirm. - Popover
Panel Props - Props for
PopoverPanel. - Popover
Props - Props for
Popover. - Popover
Trigger Props - Props for
PopoverTrigger. - Progress
Props - Props for
Progress. - Progress
State - The clamped values a
Progressrenders, matchingnormalizeLumenProgressinlumen-core. - Prompt
Composer Props - Props for
PromptComposer. - Prompt
Composer Submit Detail - The request a
PromptComposeremits when the user sends a prompt. - Prompt
Suggestion - A starter prompt offered by
PromptSuggestions. - Prompt
Suggestion Detail - The request a
PromptSuggestionsemits when the person chooses a suggestion. - Prompt
Suggestions Props - Props for
PromptSuggestions. - Prose
Props - Props for
Prose. - QRCode
Props - Props for
QRCode. - Radio
Group Item Props - Props for
RadioGroupItem. - Radio
Group Props - Props for
RadioGroup. - Range
Chart Datum - One interval of a
RangeChart. - Range
Chart Props - Props for
RangeChart. - Rating
Props - Props for
Rating. - Reasoning
Open Options - The inputs of
resolve_reasoning_open. - Reasoning
Props - Props for
Reasoning. - Reorderable
List Detail - Details of a committed move.
- Reorderable
List Item - One item of a
ReorderableList. - Reorderable
List Labels - Copy for
ReorderableListcontrols and announcements.{item}is the item label,{position}its one-based position, and{count}the number of items. - Reorderable
List Props - Props for
ReorderableList. - Resizable
Panel Props - Props for
ResizablePanel. - Resizable
Props - Props for
Resizable. - Resolved
Prompt Suggestion - A suggestion ready to render: a visible label and the prompt it sends.
- Reveal
Group Props - Props for
RevealGroup. - Rich
Text Editor Change - The editor content after an edit or command.
- Rich
Text Editor Command Detail - A command the editor ran.
- Rich
Text Editor Command Props - Props for
RichTextEditorCommand. - Rich
Text Editor Content Props - Props for
RichTextEditorContent. - Rich
Text Editor Props - Props for
RichTextEditor. - Rich
Text Editor Toolbar Props - Props for
RichTextEditorToolbar. - Route
Progress Props - Props for
RouteProgress. - Scatter
Chart Props - Props for
ScatterChart. - Scatter
Chart Reference - A reference line or region drawn behind the points of a
ScatterChart. - Schedule
Conflict - Two events that overlap on the same resource.
- Schedule
Event - One event on a
Schedule. - Schedule
Props - Props for
Schedule. - Schedule
Resize Options - Options for
resize_schedule_event. - Schedule
Resource - A bookable resource, such as a room or a person.
- Schedule
Slot - One cell of a schedule grid: a date, optionally a resource, and the events that start in it.
- Scroll
Area Props - Props for
ScrollArea. - Scroll
Progress Props - Props for
ScrollProgress. - Scroll
Reveal Props - Props for
ScrollReveal. - Search
Dialog Controller - Open state, readiness, and status of a
SearchDialog, shared with itsSearchDialogTriggers. - Search
Dialog Labels - Text of a
SearchDialog. Unset or blank fields keep the English default. - Search
Dialog Props - Props for
SearchDialog. - Search
Dialog Trigger Props - Props for
SearchDialogTrigger. - Search
Field Props - Props for
SearchField. - Search
Result - One search result.
SearchDialogshows a result only when it has a title and anhttp:,https:, or relative link, and drops later results that repeat a link. - Secret
Value Labels - Text of a
SecretValue. Unset or blank fields keep the English default. - Secret
Value Props - Props for
SecretValue. - Section
Header Props - Props for
SectionHeader. - Segmented
Props - Props for
Segmented. - Select
Option - One choice in a
Select,NativeSelect,ListBox,Segmented, orMentionslist, like lumen-react’sSelectOption. - Select
Props - Props for
Select. - Selection
BarCount Label - Count copy for a
SelectionBarorLoadMore.{count}is the formatted count. Forms that are unset fall back toother;zeroapplies to 0 even where the locale has no zero category, as in English. - Selection
BarProps - Props for
SelectionBar. - Separator
Props - Props for
Separator. - Settings
RowControl Props - Attributes a
SettingsRowhands to itscontrolrender function, so the row names and describes the control. Spread them on the control, like lumen-react’sSettingsRowControlProps. - Settings
RowProps - Props for
SettingsRow. - Share
Links Labels - Localized action labels for
ShareLinks. Blank values keep the English default. - Share
Links Link - A resolved share link.
- Share
Links Props - Props for
ShareLinks. - Sheet
Props - Props for
Sheet. - Sidebar
Item Props - Props for
SidebarItem. - Sidebar
Props - Props for
Sidebar. - Sidebar
Trigger Props - Props for
SidebarTrigger. - Site
Footer Props - Props for
SiteFooter. - Site
Header Props - Props for
SiteHeader. - Skeleton
Props - Props for
Skeleton. - Skip
Link Props - Props for
SkipLink. - Slider
Props - Props for
Slider. - Source
Citation Props - Props for
SourceCitation. - Sparkline
Props - Props for
Sparkline. - Speed
Dial Action - One action of a
SpeedDial. - Speed
Dial Props - Props for
SpeedDial. - Spinner
Props - Props for
Spinner. - Split
Text Props - Props for
SplitText. - Stack
Props - Props for
Stack. - Stat
Group Props - Props for
StatGroup. - Stat
Icon Props - Props for
StatIcon. - Stat
Part Props - Props shared by
StatLabel,StatValue, andStatDescription. - Stat
Props - Props for
Stat. - Stat
Trend Props - Props for
StatTrend. - Status
DotProps - Props for
StatusDot. - Stepper
Props - Props for
Stepper. - Stepper
Step - One step of a
Stepper. - Steps
Item Props - Props for
StepsItem. - Steps
Props - Props for
Steps. - Stream
Message Props - Props for
StreamMessage. - Swipe
Card Action - One of the two actions of a
SwipeCard. - Swipe
Card Props - Props for
SwipeCard. - Table
Props - Props for
Table. - Tabs
List Props - Props for
TabsList. - Tabs
Panel Props - Props for
TabsPanel. - Tabs
Props - Props for
Tabs. - Tabs
Trigger Props - Props for
TabsTrigger. - TagGroup
Item Props - Props for
TagGroupItem. - TagGroup
Props - Props for
TagGroup. - Terminal
Line - One line of a
Terminal. - Terminal
Props - Props for
Terminal. - Testimonial
Group Item - One testimonial rendered from data by a
TestimonialGroup. - Testimonial
Group Props - Props for
TestimonialGroup. - Testimonial
Props - Props for
Testimonial. - Text
Roll Props - Props for
TextRoll. - Textarea
Props - Props for
Textarea. - Theme
Builder Contrast Score - A WCAG contrast score (
LumenContrastScore). - Theme
Builder Contrast Suggestion - A readable ink for a background (
LumenThemeContrastSuggestion). - Theme
Builder Editor Props - Props for
ThemeBuilderEditor. - Theme
Builder Options - Inputs for
create_theme_builder_tokens(LumenThemeBuilderOptionswithout presets). - Theme
Builder Props - Props for
ThemeBuilder. - Theme
Builder Result - The output of
create_theme_builder_tokens(LumenThemeBuilderResultwithout presets). - Theme
Builder Tokens - Theme tokens as ordered
(name, value)pairs, like a JavaScript object of strings. - Theme
Toggle Props - Props for
ThemeToggle. - Time
Field Props - Props for
TimeField. - Timeline
Item Props - Props for
TimelineItem. - Timeline
Props - Props for
Timeline. - Timer
Config - A complete, normalized timer configuration.
- Timer
Parts - A duration split into display units. Units that are not shown stay zero.
- Timer
Props - Props for
Timer. - Timer
Snapshot - Everything a timer renders for one moment.
- Toast
Action - An action button inside a toast.
- Toast
Action Handler - The click handler of a
ToastAction. - Toast
Api - Creates, updates, and dismisses the toasts of the nearest
ToastProvider. - Toast
Detail - What to show in a toast, passed to
ToastApi::createandToastApi::update. - Toast
Props - Props for
Toast. - Toast
Provider Props - Props for
ToastProvider. - Toast
Record - A toast held by a
ToastProvider. - Toast
Viewport Props - Props for
ToastViewport. - Toggle
Group Props - Props for
ToggleGroup. - Toggle
Props - Props for
Toggle. - Tool
Activity Props - Props for
ToolActivity. - Toolbar
Props - Props for
Toolbar. - Tooltip
Content Props - Props for
TooltipContent. - Tooltip
Props - Props for
Tooltip. - Tour
Props - Props for
Tour. - Tour
Step - One step of a
Tour. - Transfer
Item - One movable item.
- Transfer
Props - Props for
Transfer. - Tree
Grid Props - Props for
TreeGrid. - Tree
Grid Row - One row of a data-driven
TreeGrid. - Tree
Node - One item of a data-driven
Tree. - Tree
Props - Props for
Tree. - Tree
Select Node - One tree node.
- Tree
Select Props - Props for
TreeSelect. - Typography
Props - Props for
Typography. - View
Progress Props - Props for
ViewProgress. - Virtual
List Props - Props for
VirtualList. - Virtual
List Range - The visible range reported by
on_range_change. - Virtual
List Window - The rows a
VirtualListrenders for one scroll position. - Visual
Effect Props - Props for
VisualEffect. - Visually
Hidden Props - Props for
VisuallyHidden. - Waterfall
Chart Datum - One step of a
WaterfallChart. - Waterfall
Chart Props - Props for
WaterfallChart. - Watermark
Props - Props for
Watermark. - World
MapBounds - An axis-aligned rectangle in
viewBoxunits. - World
MapCountry - One country’s projected SVG path and label anchor.
- World
MapMarker - A consumer-supplied point of interest, placed with the same projection as the countries.
- World
MapPoint - A point in
viewBoxunits. - World
MapProps - Props for
WorldMap. - World
MapSelect Detail - Details sent when a country is selected.
- World
MapView - The visible region of the map: a zoom level and the center of the region in
viewBoxunits. - World
MapZoom Labels - Copy for the
WorldMapzoom controls.
Enums§
- Accordion
Type - How many
Accordionitems may be open at once. - Accordion
Variant - Visual treatment of an
Accordion. - Affix
Position - Edge an
Affixsticks to. - Alert
Variant - Tone of an
Alert. - Amount
Field Error - Why an amount operation failed (lumen-core throws a
RangeError). - Amount
Field Range State - Whether a complete amount is outside its bounds, like lumen-core’s
LumenAmountRangeState. - Animated
Logo Animation - Entrance of an
AnimatedLogo. - Approval
Card Response - The decision an
ApprovalCardrequests. - Approval
Card Status - State of an
ApprovalCardrequest. - Attachment
Preview State - What an
AttachmentPreviewshows. - Avatar
Size - Size of an
Avatar. - Backdrop
Intensity - Strength of a
Backdrop. - Backdrop
Tone - Color of a
Backdrop. - Backdrop
Variant - Pattern drawn by a
Backdrop. - Badge
Variant - Tone of a
Badge. - BarChart
Layout - How a
BarChartarranges several series. - BarChart
Orientation - Which way the bars of a
BarChartgrow. - Button
Link Shape - Shape of a
ButtonLink. - Button
Link Variant - Visual treatment of a
ButtonLink. - Button
Size - Size of a
Button. - Button
Tone - Semantic color, independent of button prominence.
- Button
Variant - Visual treatment of a
Button. - Calendar
Heatmap Week Start - The first day of each calendar column.
- Card
Density - Spacing inside a
Card. - Card
Variant - Visual treatment of a
Card. - Character
Count State - Visual state of a
CharacterCount, also itsdata-statevalue. - Chart
Datum Activation - What a chart reports through
on_datum_activate: data identities and values, never pixel coordinates. - Chart
Motion Duration - The motion token used by a
ChartMotionwrapper. - Chart
Presentation - How much chrome a
Chartdraws around its content. - Chart
Series Dash - An explicit line pattern for a
ChartSeriesinLineChartorComboChart. LeaveChartSeries::dashunset to use the stylesheet’s automatic series patterns. - Chart
Tone - The chart color tokens. Series tones cycle through
series-1toseries-8. - ChartX
- An x value: a category name or a number (a linear value or a millisecond timestamp).
- Checkbox
Card Variant - Surface style of a
CheckboxCardorRadioCard. - Code
Appearance - Header style of a block
Code(). - Code
Theme - Syntax color theme of a
Code(). - Code
Variant - Inline code or a code block.
- Collapsible
Icon - Disclosure indicator of a
Collapsibleor every item of anAccordion. - Combo
Chart Mark - How a
ComboChartSeriesis drawn. - Container
Element - The element rendered by
Container,Grid,Stack, andResizablePanel, like theasprop of@santi020k/lumen-react. - Container
Size - Maximum width of a
Container. - Control
Size - Height of a text control.
- Copy
Button State - Feedback state of a
CopyButton. - Data
Table Density - Row spacing of a
DataTableView. - Data
Table Pin - The side a column is pinned to.
- Data
Table Sort Direction - Sort direction.
- Data
Table Sort Mode - When rows are sorted.
- Data
Table Sort Type - How a column compares values when sorting.
- Device
Frame Device - The device a
DeviceFramedraws. - Device
Frame Orientation - Orientation of a
DeviceFrame. - Device
Frame Tone - Finish of a
DeviceFrame. - Dialog
Layout - Layout of a
Dialog. - Dialog
Title Level - Heading level of a
DialogTitle. - Direction
Value - Text direction set by
Direction. - Empty
Variant - Spacing of an
Emptystate. - Error
State Announce - How an
ErrorStateis announced to assistive technology. - Error
State Kind - The kind of failure an
ErrorStatereports. - Error
State Layout - Layout of an
ErrorState. - Feature
Grid Variant - Framing of a
FeatureGrid. - Form
Status - Where a
Formis in its submission, also itsdata-statusvalue. - Formatted
Date Style - Date length for
FormattedDate: theIntl.DateTimeFormatdateStyleoption. - Formatted
Date Time Style - Time length for
FormattedDate: theIntl.DateTimeFormattimeStyleoption. Times are UTC. - Formatted
Number Currency Display - How
FormattedNumbernames a currency: theIntl.NumberFormatcurrencyDisplayoption. - Formatted
Number Currency Name - When
FormattedNumberreads the full currency name to assistive technology. - Formatted
Number Format - Number style for
FormattedNumber: theIntl.NumberFormatstyleoption. - Formatted
Number Notation - How
FormattedNumberwrites the magnitude: theIntl.NumberFormatnotationoption. - Formatted
Number Sign Display - When
FormattedNumbershows a sign: theIntl.NumberFormatsignDisplayoption. - Formatted
Number Unit Display - How
FormattedNumberwrites a unit: theIntl.NumberFormatunitDisplayoption. - Formatted
Number Value - The value
FormattedNumberformats: a number, or text read the way Lumen’sparseLumenNumberreads it. - Glass
- Glass treatment shared by surfaces such as cards, alerts, fields, and tabs.
- Graphic
Size - Size of a
Graphic. - Graphic
Tone - Color of a
Graphic. - Graphic
Variant - Frame drawn by a
Graphic. - Grid
Columns - Column count of a
Grid. - GridGap
- Gap between
GridandStackchildren, from Lumen’s spacing scale. - Heading
Anchor Level - Heading level of a
HeadingAnchor. The page title (h1) does not take a permalink. - Heatmap
Color Scale - How a
Heatmapmaps values to color. - Hero
Layout - Arrangement of a
Hero. - Histogram
Frequency - What a
Histogrambar height measures. - Illustration
Size - Size of an
Illustration. - Illustration
Tone - Color of an
Illustration. - Illustration
Variant - Artwork drawn by
Illustration, from Lumen’s graphics catalog. - Image
Comparison Mode - How an
ImageComparisonshows its images. Switching modes keeps the reveal position. - Image
Fit - How an
Imagefills its box. - Image
Loading - Loading strategy of an
Image. - Image
Radius - Corner radius of an
Image. - InputOTP
Input Mode - The
inputmodeof anInputOTP, which picks the on-screen keyboard. - InputOTP
Length Error - Why
input_otp_normalize_numericrejected its configuration. - Item
Element - The element an
Itemrenders. - Kanban
Move Input - How a kanban move was requested.
- Line
Chart Annotation Axis - Which axis a
LineChartAnnotationmarks. - Line
Chart Cursor - The cursor of a controlled interactive
LineChart. - Line
Chart Markers - Which points of a
LineChartget a marker dot. - Line
Chart Scale - How a
LineChartplaces x values. - Link
Variant - Color treatment of a
Link. - Load
More State - Visible state of a
LoadMore. - Lumen
Preset - An optional Lumen appearance preset. Every preset has light and dark variants.
- Lumen
Scheme - Light or dark color scheme.
- Marker
Variant - Tone of a
Marker. - Marquee
Direction - Travel direction of a
Marquee. Inline directions follow the text direction; vertical directions loop within a fixed block size. - Marquee
Gap - Space between
Marqueeitems, from the shared spacing scale. Leave it unset for the responsive default. - Marquee
Outline - Outline treatment of
Marqueetext items. - Marquee
Speed - Loop speed preset of a
Marquee. - Media
Thumbnail State - Loading state of a
MediaThumbnail. - Media
Viewport Action - A
MediaViewportaction. - Message
Feedback - A rating recorded by
MessageActions. - Message
From - Who wrote a
MessageorBubble. - Motion
Duration - Named motion durations from Lumen’s tokens, used by
ScrollReveal,RevealGroup,SplitText, andAnimatedNumber. - Motion
Group Duration - Animation length of a
MotionGroupreflow. - Navigation
Variant - Whether a panel uses Lumen’s styling or only its behavior hooks.
- Note
Border Position - Where a
Notedraws its accent border. - Number
Field Draft - A parsed
NumberFielddraft, like lumen-core’sLumenDecimalDraft. - Number
Field Error - Why a
NumberFieldOptionsconfiguration was rejected (lumen-core throws aRangeError). - Number
Field Step Direction - Which way
number_field_step_draftmoves. - Orientation
- Layout direction shared by separators and tab lists.
- Pagination
Ellipsis - Which hidden run an ellipsis stands for.
- Pagination
Item - One rendered pagination entry: a page target or a collapsed run of hidden pages.
- Particles
Density - How many particles a
Particlesfield holds. - PieChart
Variant - The donut or pie form of a
PieChart. - Pill
Variant - Visual treatment of a
Pill. - Prose
Appearance - Typography treatment of
Prose. - Resizable
Direction - Axis along which a
Resizablelays out its panes. - Reveal
Animation - Entrance style of a
ScrollRevealorRevealGroup. - Reveal
Distance - Travel of a slide-up reveal.
- Rich
Text Editor Mode - How the content region edits text.
- Route
Progress State - Phase of a
RouteProgressbar. - Scatter
Chart Scale - The x scale of a
ScatterChart. - Schedule
Error - Why a schedule operation failed, mirroring the errors
lumen-corethrows. - Schedule
Resize Edge - Which edge
resize_schedule_eventmoves. - Scroll
Progress Position - Edge a
ScrollProgressbar sticks to. - Scroll
Progress Tone - Color of a
ScrollProgressbar. Override any tone with--ui-scroll-progress-color. - Search
Dialog Status - What a
SearchDialogshows below its field. - Secret
Value State - What a
SecretValueshows. - Section
Header Size - Visual hierarchy of a section title, independent of its heading level.
- Selection
BarPlacement - Where a
SelectionBarsticks. - Selection
BarPlural - A plural category, as
Intl.PluralRulesnames them. - Share
Links Result - Outcome of the platform share sheet.
- Share
Links Target - A platform
ShareLinkscan build a share link for. Brand logos are not part of the contract. - Share
Links Variant - Layout of a
ShareLinkslist. - Sheet
Side - The inline edge a
Sheetdocks to and slides in from. - Sidebar
Collapse - How a
Sidebarbehaves on narrow viewports. - Sidebar
Trigger Action - What a
SidebarTriggerdoes to its sheet. - Site
Header Collapse - How a
SiteHeadercollapses its navigation and actions while it is narrower than 40rem. - Skeleton
Animation - Loading animation of a
Skeleton. - Skeleton
Shape - Shape of a
Skeleton. - Skeleton
Size - A
Skeletonwidth or height: pixels, or a CSS length such as0.75remor60%. - Speed
Dial Direction - Direction a
SpeedDialopens toward. - Split
Text By - How a
SplitTextlabel is split. - Split
Text Element - The element a
SplitTextrenders, lumen-react’sasprop. - Split
Text Trigger - When a
SplitTextanimates. - Stack
Align - Cross-axis alignment of
Stackchildren. - Stack
Justify - Main-axis distribution of
Stackchildren. - StatAs
- Element a
Stator one of its text parts renders. - Stat
Tone - Semantic tone that colors the
StatValueandStatIconof aStat. - Stat
Trend Tone - Tone of a
StatTrend. - Stat
Variant - Surface treatment of a
Stat. - Status
DotTone - Semantic color of a
StatusDot. - Stepper
State - Progress of one step relative to the current step.
- Steps
Layout - Arrangement of
Steps. - Stream
Message Status - Lifecycle of a
StreamMessageor aReasoning. - Swipe
Card Axis - Axis a drag is locked to once it travels past the slop. Ties resolve to vertical so a card never hijacks page scrolling.
- Swipe
Card Direction - Logical swipe outcome.
Startfollows the reading direction: left in LTR, right in RTL. - Swipe
Card Tone - Semantic tone of a swipe action’s button and cue.
- Table
Layout - How a
TableorDataTableadapts to narrow widths. - Table
Record Slot - Where a column’s cells go when a
Recordstable stacks into cards, like lumen-core’sLumenTableRecordSlot. - Table
Scroll Cue - The scroll cue of a
Table: a hint shown while the table is wider than its frame. - Terminal
Line Kind - What a
TerminalLineholds. - Terminal
Line Tone - Color of a
TerminalLine. - Testimonial
Group Layout - Layout of a
TestimonialGroup. - Text
Roll Mode - How a
TextRolllabel moves. - Theme
Builder Mode - How
ThemeBuilderpicks colors (LumenThemeBuilderMode). - Theme
Builder Scheme - The color scheme a theme targets (
LumenThemeBuilderScheme). - Timer
Announce - Live-region policy.
- Timer
Format - How the visible value is written.
- Timer
Instant - An instant a
Timercounts to or from. - Timer
Mode - Whether a timer counts down to an instant or up from one.
- Timer
State - What a timer shows at one moment.
- Timer
Unit - A unit a timer can display.
- Toast
Announce - How a toast announces its content to assistive technology.
- Toast
Placement - Corner or edge of the viewport where toasts stack.
- Toast
Variant - Tone of a
Toast. - Tool
Activity Status - Lifecycle of a
ToolActivity. - View
Progress Range - The part of a viewport pass that
ViewProgressmaps to 0..=1. - Visual
Effect Variant - The effect a
VisualEffectdraws. - Waterfall
Chart Kind - How a
WaterfallChartDatumchanges the running balance. - World
MapInitial View - The view a
WorldMapstarts with. - World
MapVariant - How country shapes are filled.
Constants§
- DATA_
TABLE_ LAYOUT_ DEFAULT_ WIDTH - Default column width in pixels.
- DATA_
TABLE_ LAYOUT_ MAX_ WIDTH - Widest column width in pixels.
- DATA_
TABLE_ LAYOUT_ MIN_ WIDTH - Narrowest column width in pixels.
- DATA_
TABLE_ SAVED_ VIEW_ NAME_ LIMIT - Most characters of a new view name.
- LUMEN_
CSS - Lumen’s complete stylesheet, generated from
@santi020k/lumen-core. - METER_
DEFAULT_ VALUE_ LABEL - Default value text of a segmented
Meter, counted frommin. - METER_
MAX_ SEGMENTS - Most slots a segmented
Meterdraws; larger counts render a continuous bar. - PROMPT_
COMPOSER_ DEFAULT_ LIMIT - Default most characters a
PromptComposeraccepts. - REORDERABLE_
LIST_ DRAG_ THRESHOLD - Distance in CSS pixels a pointer must travel on a handle before a drag starts.
- SCHEDULE_
MAX_ RECURRENCES - The most occurrences
expand_recurring_schedule_eventcreates, a safety bound that the JavaScript version does not need because it fails on allocation instead. - SHARE_
LINKS_ DEFAULT_ TARGETS - The default targets:
LinkedIn, X, and email. - SWIPE_
CARD_ AXIS_ SLOP - Travel in pixels before a drag is locked to one axis.
- SWIPE_
CARD_ DISTANCE_ RATIO - Share of the card width a drag must travel to commit.
- SWIPE_
CARD_ FLICK_ DISTANCE - Travel a flick needs before its velocity counts, in pixels.
- SWIPE_
CARD_ MIN_ DISTANCE - Smallest commit distance in pixels.
- SWIPE_
CARD_ VELOCITY_ THRESHOLD - Release speed in pixels per millisecond that commits a shorter flick.
- TERMINAL_
DEFAULT_ PROMPT - The prompt shown before command lines. It is decorative and never copied.
- THEME_
BUILDER_ COLOR_ TOKEN_ NAMES - Semantic color token names, in export order (
lumenSemanticColorTokenNames). - THEME_
BUILDER_ TOKEN_ NAMES - Every token name
ThemeBuilderexports, in export order (lumenTokenNames): the semantic colors, then the glass tokens, then the structure tokens. - TIMER_
DEFAULT_ COMPLETE_ LABEL - Default completion announcement for
TimerAnnounce::MinuteandTimerAnnounce::Complete. - TIMER_
PLACEHOLDER - Text shown, and announced, when the timer has no valid instant to count from or to.
- TIMER_
UNITS - Display units a timer can show, largest first.
- VIRTUAL_
LIST_ DEFAULT_ ITEM_ SIZE - Default row height in CSS pixels.
- VIRTUAL_
LIST_ DEFAULT_ OVERSCAN - Default number of extra rows rendered before and after the visible ones.
- WORLD_
MAP_ LATITUDE_ MAX - Northern edge of the projected latitude band.
- WORLD_
MAP_ LATITUDE_ MIN - Southern edge of the projected latitude band. The dataset leaves out Antarctica.
- WORLD_
MAP_ PAN_ THRESHOLD - Pointer travel, in CSS pixels, before a press on the map becomes a pan instead of a click.
- WORLD_
MAP_ VIEW_ BOX_ HEIGHT - Height of the shared SVG
viewBox, in map units. It spans latitude 84 to -60. - WORLD_
MAP_ VIEW_ BOX_ WIDTH - Width of the shared SVG
viewBox, in map units. It spans longitude -180 to 180. - WORLD_
MAP_ ZOOM_ MAX - Largest zoom level.
- WORLD_
MAP_ ZOOM_ MIN - Smallest zoom level, which shows the whole map.
- WORLD_
MAP_ ZOOM_ STEP - Zoom change for one press of the zoom in or zoom out button.
Functions§
- Accordion
- A stack of disclosures with single or multiple open items.
- Accordion
Content - The content of an
AccordionItem. Same asCollapsibleContent. - Accordion
Item - One
detailsitem of anAccordion, open while its value is in the accordion’s value. - Accordion
Trigger - The trigger of an
AccordionItem. Same asCollapsibleTrigger. - Affix
- Keeps content stuck to an edge while its scroll container moves, with
position: sticky. - Agenda
- A day or event agenda: a header and a list of timed items.
- Alert
- Inline feedback with a semantic tone.
- Alert
Dialog - A confirmation dialog with the
alertdialogrole. Outside clicks do not close it. - Amount
Field - A localized amount input, ported from lumen-react’s
AmountField. - Anchor
- An “On this page” table of contents that marks the section in view.
- Animated
Logo - A wrapper that animates a logo mark in with CSS.
- Animated
Number - A number that counts from
fromtovaluewhen it scrolls into view. Assistive technology reads the final value once. - Animated
Portrait - The animated portrait frame used on profile and hero sections.
- AppHeader
- The top bar of an application shell.
- Approval
Card - Collects an explicit decision for an application-owned pending request.
- Aspect
Ratio - Keeps its content at a fixed width-to-height ratio.
- Attachment
- A file chip: an
<article>, or a link whenhrefis set. - Attachment
List - A list of attachments.
- Attachment
Preview - An image preview of an attachment with loading, error, and unavailable states.
- Autocomplete
- A search input with
role="combobox"that suggests values from a<datalist>. - Avatar
- A user or entity image with a text fallback. Without a fallback, text children such as initials
render as the avatar’s only, centered content. Without
src, a non-emptyaltnames the avatar as an image. - Back
ToTop - A button that returns to the top of the page.
- Backdrop
- A decorative pattern behind a section’s content.
- Badge
- A compact status or classification label.
- BarChart
- Compares values across categories with grouped or stacked bars, with a legend, a screen reader summary, a data table, and optional datum activation.
- BoxPlot
- Distributions side by side: whiskers, quartile box, median, and outliers for each row on a shared scale, with exact values in the table or a screen reader list.
- Breadcrumb
- The path from the site root to the current page.
- Bubble
- A chat bubble.
- Bullet
Chart - Progress toward a goal: the actual value as a bar, the target as a marker, and optional qualitative bands behind them.
- Button
- A button with Lumen’s variants, sizes, and loading state.
- Button
Group - Joins related buttons into one segmented control.
- Button
Link - A link styled as a button, for navigation that looks like an action.
- Calendar
- A month grid for picking one date, following the WAI-ARIA date grid pattern.
- Calendar
Heatmap - A year of daily activity: one square per day, grouped into week columns, shaded by value. Days without a measurement show a cross and read “Not available”.
- Callout
- A highlighted note set apart from the surrounding content.
- Card
- A grouped surface. Compose it with
CardHeader,CardTitle,CardDescription,CardContent, andCardFooter. - Card
Content - Main content of a
Card. - Card
Description - Supporting text under a
CardTitle. - Card
Footer - Footer of a
Card, usually actions. - Card
Header - Header area of a
Card: title, description, and header actions. - Card
Title - Title of a
Card. - Carousel
- A horizontally scrolling set of slides with previous and next controls.
- Carousel
Item - One slide, rendered as an
<article>like the Lumen carousel examples. - Carousel
Next - Scrolls the carousel forward by one page.
- Carousel
Previous - Scrolls the carousel back by one page.
- Carousel
Viewport - The scroll-snapping row of slides (
data-ui-carousel-viewport). - Cascader
- A cascading select. Picking an option with children opens its column; picking a final option sets the value, closes the panel, and returns focus to the trigger.
- Change
Summary - Compares current and proposed values with a visible changed state per field.
- Character
Count - Shows the characters left for an input or textarea and announces politely only at thresholds and when crossing the limit. It never truncates input.
- Chart
- A captioned figure that frames a visualization: heading, description, headline value, a screen reader summary, the content, and a caption.
- Chart
Motion - Wraps a chart so data updates read as motion, without delaying accessible data.
- Checkbox
- A checkbox that renders the same in browsers and in Dioxus Native.
- Checkbox
Card - A descriptive checkbox choice: a card with a label, an optional description, icon, and metadata.
- Checkbox
Group - A fieldset without a frame that groups related checkboxes under one legend.
- Checkbox
Group Item - One labelled checkbox in a
CheckboxGroup. - Code
- Inline code, or a code block with syntax highlighting, a header, and an optional copy button.
- Code
Tabs - Tabbed code examples, such as the same install command for several package managers.
- Collapsible
- A single
detailsdisclosure with controlled or uncontrolled open state. - Collapsible
Content - The content of the surrounding
CollapsibleorAccordionItem,hiddenwhile closed. - Collapsible
Trigger - The
summarythat toggles the surroundingCollapsibleorAccordionItem. - Color
Picker - A native color input for brand swatches and color tokens.
- Combo
Chart - Combines bars with lines or areas that share one value scale, such as revenue bars with a margin line, with a legend, a data table, and optional datum activation.
- Combobox
- An editable combobox: a text input with a list of suggestions that filters as you type.
- Command
- A command palette: a search field that filters a list of actions.
- Command
Empty - A message shown while a query matches no
CommandItem. - Command
Input - The search field of a
Command. Renders a LumenInputof typesearch. - Command
Item - One action of a
Command. Hidden while the query does not match its text. - Command
List - An optional wrapper that groups the items of a
Command. - Container
- Centers page content and caps its width.
- Context
Menu - A menu of actions for an element, opened at the pointer by a
ContextMenuTrigger. - Context
Menu Item - A
menuitembutton for aContextMenu. It renders likeDropdownMenuItem. - Context
Menu Trigger - A Lumen button that opens its
ContextMenuon right-click, theContextMenukey, or Shift+F10. - Context
Navigation - Navigation that changes with a context switcher, such as docs for one platform.
- Copy
Button - Copies text and shows copied or failed feedback that resets after a moment.
- Country
Flag - A country flag: an image when
sourceis set, otherwise the region code. - Cover
Image - A cropped cover image frame for cards and article headers.
- Data
Table - Styles dense tabular data: sortable headers (with optional multi-sort), row selection, expandable record details, loading and empty rows, and records or condensed layouts for narrow widths.
- Data
Table Layout Controls - Width, order, and pin controls for each column. Apply
data_table_layout_column_keysanddata_table_layout_styleto the table’s headers and cells. - Data
Table Saved Views - Apply, save, update, remove, and reset saved table views. Persistence is the application’s: the component calls back and stores nothing itself.
- Data
Table Sort Controls - A select and a direction toggle that drive the same sort as the table headers, for narrow layouts and toolbars.
- Data
Table View - A view controller around an application-rendered table, like lumen-react’s
DataTableView: search, exact-match filters, column visibility, density, sorting, and pagination, in client or server mode. - Date
Picker - A date field: a button that shows the value and opens a
Calendarin a dialog, plus a hidden native<input type="date">that submits the value with forms. - Date
Range Picker - Groups a start and an end
DatePicker. After mounting, the first picker is marked as the start and the last as the end, the start cannot be later than the end (and the reverse), and the root reportsdata-range-state. - Description
Detail - The detail of a
DescriptionItem. - Description
Item - One rich row of
Descriptions. - Description
Term - The term of a
DescriptionItem. - Descriptions
- A key-value description list laid out in columns.
- Device
Frame - A device frame around a screenshot, an
iframe, or live content. - Dialog
- A modal dialog with Lumen’s dialog surface.
- Dialog
Body - The main content of a dialog.
- Dialog
Close - A Lumen button that closes the dialog it is in. Inside a pending
DialogFormit is disabled, and a locked dialog stays open. - Dialog
Footer - The
<footer>of a dialog, usually actions. - Dialog
Form - The form of a
DialogorAlertDialog. PlaceDialogHeader,DialogBody, andDialogFooterinside it. - Dialog
Header - The
<header>of a dialog, usually aDialogTitleand a description. - Dialog
Title - The title of a dialog.
- Dialog
Trigger - A Lumen button that opens a dialog and gets focus back when the dialog closes.
- Direction
- Sets
diron a wrapper and shares it with descendants throughuse_direction. - Drawer
- A modal panel that slides up from the bottom, for filters and quick actions.
- Dropdown
Menu - A button that opens a menu of actions.
- Dropdown
Menu Content - The
menupanel of aDropdownMenu. A click outside the open panel closes it. - Dropdown
Menu Item - A
menuitembutton. Choosing it closes the menu. - Dropdown
Menu Separator - A line between groups of menu items.
- Dropdown
Menu Trigger - The button that opens a
DropdownMenu. - Dumbbell
Chart - Before-and-after pairs: each row connects a reference dot to the current value.
- Empty
- An empty state for lists, searches, and panels with nothing to show yet.
- Error
State - A recoverable failure: an illustration, a titled explanation, an optional reference, and recovery actions.
- Error
Summary - Lists a form’s errors under a heading, each linked to its control, so keyboard users can
jump straight to the field. Focus it after a failed submission; it has
tabindex="-1". Inside aDialogForm, the form focuses it when no error control can take focus. - Eyebrow
- A short kicker shown above a heading.
- Feature
Grid - A responsive list of product features.
- Feature
Grid Item - One feature inside
FeatureGrid. Icon and index markers are decorative. - Field
- Groups a label, a control, and its validation message.
- Field
Error - The validation message of a
Field. - File
Upload - A drop zone around a native file input. Clicking opens the file dialog; dragging files over
the zone sets
data-state="drag-over"; the selected file names are announced politely. - Filter
Bar - Groups application-owned dashboard filters, the active criteria, and a result announcement.
- Floating
Badge - A badge pinned to the corner of a positioned parent, such as an avatar or icon button.
- Form
- A form with Lumen’s vertical rhythm and a
data-statushook for submission states. - Formatted
Date - A
<time>element for display dates. - Formatted
Number - A display-only number. Renders
<data value>with the machine-readable number; compact numbers, units, and ambiguous currency symbols add a screen-reader-only long reading, such as “1.2 thousand US dollars” for a visible “$1.2K”. - Funnel
Chart - Stage-by-stage drop-off, such as visits to sign-ups to purchases. Bars are sized relative to the largest stage; unknown stages show “Not available”.
- Gradient
Divider - A decorative horizontal rule that fades in from both sides.
- Graphic
- A decorative frame around an icon or mark.
- Grid
- A responsive CSS grid on Lumen’s spacing scale.
- Heading
Anchor - A section heading with a permalink and a copy-link button.
- Heatmap
- Shows a value for every row and column pair, with a color legend, a data table, and optional
datum activation. Missing cells are marked with
×. - Hero
- A landing hero labelled by its own heading.
- Histogram
- A distribution over application-supplied bins: bar widths follow the bin boundaries, and heights show counts or densities.
- Hover
Card - A preview card that opens while the pointer or focus is on its trigger.
- Illustration
- Line artwork for empty, success, error, and offline states, drawn from Lumen’s graphics catalog.
- Image
- A responsive image with Lumen’s fit, radius, and dark-mode treatments.
- Image
Comparison - Compares a before and after image. In reveal mode, the slider, a drag on the frame, or the arrow, Page Up, Page Down, Home, and End keys move the divider.
- Inline
Edit - Shows one value as text with an Edit button that swaps in a labelled field with Save and Cancel.
- Input
- A single-line text input.
- Input
Group - Wraps an input with inline prefixes or suffixes, such as a currency sign, a unit, or an icon, inside one bordered control.
- InputOTP
- A one-time code field, ported from lumen-react’s
InputOTPanduseInputOTP. - Install
Command - A one-line command with a copy button.
- Item
- A list row or tile that lines up media, text, and actions.
- Kanban
Board - A horizontally scrolling board of
KanbanColumns. - Kanban
Column - One column of a
KanbanBoard. Highlights as a drop target while an item is dragged over it. - Kanban
Handle - The move control of a
KanbanItem(data-ui-kanban-handle), styled like a Lumen button. - Kanban
Item - One card in a
KanbanColumn(data-ui-kanban-item). - Kbd
- A keyboard key or shortcut.
- Label
- A form label.
- Language
Toggle - A button that switches to the next language in a list.
- Line
Chart - Plots one or more series as lines or areas, with optional inspection (arrow keys,
Home,End,Escape, and pointer hover or press), synchronized cursors, annotations, a legend, a screen reader summary, and a data table. - Link
- An inline text link.
- ListBox
- An always-visible list of options with single or multiple selection, following the WAI-ARIA
listbox pattern: the list is one focus stop and
aria-activedescendantmarks the active option. - Load
More - A “Load more” control for a feed. It never fetches: activating it (or, with
auto, the end of the feed scrolling into view) callson_load_more, and the app updatesloading,has_more, anderror. Finished loads are announced politely. - Lollipop
Chart - A ranking of single values: each row draws a stem from zero to a dot.
- Lumen
Styles - Embeds
LUMEN_CSSin a<style>element. Render it once, near the root of the app. - Lumen
Theme - Applies a Lumen color scheme and appearance preset to its children, and paints the canvas background, text color, and font.
- Marker
- A small numbered or labelled point, such as a step or map pin label.
- Marquee
- A looping band of short items such as logos, tags, or announcements.
- Media
Filmstrip - An ordered strip of media thumbnails with a heading and a selection status.
- Media
Thumbnail - A selectable media thumbnail: a toggle button with a preview, label, order badge, and state.
- Media
Viewport - A media stage that zooms and pans, with a toolbar. The stage takes focus: arrow keys pan,
+and-zoom, and Home fits; dragging pans while zoomed in. - Mentions
- A textarea that suggests mentions: typing the trigger (
@by default) followed by letters, digits, or underscores lists the matching options. - Menubar
- A horizontal bar of application menus with one tab stop and arrow-key movement.
- Menubar
Item - A
menuitembutton inside aMenubar. - Message
- One message in a conversation.
- Message
Actions - Copy, retry, and rating actions under an assistant message.
- Message
Scroller - A scrolling conversation that can keep the newest message in view.
- Message
Scroller Jump - A button inside a
MessageScroller(data-ui-message-jump) that is hidden at the end and scrolls back to the newest message. - Meter
- A native
<meter>for a measurement in a known range, with optional quota segments. - Motion
Group - A container whose keyed children (
data-ui-motion-key) keep their identity across updates. - Native
Select - A styled native
<select>. Use it when the platform picker is a requirement; otherwise preferSelect, which also works on Dioxus Native. - Navigation
Menu - A row of primary navigation links.
- Navigation
Menu Link - A link inside a
NavigationMenu. Outside one it is a plain link. - Note
- An editorial aside with an optional label and an accent border.
- Number
Field - A number input:
<input type="number" class="ui-input ui-number-field">, like lumen-react. - Page
Header - The top of a page or app view: eyebrow, title, description, actions, and a leading tile.
- PageNav
- Previous and next links between pages of a series.
- Pagination
- Page navigation for paged content.
- Parallax
- Moves its direct children while the root crosses the viewport, with a CSS scroll-driven animation. Decorative only: children rest in place where scroll-driven animations are unsupported (Dioxus Native today) or motion is reduced.
- Particles
- A decorative field of drifting particles, hidden from assistive technology.
- Password
Field - A labelled password input with an icon toggle that shows or hides the text.
- Phone
Input - A phone field: a country select with calling codes and flags, and a number input that formats as you type, validates against libphonenumber metadata, and reports an E.164 value.
- Phone
Number - A read-only phone number with its country flag: the E.164 value when valid, otherwise the typed text, or an em dash when empty.
- PieChart
- Shows how parts make up a whole, with a legend, a share table, and optional datum activation.
- Pill
- A rounded tag or filter chip, optionally a link, with an optional count.
- Popconfirm
- A trigger button with a small confirmation panel, for actions that need a second click.
- Popover
- A button that toggles a floating panel of rich content.
- Popover
Panel - The floating panel of a
PopoverorHoverCard. Escape inside it closes it. - Popover
Trigger - The Lumen button that toggles a
PopoverorHoverCardpanel. - Progress
- A determinate progress bar with
progressbarsemantics. - Prompt
Composer - An accessible prompt input with send and stop requests.
- Prompt
Suggestions - Starter prompts that fill a
PromptComposer. - Prose
- Styles plain HTML content such as rendered Markdown.
- QRCode
- A QR code for a URL or text, with the value as its caption.
- Radio
Card - A descriptive radio choice: a card with a label, an optional description, icon, and metadata.
- Radio
Group - A fieldset without a frame, for one choice among several.
- Radio
Group Item - One labelled radio in a
RadioGroup. - Range
Chart - Shows a low-to-high range per category (forecast bands, min and max temperatures), with a data table and optional datum activation.
- Rating
- A row of star buttons. Each star is named
Rate {star} out of {max}; activating one sets the rating, which lumen-react leaves to the application. - Reasoning
- A collapsible view of a model’s reasoning.
- Reorderable
List - A vertical list whose items reorder by keyboard (Space or Enter on a handle to grab, arrow keys, Home, and End to move, Space or Enter to drop, Escape to cancel), with optional Move up and Move down buttons, or by dragging a handle where the renderer reports pointer events.
- Resizable
- Panes separated by handles that resize the panes on either side.
- Resizable
Panel - One pane of a
Resizable. Every pane after the first renders the handle before it. - Reveal
Group - Reveals its direct children one after another when the group scrolls into view.
- Rich
Text Editor - A rich text editor frame. Compose it from
RichTextEditorToolbar,RichTextEditorCommand, andRichTextEditorContent. - Rich
Text Editor Command - A ghost icon button that runs an editing command. Toggle commands report
aria-pressed, anddata-stateisonwhile the command (or theformatBlockvalue) is active. - Rich
Text Editor Content - The editable region:
contenteditablewithrole="textbox"andaria-multiline, or a<textarea>in plain mode. Ctrl or Cmd shortcuts run the matching commands. - Rich
Text Editor Toolbar - The editor’s
toolbar. - Route
Progress - A thin top loading bar for page transitions.
- Scatter
Chart - Plots numeric relationships as points or bubbles, with reference lines and regions, a legend, a data table, and optional datum activation.
- Schedule
- A resource or week schedule grid. Lay out its slots with
create_schedule_slotsand update events withmove_schedule_eventandresize_schedule_events. - Scroll
Area - A bordered region that scrolls its overflowing content.
- Scroll
Progress - A reading progress bar fixed to the top or bottom of the viewport.
- Scroll
Reveal - Fades or slides its content in when it scrolls into view.
- Search
Dialog - A modal site search: a field, a live status, a retry button, and result links from an async provider. Arrow keys move between the field and the results, Enter follows the first result, and following a result closes the dialog.
- Search
Dialog Trigger - A link to the search page that opens its
SearchDialogonce the dialog is mounted. While the shortcut listener runs it shows the platform’s shortcut hint and announcesaria-keyshortcuts. - Search
Field - A text input for search queries. Name it with a
Label,aria_label, oraria_labelledby. - Secret
Value - A masked secret with Show and Hide, an optional copy action, and an optional automatic hide.
- Section
Header - A heading row for a section inside a page, with an optional neutral count.
- Segmented
- A row of mutually exclusive options, like a radio group drawn as a segmented button.
- Select
- Lumen’s default option list: a
comboboxtrigger that opens alistboxof options, with keyboard navigation and typeahead, plus a hidden native<select>for labels and validation. - Selection
Bar - A floating bulk-action bar for a multi-select list.
- Separator
- A thematic break between groups of content.
- Settings
Row - A label and description on the start side with a control on the end side. It stacks in narrow containers.
- Share
Links - Copy-link, native share, and platform share links for one URL.
- Sheet
- A modal panel that slides in from an inline edge: the end by default, for details and
settings, or the start with
SheetSide::Start, for start-edge panels such as filters. - Sidebar
- The side panel of an application shell.
- Sidebar
Item - A sidebar navigation link with an optional icon, a two-line label, and a trailing count.
- Sidebar
Trigger - A ghost
Buttonthat opens or closes aSidebarrendered withcollapse: SidebarCollapse::Sheet. - Site
Footer - A website footer with brand, navigation groups, and a legal row.
- Site
Header - A public website header whose navigation collapses behind a menu toggle on narrow widths.
- Skeleton
- A placeholder block shown while content loads. Decorative unless named.
- Skip
Link - A link that stays hidden until it receives keyboard focus, for skipping repeated navigation.
- Slider
- A range slider:
<input type="range" class="ui-slider">, like lumen-react. - Source
Citation - A named source link restricted to safe web URLs and local paths.
- Sparkline
- A small 120 × 40 trend line for tables, stats, and inline text.
- Speed
Dial - A floating button that fans out a short menu of related actions.
- Spinner
- An indeterminate loading indicator.
- Split
Text - Splits text into masked spans that rise in sequence; assistive technology reads one visually hidden copy.
- Stack
- A one-dimensional flex layout on Lumen’s spacing scale.
- Stat
- A single metric: a label, a prominent value, and optional icon, trend, and description.
- Stat
Description - Supporting context under a
StatValue. - Stat
Group - A responsive row of
Stats that wraps on narrow widths. - Stat
Icon - The icon region of a composed
Stat. - Stat
Label - The label of a composed
Stat. - Stat
Trend - A metric delta with a semantic tone.
- Stat
Value - The prominent value of a composed
Stat. - Status
Dot - A small colored dot for presence and health. Decorative unless it has a
label. - Stepper
- Progress through an ordered, multi-step process.
- Steps
- Numbered documentation or quick-start steps. Numbering works without JavaScript.
- Steps
Item - One step inside
Steps. The marker is hidden from screen readers unless announced. - Stream
Message - An assistant message that separates streaming content from concise status announcements.
- Swipe
Card - A card the user swipes toward the start or end to choose one of two actions.
- Switch
- An on/off switch, rendered as
<button role="switch">for the same reason asCheckbox. - Table
- Styles a semantic table for records and comparisons.
- Tabs
- Tabs with roving focus and arrow-key navigation, following the WAI-ARIA tabs pattern.
- Tabs
List - The
tablistthat holds the triggers. - Tabs
Panel - The
tabpanelshown while its trigger is selected. - Tabs
Trigger - A
tabbutton. Click, arrow keys, Home, and End move the selection. - TagGroup
- A wrapping list of tags, such as selected filters or entered keywords.
- TagGroup
Item - One tag in a
TagGroup: arole="listitem"with an optional remove button. - Terminal
- A terminal window with command, output, and comment lines and an optional copy action.
- Testimonial
- A customer or peer quote with its author.
- Testimonial
Group - A spotlight or grid of testimonials.
- Text
Roll - A short label inside a link or button that rolls upward when its nearest interactive ancestor is hovered or receives keyboard focus. Assistive technology reads the label once.
- Textarea
- A multi-line text input.
- Theme
Builder - Frames token previews and theme export controls.
- Theme
Builder Editor - A complete theme editor: brand and accent hues, light or dark scheme, generated or manual colors, radius and spacing scales, a live preview, and the exported CSS.
- Theme
Toggle - A sun and moon button that switches between a light and a dark theme.
- Time
Field - A native time input (
HH:MM, orHH:MM:SSwith astepbelow 60). - Timeline
- An ordered list of events.
- Timeline
Item - One event in a
Timeline: a tail, a dot, and content. - Timer
- A live countdown or elapsed time.
- Toast
- A static notification surface. For timed toasts, use
ToastProvideranduse_toast. - Toast
Provider - Provides
use_toastto its children and renders one live region per stack placement. - Toast
Viewport - A fixed notification region that stacks static
Toasts.ToastProviderrenders its own. - Toggle
- A two-state button with
aria-pressed, such as bold or mute. - Toggle
Group - A set of related
Toggles with one tab stop and arrow-key movement. - Tool
Activity - A disclosure of application-owned tool progress and results.
- Toolbar
- A labelled group of controls with the
toolbarrole. - Tooltip
- A short label shown while the pointer or focus is on a control.
- Tooltip
Content - The
tooltiptext of aTooltip. - Tour
- A guided tour: a backdrop and a panel that steps through anchored tips.
- Transfer
- A dual list: check items on one side, then move them with the arrow buttons.
- Tree
- A hierarchical list of items, such as files or navigation.
- Tree
Grid - Hierarchical rows with grid columns, such as a project status table.
- Tree
Select - A select backed by a tree. Opening expands every branch and focuses the selected node.
- Typography
- Applies Lumen’s type scale to plain HTML content inside it.
- View
Progress - Scrubs the registered
--ui-view-progressnumber from 0 to 1 on its root while it crosses the viewport. It rests at 1 where scroll-driven animations are unsupported (Dioxus Native today) or motion is reduced. - Virtual
List - A scrollable list that windows long collections.
- Visual
Effect - A decorative effect layer behind its content.
- Visually
Hidden - Hides content visually while keeping it available to assistive technology.
- Waterfall
Chart - Running totals: each step’s bar spans from the previous balance to the new one, with connectors between steps. Totals reset the balance.
- Watermark
- Tiles rotated text over its content, behind a non-interactive overlay.
- World
Map - An interactive world map.
- adjacent_
kanban_ column - The column next to
currentin visual order, likegetAdjacentKanbanColumn. - amount_
field_ range_ state - The range state of a complete amount, like
getLumenAmountRangeState. Empty and incomplete drafts have no range state. - amount_
field_ value - The submitted value of a draft, like
getLumenAmountValue: the draft itself when it is a complete decimal (-?[0-9]+(\.[0-9]+)?, at most 1024 characters), otherwiseNone. - apply_
media_ viewport_ action - Applies a toolbar or keyboard action like
applyLumenMediaViewportAction. - breadcrumb_
items - Resolves a trail to a single current page, like
resolveLumenBreadcrumbItems: the first entry markedcurrent, otherwise the last. The current entry and entries withouthrefnever link. - can_
place_ schedule_ event - Whether
eventhas a valid range and overlaps none ofevents. - can_
submit_ prompt_ composer - Whether a prompt can be sent: not blank and within
limitUTF-16 code units, like the browser’smaxlength. - command_
matches - Whether an item’s text matches a query, like the Lumen web runtime’s command filter: the query is trimmed and both sides compare case-insensitively; an empty query matches everything.
- compare_
data_ table_ cells - Compares two cells with a column’s sort type.
Nonemeans the values are not comparable (a number column with non-numeric text);sort_data_table_rowsorders those cells after every number. - compare_
data_ table_ text - Natural, case-insensitive comparison that approximates
localeComparewith{ numeric: true, sensitivity: "base" }: digit runs compare as numbers, letters compare by their lowercase form, and punctuation sorts before digits, which sort before letters. - create_
schedule_ slots - Groups events into one slot per date (and per resource, when
resourcesis not empty). - create_
theme_ builder_ tokens - Builds
ThemeBuildertokens from options (createThemeBuilderTokenswithout presets). - cycle_
data_ table_ sorting - Header activation without multi-sort, like Lumen’s web runtime: the primary column cycles ascending, descending, then unsorted (the original order); any other column starts ascending and replaces the criteria.
- data_
table_ column_ visible - Whether a column is shown: always for columns that cannot hide, otherwise unless the state hides it.
- data_
table_ layout_ column_ keys - Column keys in display order: start-pinned, unpinned, then end-pinned, each following the preferred order with new keys last.
- data_
table_ layout_ move - The state after moving a column one place earlier (
-1) or later (1) among the columns pinned to the same side, orNonewhen it cannot move. - data_
table_ layout_ pin - The state after pinning (or unpinning, with
None) a column. - data_
table_ layout_ resize - The state after resizing a column, or
Nonefor unknown keys or widths outside 64 to 1200. - data_
table_ layout_ style - Inline CSS for a column’s header and cells: a fixed width and, when pinned, a sticky offset that adds up the widths of the pinned columns before it.
- data_
table_ record_ slots - Each column’s record slot after the title rules of
resolve_table_record_slots. ATitlecolumn after the first resolves as if it had norecord, so awideone isWide, like lumen-core. - data_
table_ saved_ state - The state a saved view stores: the preferences, starting on the first page.
- data_
table_ view_ page - Filters, sorts, and paginates rows on the client, like the
TanStackmodel behind lumen-react’sDataTableView. Withservertrue the rows are already one page: nothing is filtered, sorted, or sliced androw_countgives the matching total. - expand_
recurring_ schedule_ event - Repeats an event
counttimes,interval_daysapart. The first copy keeps the id; later ones get{id}-2,{id}-3, and so on. Dates are written in UTC ISO format. - export_
theme_ builder_ css - Exports tokens as a
:rootCSS rule with acolor-schemedeclaration (exportThemeBuilderCss). - export_
theme_ builder_ selector_ css - Exports tokens as one CSS rule for
selector(exportThemeCss). - filter_
bar_ remove_ label - The default accessible name of a filter’s remove button:
Remove {label}: {value}. - find_
world_ map_ country - Finds a country by id, ignoring surrounding whitespace and case. Blank ids find nothing.
- format_
timer_ iso_ duration - Machine-readable ISO 8601 duration for
<time datetime>, such asPT1H2M3SorP2DT4H. - heading_
anchor_ href - The same-document fragment for a heading id, or
Nonefor a blank id, likeresolveLumenHeadingAnchorHref. - heading_
anchor_ url - The absolute URL of a section:
basewithout its fragment, plus the heading id, likeresolveLumenHeadingAnchorUrl. - input_
otp_ normalize_ numeric - Strict numeric code normalization for a single editor, like lumen-core’s
normalizeLumenNumericOTP: decimal digits of any script become ASCII,-and white space separators are dropped, and anything else (or more thanlengthdigits, or input longer than 128 UTF-16 code units) returnsOk(None). - input_
otp_ sanitize - Normalizes a proposed code like lumen-react’s
useInputOTP: numeric codes (numeric input mode or the default[0-9]*pattern) keep ASCII digits only, other codes drop white space, and the result is cut tolengthcharacters. - is_
timer_ completion - Whether a countdown moved from running to complete between two snapshots.
- language_
toggle_ default_ locales - English and Spanish, the default locales of lumen-core.
- language_
toggle_ locales - Trims locales and drops blank or duplicate entries, like
normalizeLumenLocales. An empty result falls back to the defaults. - language_
toggle_ pair - The current locale for
value(the first locale when it is unknown) and the one after it, likegetLumenLocalePair. - load_
more_ announcement - The polite announcement after a load finishes, like
resolveLumenLoadMoreAnnouncement: the pluralized added count (orloaded_labelwhen the feed is not counted), followed bydone_labelonce the feed is exhausted. - move_
reorderable_ list_ item - Moves the entry at
fromtotoand returns the new order. Out-of-range requests return the original order. - move_
schedule_ event - Returns
eventswith the eventevent_idmoved to a new start and end, and toresource_idwhen it is set and not empty. - next_
data_ table_ sorting - Header activation with multi-sort: a plain activation replaces the criteria with one column
(reversing it when it is already primary). Additive activation appends an ascending criterion
or reverses an existing one without changing its priority. Without multi-sort, use
cycle_data_table_sorting. - next_
message_ feedback - The rating after the person presses
pressed, likenextLumenMessageFeedbackin@santi020k/lumen-core: pressing the current rating clears it, and pressing the other one replaces it. - next_
route_ progress_ value - The next trickle value: fast at first, slowing near the end, and never past the cap.
- normalize_
image_ comparison_ value - Clamps a reveal position to 0 through 100 and rounds it to the slider step; non-finite values
become 50, like
normalizeLumenImageComparisonValue. - normalize_
media_ viewport - Clamps zoom and pan like
normalizeLumenMediaViewport; pan resets at zoom 1. - normalize_
progress - Clamp a progress value and maximum the same way every Lumen adapter does.
- normalize_
prompt_ composer_ limit - A usable prompt length limit: 1 to
i32::MAX, defaulting to 4000 for zero. - normalize_
prompt_ suggestions - Keeps suggestions with a visible label, trims both fields, and falls back to the label as the
prompt, like
normalizeLumenPromptSuggestionsin@santi020k/lumen-core. - normalize_
theme_ builder_ hex - Normalizes
#rgbor#rrggbbto lowercase#rrggbb(normalizeThemeBuilderHex). - normalize_
theme_ builder_ hue - Rounds a hue to whole degrees and wraps it into
0..360(normalizeThemeBuilderHue). - normalize_
world_ map_ countries - Validates country geometry: trims ids and converts them to uppercase, and drops entries with a blank id, name, or path, a non-finite label anchor, or an id seen earlier.
- normalize_
world_ map_ highlighted - Trims, converts to uppercase, and deduplicates highlighted country ids, and drops blank ids
and ids that are not in
countries, so a typo degrades gracefully instead of breaking the map. - normalize_
world_ map_ markers - Validates markers: trims the id and label, requires both to be non-blank, requires finite coordinates inside the visible latitude band and longitude -180 to 180, and drops markers whose id was seen earlier.
- normalize_
world_ map_ zoom - Clamps a zoom level to 1 through 8. Non-finite values reset to 1.
- number_
field_ in_ bounds - Whether a draft is a complete number inside the inclusive bounds, like
isLumenDecimalInBounds. - number_
field_ parse_ draft - Parses a draft in a locale’s digits and decimal separator. Grouping, exponents, white space,
and drafts over 128 UTF-16 code units are invalid. Like
parseLumenDecimalDraft. - number_
field_ step_ draft - Adds or subtracts one step from a draft and clamps it to the inclusive bounds, like
stepLumenDecimalDraft. An empty draft starts frommin, a negativemax, or zero. - pagination_
items - The pagination entries to render:
boundariespages pinned at each end,siblingspages on each side of the current page, and an ellipsis for every hidden run longer than one page. - pagination_
page - Clamps a page number into
1..=total, likenormalizeLumenPaginationPage. - pan_
media_ viewport - Maps a pointer drag of
delta_xbydelta_ypixels over awidthbyheightstage to a new pan, likepanLumenMediaViewport. - parse_
theme_ builder_ number - Reads a number from text the way JavaScript’s
Number()does, for option fields. - parse_
timer_ instant - Parses a timer instant into epoch milliseconds.
- project_
world_ map_ coordinate - Projects a longitude and latitude to the shared
viewBoxwith the equirectangular projection used for every country path. - qr_
code_ data_ url - The
data:URL of the QR code forvalue, byte for byte what lumen-react renders withuqr. ReturnsNonewhen the value does not fit in a QR code. - reorderable_
list_ pointer_ index - Index a dragged item takes for a pointer at
position, given the vertical midpoints of the other items in display order. Non-finite positions keep the item where it is. - resize_
schedule_ event - Moves one edge of an event to
next_date_time, snapped tosnap_minutesand clamped to theminandmaxbounds. The event keeps at least one minute of duration unless a bound forces it shorter. - resize_
schedule_ events - Applies
resize_schedule_eventto the eventevent_idand returns every event. - resolve_
media_ max_ zoom - Clamps a maximum zoom to 1 through 16; non-finite values become 4.
- resolve_
meter_ range - Normalizes a meter range the way the native element does.
- resolve_
meter_ segments - A segment count from 2 to 24, or
Nonefor a continuous meter. - resolve_
meter_ value_ text - Text for a meter’s
aria-valuetext, such as3 of 5, orNonefor a continuous meter without avalue_label(which keeps the native percentage reading). - resolve_
reasoning_ open - Whether a
Reasoningdisclosure is open after its status changes, likeresolveLumenReasoningOpenin@santi020k/lumen-core. - resolve_
source_ citation_ href - A safe citation destination: an
httporhttpsURL without credentials (serialized the way the browser URL parser does for common inputs), or a local absolute path such as/docs. Executable schemes, protocol-relative URLs, and URLs with control characters, spaces, or backslashes returnNone. - resolve_
table_ record_ slots - Each column’s record slot, like lumen-core’s
resolveLumenTableRecordSlots, from each column’s(slot, secondary)pair. Only the firstTitleis the title; later ones get no slot. When no column is the title, the first column without a slot of its own that isn’t secondary becomes it, so every card gets a heading that stays visible. - resolve_
timer_ config - Normalizes component input into a complete timer configuration.
- resolve_
timer_ units - Resolves the displayed units, largest first and without duplicates.
- resolve_
timer_ units_ list - Resolves units from a comma or whitespace separated list, such as
"hours, minutes". - resolve_
world_ map_ country_ label - Resolves a country’s display label.
- schedule_
conflicts - Every overlapping pair of events, in input order.
- schedule_
events_ overlap - Whether two different events overlap on the same resource. Events on different resources never overlap; an event with an invalid range overlaps everything on its resource.
- score_
theme_ builder_ contrast - Scores the contrast of two tokens (
scoreThemeContrast), such as"ink"on"canvas". - scroll_
progress_ ratio - Reading progress of a scroll container as a ratio between 0 and 1.
- selection_
bar_ format_ count - Formats a count with the locale’s digit grouping, like
Intl.NumberFormatfor whole numbers in common languages. - selection_
bar_ plural - The plural category of a whole count, following CLDR cardinal rules for common languages. Unknown languages use the English rule.
- share_
links - Resolves targets (first-seen order, duplicates dropped), labels, and destinations, like
createLumenShareLinks. Unsafe URLs produce no links. - share_
links_ href - Builds a platform share intent, or
Nonewhenurlis not a safehttp(s)URL, likecreateLumenShareHref. - share_
links_ url - The normalized
http(s)URL to share, orNonefor any other scheme, credentials, control characters, or unparsable input, likeresolveLumenShareUrl. - sort_
data_ table_ rows - Row indexes in display order. Manual mode keeps the given order; client mode sorts stably by each sortable criterion in priority order.
- split_
timer_ duration - Splits whole seconds into the requested units.
- suggest_
theme_ builder_ readable_ ink - Picks black or white ink for a background, preferring black on ties (
suggestReadableInk). - swipe_
card_ axis - The locked axis of a drag, or
Nonewhile it is within the slop. - swipe_
card_ commit_ distance - Distance in pixels a drag must travel on a card of
widthto commit. - swipe_
card_ cue_ opacity - Opacity of the start and end cues while dragging.
- swipe_
card_ direction - Logical direction of a horizontal movement. Zero has no direction.
- swipe_
card_ key_ direction - Maps
ArrowLeftandArrowRightto the action on that side of the card. - swipe_
card_ physical_ sign - Physical sign (-1 left, 1 right) a card travels when it leaves toward
direction. - swipe_
card_ progress - Signed drag progress from -1 to 1, relative to the commit distance.
- swipe_
card_ release - Whether a released drag commits: past the distance threshold, or on a flick moving the same way as the drag. Anything else springs back.
- table_
cell_ class - The classes of a column’s body cells, like lumen-core’s
getLumenTableCellClasses: the slot class, thenui-table__cell--secondary, which a title never gets.Nonewhen there are none. - table_
header_ class - The classes of a column’s header cell, like lumen-core’s
getLumenTableHeaderClasses: only the title and secondary markers apply toth.Nonewhen there are none. - terminal_
copy_ value - Joins the command lines without prompts, like
getLumenTerminalCopyValue, so pasting runs exactly what is shown. - theme_
builder_ contrast_ ratio - The WCAG contrast ratio of two HSL token values, rounded to two decimals
(
getContrastRatio). - theme_
builder_ hex_ to_ hsl - Converts a hex color to its hue and an HSL token value such as
"217 91% 60%"(themeBuilderHexToHsl). ReturnsNonewhen the color isn’t valid hex. - theme_
builder_ style - Inline CSS that applies theme tokens as custom properties, for a preview region.
- theme_
builder_ tokens_ from_ hue - Derives a complete token set from a brand hue (
createThemeFromHue). - theme_
toggle_ is_ dark - Whether
themeis a dark theme: the configured dark theme or any*-darkpreset, like the Lumen web runtime. - timer_
announcement - Live-region text for a tick, or
Noneto stay silent. - timer_
instant_ from_ millis - Converts numeric epoch milliseconds into a timer instant.
- timer_
seconds - Whole seconds to display.
- timer_
snapshot - Computes everything a timer renders at
now(epoch milliseconds). Pure and deterministic. - timer_
tick_ delay - Milliseconds, from 1 to 1000, until the displayed second next changes.
- toggle_
data_ table_ id - Adds the id when missing, removes it when present.
- toggle_
data_ table_ ids - Selects every rendered row, or clears them when all are selected. Ids outside the rendered rows, such as rows on other server pages, are kept.
- toggle_
data_ table_ view_ sort - The criteria after a header activation in a
DataTableView: a new criterion starts ascending, an existing one reverses, andmultiplekeeps the others. - tune_
theme_ builder_ contrast - Returns a copy of the tokens whose
foregroundtoken reaches WCAG AA onbackground(tuneThemeContrast). - use_
context_ menu - A closed context menu controller.
- use_
dialog - A closed dialog controller, like
useDialogin lumen-react. Pass it to aDialogTriggerand to thedialogprop ofDialog,AlertDialog,Sheet, orDrawer. - use_
direction - The direction of the nearest
Directionancestor, orDirectionValue::Ltrwithout one. - use_
search_ dialog - A closed search dialog controller. Pass it to
SearchDialogTriggers and to thedialogprop of theSearchDialogthey open. - use_
toast - The toast API of the nearest
ToastProvider. - valid_
data_ table_ columns - Valid columns: non-empty, unique keys. Anything else yields no columns, like lumen-react.
- valid_
data_ table_ rows - Whether every row has a non-empty, unique id (rows without an id use their index).
- valid_
data_ table_ sorting - Unique criteria in priority order; later duplicates of a key are dropped.
- virtual_
list_ window - Computes the rows to render, like
getLumenVirtualWindowinlumen-core: the rows insideoffset..offset + viewportplusoverscanrows on each side, and the focused row with its neighbors so keyboard users can Tab out of the window. - world_
map_ countries - The bundled country geometry: 238 countries and territories from Natural Earth (public domain), with uppercase ids and path bounds.
- world_
map_ pan_ threshold_ reached - Whether a pointer that moved
dx,dyCSS pixels since it was pressed has traveled far enough to start panning. Shorter moves stay clicks. - world_
map_ path_ bounds - Computes the bounding box of SVG path data that uses only absolute
M,L, andZcommands, as the bundled countries do. - world_
map_ select_ detail - Builds the selection details for
country.highlighted_idsshould be normalized, as returned bynormalize_world_map_highlighted. - world_
map_ wheel_ zoom_ factor - Zoom multiplier for a modified (Ctrl or Cmd) wheel event:
exp(-delta_y * 0.002), with the delta clamped to ±1000 pixels. Convert line deltas (×16) and page deltas (× viewport height) to pixels first. A non-finite delta gives 1.
Type Aliases§
- Accordion
Icon - Disclosure indicator inherited by every
Accordionitem. - Alert
Dialog Props - Props for
AlertDialog. - Dialog
Form Future - The request a
DialogForm’ssubmitcallback starts. ReturnBox::pin(async move { ... })from a closure annotated-> DialogFormFuture. - Dialog
Form Result - What a
DialogFormrequest resolves to: field and form errors keep the dialog open and show them, no errors close it, and aDialogFormFailureshows the failure message. - Drawer
Props - Props for
Drawer. - Grid
Element - The element rendered by
Grid. - Radio
Card Props - Props for
RadioCard; the same asCheckboxCardProps. - Radio
Card Variant - Surface style of a
RadioCard; the same type asCheckboxCardVariant. - Search
Dialog Future - The future a
SearchDialogsearchprovider returns: the results for a query, or an error message, which shows the failure status with a retry button. - Secret
Value Future - The future
load_valuereturns: the secret, or an error message foron_load_error. - Stack
Element - The element rendered by
Stack. - Stack
Gap - Gap between
Stackchildren. - Switch
Props - Props for
Switch; the same asCheckboxProps.