DuskMoon React Components
Browse 101 components and 0 API references in Components. Find usage demos, API details, and DuskMoon theme previews.
No matching documentation. Clear the search to browse all entries.
Actions
Controls that trigger commands or workflows. 6 entries.
ButtonButton triggers primary, secondary, destructive, or icon-only actions.DmToolbarDmDmToolbar groups primary and secondary actions, including overflow menus.DropdownDropdown attaches contextual action menus to a compact trigger.FabFab places a primary action or native popover speed dial near a viewport edge.FloatButtonFloatButton keeps a high-priority shortcut available over the page content.SwapSwap switches between two decorative indicators using one native checkbox.
Layout
Primitives for arranging content and page structure. 12 entries.
ColCol defines responsive grid columns inside row-based layouts.ConsolePageConsolePage arranges an app bar, sidebar, workspace, and native mobile navigation in a responsive shell.DividerDivider separates dense content while preserving visual rhythm.DmLayoutDmDmLayout combines menus, breadcrumbs, and collapsible navigation in an application shell.DmPageHeaderDmDmPageHeader frames a page title with breadcrumbs, back navigation, and extra actions.DmSplitterDmDmSplitter resizes panels with optional saved sizes and reset controls.FlexFlex arranges inline or wrapping content with a small layout API.GridGrid exposes responsive breakpoint information for adaptive layouts.LayoutLayout composes application shells with header, sider, content, and footer regions.RowRow creates guttered horizontal grid layouts.SpaceSpace applies consistent spacing between neighboring elements.SplitterSplitter creates resizable panels for workspace-style layouts.
Data Entry
Controls for collecting and changing values. 27 entries.
AutoCompleteAutoComplete pairs text entry with suggested options for searchable pickers and command inputs.CascaderCascader selects a value from a nested hierarchy without exposing the whole tree at once.ChatSessionComposerChatSessionComposer is a controlled semantic-document composer backed by a native textarea and a typed host admission/recovery contract. The existing string-based Chat.Composer API remains available.CheckboxCheckbox captures independent boolean or multi-select choices.ColorPickerColorPicker captures theme colors, brand swatches, or user-selected color values.ComposerSettingsComposerSettings presents host-owned model, reasoning or policy choices and keeps their selected values authoritative until the host applies an acknowledged change.DatePickerDatePicker captures single dates and related date-picker states with typed callbacks.DmDatePickerDmDmDatePicker selects dates or ranges through day, week, month, quarter, and year picker variants.DmQueryDmDmQuery builds a query form from field definitions with search and reset controls.DmSearchDmDmSearch collects table filters across text, choice, date, and custom fields.FormForm coordinates form state, validation, field layout, and submit handling.InputInput captures short text, search, password, and textarea input.InputNumberInputNumber captures bounded numeric values with step controls.JsonSchemaFormJsonSchemaForm documents the JsonSchemaForm export from duskmoon.MentionsMentions captures text input with mention suggestions.OtpInputOtpInput captures an OTP or PIN through one native text input and decorative slots.RadioRadio captures one choice from a mutually exclusive set.RateRate captures or displays simple rating values.RichChatComposerRichChatComposer adds atomic references, claimed leading commands and attributed quotes to the same controlled semantic document and host lifecycle as ChatSessionComposer.SegmentedSegmented switches between a small number of sibling modes.SelectSelect chooses one or more values from a bounded option set.SliderSlider captures a value or range on a continuous scale.SwitchSwitch toggles an immediate on/off setting.TimePickerTimePicker captures time values with typed parsing and status state.TransferTransfer moves records between available and selected lists.TreeSelectTreeSelect combines tree selection with compact form input behavior.UploadUpload collects files with validation, file-list management, and custom request hooks.
Data Display
Components for presenting content and records. 24 entries.
AvatarAvatar represents a person, team, object, or entity in compact UI surfaces.BadgeBadge adds short status, count, or classification markers around nearby content.CalendarCalendar renders date-oriented browsing and selection with month and year modes.CarouselCarousel cycles through a limited set of panels while keeping one panel in focus.ChatChat composes unboxed agent answers, native activity disclosures, collapsible user bubbles, controlled waiting queues, and native or controlled composers.ChatAuthoritativeQueueChatAuthoritativeQueue presents the host's queue projection and capability-gated edit, remove and promote actions without implementing a scheduler.DescriptionsDescriptions presents labeled record fields for summaries, details, and review screens.DmInfiniteScrollDmDmInfiniteScroll loads more content as a scroll container approaches its threshold.DmProTableDmDmProTable presents records with a title bar, toolbar actions, and column controls.DmStatusDmDmStatus shows empty, loading, error, or success content in a consistent status panel.DmTableDmDmTable presents typed tabular records with search, pagination, and column controls.DmTreeDmDmTree browses hierarchical records with selection and contextual toolbar actions.DmTruncateDmDmTruncate shortens long text with overflow details, tooltips, and optional copying.ImageImage renders images with preview and placeholder behavior.ListList renders repeated records with item metadata and secondary actions.MarkdownMarkdown renders Markdown content with GitHub-flavored syntax, front matter, color previews, and configurable soft line breaks.QRCodeQRCode encodes a URL or payload for handoff to another device.StatisticStatistic emphasizes a metric, count, or countdown.TableTable renders structured data with columns, sorting, filters, selection, and pagination.TagTag labels records with compact metadata or removable filters.TimelineTimeline shows ordered events, milestones, or audit history.TreeTree renders hierarchical data with selection, expansion, and checking.TypographyTypography standardizes text, title, paragraph, link, copy, edit, and ellipsis behavior.WatermarkWatermark adds repeated ownership or confidentiality marks behind content.
Feedback
Status, progress, alerts, and confirmation patterns. 11 entries.
AlertAlert communicates important inline status, validation, or operational messages without interrupting the current workflow.DmMessageDmDmMessage shows transient success, error, warning, info, and loading feedback.EmptyEmpty explains an empty content state and gives the user a next step.messagemessage shows transient global feedback after user actions.notificationnotification shows global notices that need more context than a message.PopconfirmPopconfirm asks for confirmation around a risky inline action.ProgressProgress visualizes completion, loading, or capacity state.ResultResult summarizes the outcome of a completed workflow.SkeletonSkeleton shows a stable loading placeholder that matches the future content shape.SpinSpin shows local loading state for a pending operation.TourTour walks users through key areas of an interface.
Surfaces
Containers and overlays for grouping content. 8 entries.
CardCard groups related content and actions into a small self-contained surface.CollapseCollapse hides and reveals optional sections without leaving the current page.DmAuxiliaryDmDmAuxiliary shows supporting content with optional actions and a close control.DmDrawerDmDmDrawer opens a side panel with configurable footer and submit controls.DrawerDrawer opens side-panel workflows without replacing the underlying screen.ModalModal blocks for confirmation, focused forms, and critical decisions.PopoverPopover shows rich contextual content attached to a trigger.TooltipTooltip adds short explanatory text to compact controls.