DuskMoon React Utilities
Browse 0 components and 7 API references in Utilities, plus the JSON Form guide and examples. Find usage demos, API details, and DuskMoon theme previews.
No matching documentation. Clear the search to browse all entries.
Utilities & Types
Helpers, hooks, types, and package utilities. 7 entries.
BreakpointBreakpoint names the responsive screen sizes used by Grid hooks and queries.GetPropGetProp extracts the type of a named property from another type.GetPropsGetProps infers the React props type accepted by a component.GetRefGetRef infers the ref target type accepted by a component.unstableSetRenderunstableSetRender registers an override for rendering content into a DOM container.usePersistedPageSizeusePersistedPageSize manages page size state and optionally saves it in local storage.versionversion provides the current DuskMoon React package version.
JSON Form
Learn the supported JSON Schema fields, then open a preset to edit and submit it.
JSON Schema FormGenerate and submit a form from a JSON Schema.ProfileCombine required text and integer fields with defaults and a choice.StringValidate text length, pattern, and format.NumberAccept a decimal number and validate its bounds.IntegerRequire a whole number within a range.BooleanUse a checkbox and a false default.EnumSelect typed string, number, integer, and boolean values.Nested objectGroup related fields under a nested object.ArrayAdd and remove primitive and object items.SwitchToggle a boolean with a switch and restore its default.Radio groupChoose one typed enum value from a radio group.Checkbox groupSelect multiple typed enum values into a unique array.CascaderSelect a complete path through a hierarchy.CheckboxEdit a single boolean using a checkbox.ColorPickerChoose and submit a six-digit hex color.DatePickerChoose a calendar date as a JSON string.DmDatePickerUse the date picker with the Dm presentation.MentionsSuggest names while editing a complete text string.OtpInputKeep one-time codes as strings with leading zeroes.RadioChoose one typed value with Radio controls.RateChoose whole-star and half-star numeric ratings.SegmentedChoose a typed enum using segmented buttons.SelectSelect typed scalar values and unique arrays.SliderAdjust a bounded numeric value with a slider.TimePickerEnter a local 24-hour clock time without a timezone.TransferMove string choices into a unique selected array.TreeSelectSelect hierarchical values as a scalar or a unique array.UploadChoose local files and submit their metadata.