fix(custom-widgets): harden v2 authoring

This commit is contained in:
Thomas Camlong committed 2026-07-20 22:16:18 +02:00
1 parent ee832ad3c6
commit 7c66c912e7
171 files changed
+20311 -50527

No files matched your search

+21 -5
View File
@@ -10,12 +10,30 @@ metadata:
Create one widget at a time. Repeat the workflow when the user asks for several widgets; do not invent packs or shared connections.
## Choose the authoring reference
When connected to Homarr, retrieve the live widget schema and component catalog before authoring. Live metadata is authoritative because Homarr and Mantine versions can differ between installations.
For offline authoring, read these installed, release-matched references in order:
1. [Schema](references/schema.md)
2. [JSX runtime](references/runtime.md)
3. [Security boundary](references/security.md)
4. [Component catalog](references/components.md)
5. [Mantine Core](references/mantine-core.md)
6. [Mantine Dates](references/mantine-dates.md)
7. [Mantine Charts](references/mantine-charts.md)
8. [Homarr components](references/homarr-components.md)
Together, this file and those references are the complete offline authoring bundle for the matching Homarr release. Do not require MCP tools, repository access, or external component documentation to produce a best-effort widget. If live metadata is available, prefer it over the installed static bundle.
## Authoring workflow
1. Read the API documentation supplied by the user. Ask for a missing base URL only when it cannot be inferred safely.
2. Build one credential-free `homarr-custom-widget-v2` manifest and one safe JSX template.
3. Return the complete manifest and JSX in the exact fenced-block format requested by the authoring prompt.
4. When the user supplies Homarr diagnostics, correct every reported issue while preserving unrelated fields.
3. Use immutable local `const` blocks for repeated derived values and `RecursiveList` for arbitrary-depth trees. Do not emulate either feature with unrestricted JavaScript or authored recursion.
4. Return the complete manifest and JSX in the exact fenced-block format requested by the authoring prompt.
5. When the user supplies Homarr diagnostics, correct every reported issue while preserving unrelated fields.
## Output rules
@@ -23,8 +41,6 @@ Create one widget at a time. Repeat the workflow when the user asks for several
- Use `kind`, not the HTTP method, to distinguish reads from user-triggered actions.
- Give every declared request parameter an explicit source. Load queries use `optionsBinding` with an option reference or primitive literal; manual queries and actions receive values only from the invoking component's `params` prop. Never infer bindings from matching names.
- Never put a credential in JSX, options, headers, URLs, examples, exports, logs, or chat output.
- Use declarative `bind` controls and Homarr request components; never emit imports, hooks, callbacks, browser requests, or arbitrary JavaScript.
- Use declarative `bind` controls and Homarr request components. Controlled collection callbacks, zero-argument derived-value IIFEs, and the `RecursiveList` child template may use the restricted safe-block grammar documented in the runtime reference. Never emit imports, hooks, refs, raw callback props, browser requests, or arbitrary JavaScript.
- Include responsive loading, empty, error, and success states.
- Keep actions explicit, permission-scoped, confirmed when destructive, and followed by targeted invalidation.
Follow this document and the supplied authoring prompt as the complete authoring reference. Do not assume access to repository-relative files.
@@ -0,0 +1,563 @@
# Component catalog
> Generated from `component-catalog-v1.json`. Catalog schema v1 · Custom Widget 2.0.0 · Mantine 9.4.1. Do not edit this file by hand.
This is the complete offline Custom JSX component contract for this Homarr release. When connected to Homarr, prefer the live catalog because the installed release may differ. The catalog is descriptive, not a prop allowlist: ordinary serializable props pass through unless the capability boundary explicitly blocks them.
## Package references
- [Mantine Core](mantine-core.md) — 265 enabled, 133 denied
- [Mantine Dates](mantine-dates.md) — 29 enabled, 3 denied
- [Mantine Charts](mantine-charts.md) — 18 enabled, 1 denied
- [Homarr components](homarr-components.md) — 13 enabled, 0 denied
## Authoring boundary
- Use the exact component names below. Compound names such as `Tabs.List`, `Card.Section`, and `Radio.Group` are distinct catalog entries.
- The effective prop API is the shared prop table plus the component-specific table in the package reference. A component-specific record overrides the shared record with the same name.
- Use `bind="name"` only when a component record declares bind metadata. Read the temporary in-memory value from `inputs.name`; it is never persisted.
- Ordinary authored callbacks remain blocked. Restricted collection callbacks, directly invoked zero-argument derived-value IIFEs, and `RecursiveList`'s child template may use the immutable local `const` grammar in [JSX runtime](runtime.md#immutable-local-bindings).
- Use [`RecursiveList`](homarr-components.md#component-recursivelist) for custom arbitrary-depth trees. Do not author recursion or pass a renderer callback to Mantine Tree.
- Unknown ordinary Mantine props are advisory and are not silently discarded. Every capability listed in the blocked table is rejected.
## Complete enabled inventory
### Mantine Core
[`Accordion`](mantine-core.md#component-accordion), [`Accordion.Chevron`](mantine-core.md#component-accordion-2e-chevron), [`Accordion.Control`](mantine-core.md#component-accordion-2e-control), [`Accordion.Item`](mantine-core.md#component-accordion-2e-item), [`Accordion.Panel`](mantine-core.md#component-accordion-2e-panel), [`AccordionChevron`](mantine-core.md#component-accordionchevron), [`AccordionControl`](mantine-core.md#component-accordioncontrol), [`AccordionItem`](mantine-core.md#component-accordionitem), [`AccordionPanel`](mantine-core.md#component-accordionpanel), [`ActionIcon`](mantine-core.md#component-actionicon), [`ActionIcon.Group`](mantine-core.md#component-actionicon-2e-group), [`ActionIcon.GroupSection`](mantine-core.md#component-actionicon-2e-groupsection), [`ActionIconGroup`](mantine-core.md#component-actionicongroup), [`ActionIconGroupSection`](mantine-core.md#component-actionicongroupsection), [`Alert`](mantine-core.md#component-alert), [`AlphaSlider`](mantine-core.md#component-alphaslider), [`Anchor`](mantine-core.md#component-anchor), [`AngleSlider`](mantine-core.md#component-angleslider), [`AspectRatio`](mantine-core.md#component-aspectratio), [`Autocomplete`](mantine-core.md#component-autocomplete), [`Avatar`](mantine-core.md#component-avatar), [`Avatar.Group`](mantine-core.md#component-avatar-2e-group), [`AvatarGroup`](mantine-core.md#component-avatargroup), [`BackgroundImage`](mantine-core.md#component-backgroundimage), [`Badge`](mantine-core.md#component-badge), [`Blockquote`](mantine-core.md#component-blockquote), [`Box`](mantine-core.md#component-box), [`Breadcrumbs`](mantine-core.md#component-breadcrumbs), [`Burger`](mantine-core.md#component-burger), [`Button`](mantine-core.md#component-button), [`Button.Group`](mantine-core.md#component-button-2e-group), [`Button.GroupSection`](mantine-core.md#component-button-2e-groupsection), [`ButtonGroup`](mantine-core.md#component-buttongroup), [`ButtonGroupSection`](mantine-core.md#component-buttongroupsection), [`Card`](mantine-core.md#component-card), [`Card.Section`](mantine-core.md#component-card-2e-section), [`CardSection`](mantine-core.md#component-cardsection), [`Center`](mantine-core.md#component-center), [`CheckIcon`](mantine-core.md#component-checkicon), [`Checkbox`](mantine-core.md#component-checkbox), [`Checkbox.Card`](mantine-core.md#component-checkbox-2e-card), [`Checkbox.Group`](mantine-core.md#component-checkbox-2e-group), [`Checkbox.Indicator`](mantine-core.md#component-checkbox-2e-indicator), [`CheckboxCard`](mantine-core.md#component-checkboxcard), [`CheckboxGroup`](mantine-core.md#component-checkboxgroup), [`CheckboxIndicator`](mantine-core.md#component-checkboxindicator), [`Chip`](mantine-core.md#component-chip), [`Chip.Group`](mantine-core.md#component-chip-2e-group), [`ChipGroup`](mantine-core.md#component-chipgroup), [`CloseButton`](mantine-core.md#component-closebutton), [`CloseIcon`](mantine-core.md#component-closeicon), [`Code`](mantine-core.md#component-code), [`Collapse`](mantine-core.md#component-collapse), [`ColorInput`](mantine-core.md#component-colorinput), [`ColorPicker`](mantine-core.md#component-colorpicker), [`ColorSwatch`](mantine-core.md#component-colorswatch), [`Container`](mantine-core.md#component-container), [`CopyButton`](mantine-core.md#component-copybutton), [`DataList`](mantine-core.md#component-datalist), [`DataList.Item`](mantine-core.md#component-datalist-2e-item), [`DataList.ItemLabel`](mantine-core.md#component-datalist-2e-itemlabel), [`DataList.ItemValue`](mantine-core.md#component-datalist-2e-itemvalue), [`DataListItem`](mantine-core.md#component-datalistitem), [`DataListItemLabel`](mantine-core.md#component-datalistitemlabel), [`DataListItemValue`](mantine-core.md#component-datalistitemvalue), [`Divider`](mantine-core.md#component-divider), [`EmptyState`](mantine-core.md#component-emptystate), [`EmptyState.Actions`](mantine-core.md#component-emptystate-2e-actions), [`EmptyState.Description`](mantine-core.md#component-emptystate-2e-description), [`EmptyState.Indicator`](mantine-core.md#component-emptystate-2e-indicator), [`EmptyState.Title`](mantine-core.md#component-emptystate-2e-title), [`EmptyStateActions`](mantine-core.md#component-emptystateactions), [`EmptyStateDescription`](mantine-core.md#component-emptystatedescription), [`EmptyStateIndicator`](mantine-core.md#component-emptystateindicator), [`EmptyStateTitle`](mantine-core.md#component-emptystatetitle), [`Fieldset`](mantine-core.md#component-fieldset), [`FlatTreeNode`](mantine-core.md#component-flattreenode), [`Flex`](mantine-core.md#component-flex), [`FloatingArrow`](mantine-core.md#component-floatingarrow), [`FloatingIndicator`](mantine-core.md#component-floatingindicator), [`Grid`](mantine-core.md#component-grid), [`Grid.Col`](mantine-core.md#component-grid-2e-col), [`GridCol`](mantine-core.md#component-gridcol), [`Group`](mantine-core.md#component-group), [`Highlight`](mantine-core.md#component-highlight), [`HoverCardLine truncated
### Mantine Dates
[`Calendar`](mantine-dates.md#component-calendar), [`CalendarHeader`](mantine-dates.md#component-calendarheader), [`DateInput`](mantine-dates.md#component-dateinput), [`DatePicker`](mantine-dates.md#component-datepicker), [`DatePickerInput`](mantine-dates.md#component-datepickerinput), [`DateTimePicker`](mantine-dates.md#component-datetimepicker), [`Day`](mantine-dates.md#component-day), [`DecadeLevel`](mantine-dates.md#component-decadelevel), [`DecadeLevelGroup`](mantine-dates.md#component-decadelevelgroup), [`InlineDateTimePicker`](mantine-dates.md#component-inlinedatetimepicker), [`LevelsGroup`](mantine-dates.md#component-levelsgroup), [`MiniCalendar`](mantine-dates.md#component-minicalendar), [`Month`](mantine-dates.md#component-month), [`MonthLevel`](mantine-dates.md#component-monthlevel), [`MonthLevelGroup`](mantine-dates.md#component-monthlevelgroup), [`MonthPicker`](mantine-dates.md#component-monthpicker), [`MonthPickerInput`](mantine-dates.md#component-monthpickerinput), [`MonthsList`](mantine-dates.md#component-monthslist), [`PickerControl`](mantine-dates.md#component-pickercontrol), [`TimeGrid`](mantine-dates.md#component-timegrid), [`TimeInput`](mantine-dates.md#component-timeinput), [`TimePicker`](mantine-dates.md#component-timepicker), [`TimeValue`](mantine-dates.md#component-timevalue), [`WeekdaysRow`](mantine-dates.md#component-weekdaysrow), [`YearLevel`](mantine-dates.md#component-yearlevel), [`YearLevelGroup`](mantine-dates.md#component-yearlevelgroup), [`YearPicker`](mantine-dates.md#component-yearpicker), [`YearPickerInput`](mantine-dates.md#component-yearpickerinput), [`YearsList`](mantine-dates.md#component-yearslist)
### Mantine Charts
[`AreaChart`](mantine-charts.md#component-areachart), [`BarChart`](mantine-charts.md#component-barchart), [`BarsList`](mantine-charts.md#component-barslist), [`BubbleChart`](mantine-charts.md#component-bubblechart), [`ChartLegend`](mantine-charts.md#component-chartlegend), [`ChartTooltip`](mantine-charts.md#component-charttooltip), [`CompositeChart`](mantine-charts.md#component-compositechart), [`DonutChart`](mantine-charts.md#component-donutchart), [`FunnelChart`](mantine-charts.md#component-funnelchart), [`Heatmap`](mantine-charts.md#component-heatmap), [`LineChart`](mantine-charts.md#component-linechart), [`PieChart`](mantine-charts.md#component-piechart), [`RadarChart`](mantine-charts.md#component-radarchart), [`RadialBarChart`](mantine-charts.md#component-radialbarchart), [`SankeyChart`](mantine-charts.md#component-sankeychart), [`ScatterChart`](mantine-charts.md#component-scatterchart), [`Sparkline`](mantine-charts.md#component-sparkline), [`Treemap`](mantine-charts.md#component-treemap)
### Homarr components
[`ActionButton`](homarr-components.md#component-actionbutton), [`Collapsible`](homarr-components.md#component-collapsible), [`PaginatedList`](homarr-components.md#component-paginatedlist), [`RecursiveList`](homarr-components.md#component-recursivelist), [`RefreshButton`](homarr-components.md#component-refreshbutton), [`StatBar`](homarr-components.md#component-statbar), [`SubData`](homarr-components.md#component-subdata), [`SubFetch`](homarr-components.md#component-subfetch), [`TabPanel`](homarr-components.md#component-tabpanel), [`TablerIcon`](homarr-components.md#component-tablericon), [`TabsContainer`](homarr-components.md#component-tabscontainer), [`ToggleSwitch`](homarr-components.md#component-toggleswitch), [`TypeBadge`](homarr-components.md#component-typebadge)
## Complete denied inventory
### Mantine Core
[`Affix`](mantine-core.md#component-affix) — Escapes the widget layout boundary, [`AppShell`](mantine-core.md#component-appshell) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Aside`](mantine-core.md#component-appshell-2e-aside) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Footer`](mantine-core.md#component-appshell-2e-footer) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Header`](mantine-core.md#component-appshell-2e-header) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Main`](mantine-core.md#component-appshell-2e-main) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Navbar`](mantine-core.md#component-appshell-2e-navbar) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShell.Section`](mantine-core.md#component-appshell-2e-section) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellAside`](mantine-core.md#component-appshellaside) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellFooter`](mantine-core.md#component-appshellfooter) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellHeader`](mantine-core.md#component-appshellheader) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellMain`](mantine-core.md#component-appshellmain) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellNavbar`](mantine-core.md#component-appshellnavbar) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`AppShellSection`](mantine-core.md#component-appshellsection) — Escapes or replaces the widget layout, focus, scrolling, or overlay boundary, [`ColorSchemeScript`](mantine-core.md#component-colorschemescript) — Writes global document state, [`Combobox`](mantine-core.md#component-combobox) — Low-level composition primitive that requires authored callbacks, [`Combobox.Chevron`](mantine-core.md#component-combobox-2e-chevron) — Low-level composition primitive that requires authored callbacks, [`Combobox.ClearButton`](mantine-core.md#component-combobox-2e-clearbutton) — Low-level composition primitive that requires authored callbacks, [`Combobox.Dropdown`](mantine-core.md#component-combobox-2e-dropdown) — Low-level composition primitive that requires authored callbacks, [`Combobox.DropdownTarget`](mantine-core.md#component-combobox-2e-dropdowntarget) — Low-level composition primitive that requires authored callbacks, [`Combobox.Empty`](mantine-core.md#component-combobox-2e-empty) — Low-level composition primitive that requires authored callbacks, [`Combobox.EventsTarget`](mantine-core.md#component-combobox-2e-eventstarget) — Low-level composition primitive that requires authored callbacks, [`Combobox.Footer`](mantine-core.md#component-combobox-2e-footer) — Low-level composition primitive that requires authored callbacks, [`Combobox.Group`](mantine-core.md#component-combobox-2e-group) — Low-level composition primitive that requires authored callbacks, [`Combobox.Header`](mantine-core.md#component-combobox-2e-header) — Low-level composition primitive that requires authored callbacks, [`Combobox.HiddenInput`](mantine-core.md#component-combobox-2e-hiddeninput) — Low-level composition primitive that requires authored callbacks, [`Combobox.Option`](mantine-core.md#component-combobox-2e-option) — Low-level composition primitive that requires authored callbacks, [`Combobox.Options`](mantine-core.md#component-combobox-2e-options) — Low-level composition primitive that requires authored callbacks, [`Combobox.Search`](mantine-core.md#component-combobox-2e-search) — Low-level composition primitive that requires authored callbacks, [`Combobox.Target`](mantine-core.md#component-combobox-2e-target) — Low-level composition primitive that requires authored callbacks, [`ComboboxChevron`](mantine-core.md#component-comboboxchevron) — Low-level composition primitive that requires authored callbacks, [`ComboboxClearButton`](mantine-core.md#component-comboboxclearbutton) — Low-level composition primitive that requires authored callbacks, [`ComboboxDropdown`](mantine-core.md#component-comboboxdropdown) — Low-level composition primitive that requires authored callbacks, [`ComboboxDropdownTarget`](mantine-core.md#component-comboboxdropdowntarget) — Low-level composition primitive that requires authored callbacks, [`ComboboxEmpty`](mantine-core.md#component-comboboxempty) — Low-level composition primitive that requires authored callbacks, [`ComboboxEventsTarget`](mantine-core.md#component-comboboxeventstarget) — Low-level composition primitive that requires authored callbacks, [`ComboboxFooter`](mantine-core.md#componenLine truncated
### Mantine Dates
[`DatesProvider`](mantine-dates.md#component-datesprovider) — Replaces a Homarr-owned provider boundary, [`HiddenDatesInput`](mantine-dates.md#component-hiddendatesinput) — Internal date-input primitive, [`PickerInputBase`](mantine-dates.md#component-pickerinputbase) — Internal date-input primitive
### Mantine Charts
[`AreaGradient`](mantine-charts.md#component-areagradient) — Low-level chart implementation helper
### Homarr components
_None._
## Shared prop API
These props are available to enabled components unless a component-specific record overrides the same name.
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>abbr</code> | no | <code>string</code> | — | — |
| <code>about</code> | no | <code>string</code> | — | — |
| <code>accentHeight</code> | no | <code>string &#124; number</code> | — | — |
| <code>accept</code> | no | <code>string</code> | — | — |
| <code>accessKey</code> | no | <code>string</code> | — | — |
| <code>accumulate</code> | no | <code>"none" &#124; "sum"</code> | <code>"none"</code>, <code>"sum"</code> | — |
| <code>additive</code> | no | <code>"sum" &#124; "replace"</code> | <code>"replace"</code>, <code>"sum"</code> | — |
| <code>align</code> | no | <code>"center" &#124; "left" &#124; "right"</code> | <code>"center"</code>, <code>"char"</code>, <code>"justify"</code>, <code>"left"</code>, <code>"right"</code> | — |
| <code>alignmentBaseline</code> | no | <code>"inherit" &#124; "auto" &#124; "baseline" &#124; "before-edge" &#124; "text-before-edge" &#124; "middle" &#124; "central" &#124; "after-edge" &#124; "text-after-edge" &#124; "ideographic" &#124; "alphabetic" &#124; "hanging" &#124; "mathematical"</code> | <code>"after-edge"</code>, <code>"alphabetic"</code>, <code>"auto"</code>, <code>"baseline"</code>, <code>"before-edge"</code>, <code>"central"</code>, <code>"hanging"</code>, <code>"ideographic"</code>, <code>"inherit"</code>, <code>"mathematical"</code>, <code>"middle"</code>, <code>"text-after-edge"</code>, <code>"text-before-edge"</code> | — |
| <code>allowReorder</code> | no | <code>"yes" &#124; "no"</code> | <code>"no"</code>, <code>"yes"</code> | — |
| <code>alphabetic</code> | no | <code>string &#124; number</code> | — | — |
| <code>alt</code> | no | <code>string</code> | — | — |
| <code>amplitude</code> | no | <code>string &#124; number</code> | — | — |
| <code>arabicForm</code> | no | <code>"initial" &#124; "medial" &#124; "terminal" &#124; "isolated"</code> | <code>"initial"</code>, <code>"isolated"</code>, <code>"medial"</code>, <code>"terminal"</code> | — |
| <code>aria-activedescendant</code> | no | <code>string</code> | — | Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. |
| <code>aria-atomic</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. |
| <code>aria-autocomplete</code> | no | <code>"none" &#124; "inline" &#124; "list" &#124; "both"</code> | <code>"both"</code>, <code>"inline"</code>, <code>"list"</code>, <code>"none"</code> | Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made. |
| <code>aria-braillelabel</code> | no | <code>string</code> | — | Defines a string value that labels the current element, which is intended to be converted into Braille. |
| <code>aria-brailleroledescription</code> | no | <code>string</code> | — | Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. |
| <code>aria-busy</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>aria-checked</code> | no | <code>false &#124; true &#124; "true" &#124; "false" &#124; "mixed"</code> | <code>false</code>, <code>"false"</code>, <code>"mixed"</code>, <code>true</code>, <code>"true"</code> | Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. |
| <code>aria-colcount</code> | no | <code>number</code> | — | Defines the total number of columns in a table, grid, or treegrid. |
| <code>aria-colindex</code> | no | <code>number</code> | — | Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. |
| <code>aria-colindextext</code> | no | <code>string</code> | — | Defines a human readable text alternative of aria-colindex. |
| <code>aria-colspan</code> | no | <code>number</code> | — | Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. |
| <code>aria-controls</code> | no | <code>string</code> | — | Identifies the element (or elements) whose contents or presence are controlled by the current element. |
| <code>aria-current</code> | no | <code>false &#124; true &#124; "time" &#124; "true" &#124; "false" &#124; "page" &#124; "step" &#124; "location" &#124; "date"</code> | <code>"date"</code>, <code>false</code>, <code>"false"</code>, <code>"location"</code>, <code>"page"</code>, <code>"step"</code>, <code>"time"</code>, <code>true</code>, <code>"true"</code> | Indicates the element that represents the current item within a container or set of related elements. |
| <code>aria-describedby</code> | no | <code>string</code> | — | Identifies the element (or elements) that describes the object. |
| <code>aria-description</code> | no | <code>string</code> | — | Defines a string value that describes or annotates the current element. |
| <code>aria-details</code> | no | <code>string</code> | — | Identifies the element that provides a detailed, extended description for the object. |
| <code>aria-disabled</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. |
| <code>aria-dropeffect</code> | no | <code>"link" &#124; "none" &#124; "copy" &#124; "execute" &#124; "move" &#124; "popup"</code> | <code>"copy"</code>, <code>"execute"</code>, <code>"link"</code>, <code>"move"</code>, <code>"none"</code>, <code>"popup"</code> | Indicates what functions can be performed when a dragged object is released on the drop target. |
| <code>aria-errormessage</code> | no | <code>string</code> | — | Identifies the element that provides an error message for the object. |
| <code>aria-expanded</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. |
| <code>aria-flowto</code> | no | <code>string</code> | — | Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order. |
| <code>aria-grabbed</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates an element's "grabbed" state in a drag-and-drop operation. |
| <code>aria-haspopup</code> | no | <code>false &#124; true &#124; "dialog" &#124; "menu" &#124; "grid" &#124; "true" &#124; "false" &#124; "listbox" &#124; "tree"</code> | <code>"dialog"</code>, <code>false</code>, <code>"false"</code>, <code>"grid"</code>, <code>"listbox"</code>, <code>"menu"</code>, <code>"tree"</code>, <code>true</code>, <code>"true"</code> | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. |
| <code>aria-hidden</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates whether the element is exposed to an accessibility API. |
| <code>aria-invalid</code> | no | <code>false &#124; true &#124; "true" &#124; "false" &#124; "grammar" &#124; "spelling"</code> | <code>false</code>, <code>"false"</code>, <code>"grammar"</code>, <code>"spelling"</code>, <code>true</code>, <code>"true"</code> | Indicates the entered value does not conform to the format expected by the application. |
| <code>aria-keyshortcuts</code> | no | <code>string</code> | — | Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. |
| <code>aria-label</code> | no | <code>string</code> | — | Defines a string value that labels the current element. |
| <code>aria-labelledby</code> | no | <code>string</code> | — | Identifies the element (or elements) that labels the current element. |
| <code>aria-level</code> | no | <code>number</code> | — | Defines the hierarchical level of an element within a structure. |
| <code>aria-live</code> | no | <code>"off" &#124; "assertive" &#124; "polite"</code> | <code>"assertive"</code>, <code>"off"</code>, <code>"polite"</code> | Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. |
| <code>aria-modal</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates whether an element is modal when displayed. |
| <code>aria-multiline</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates whether a text box accepts multiple lines of input or only a single line. |
| <code>aria-multiselectable</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates that the user may select more than one item from the current selectable descendants. |
| <code>aria-orientation</code> | no | <code>"horizontal" &#124; "vertical"</code> | <code>"horizontal"</code>, <code>"vertical"</code> | Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. |
| <code>aria-owns</code> | no | <code>string</code> | — | Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. |
| <code>aria-placeholder</code> | no | <code>string</code> | — | Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. |
| <code>aria-posinset</code> | no | <code>number</code> | — | Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
| <code>aria-pressed</code> | no | <code>false &#124; true &#124; "true" &#124; "false" &#124; "mixed"</code> | <code>false</code>, <code>"false"</code>, <code>"mixed"</code>, <code>true</code>, <code>"true"</code> | Indicates the current "pressed" state of toggle buttons. |
| <code>aria-readonly</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates that the element is not editable, but is otherwise operable. |
| <code>aria-relevant</code> | no | <code>"text" &#124; "additions" &#124; "additions removals" &#124; "additions text" &#124; "all" &#124; "removals" &#124; "removals additions" &#124; "removals text" &#124; "text additions" &#124; "text removals"</code> | <code>"additions"</code>, <code>"additions removals"</code>, <code>"additions text"</code>, <code>"all"</code>, <code>"removals"</code>, <code>"removals additions"</code>, <code>"removals text"</code>, <code>"text"</code>, <code>"text additions"</code>, <code>"text removals"</code> | Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. |
| <code>aria-required</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates that user input is required on the element before a form may be submitted. |
| <code>aria-roledescription</code> | no | <code>string</code> | — | Defines a human-readable, author-localized description for the role of an element. |
| <code>aria-rowcount</code> | no | <code>number</code> | — | Defines the total number of rows in a table, grid, or treegrid. |
| <code>aria-rowindex</code> | no | <code>number</code> | — | Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. |
| <code>aria-rowindextext</code> | no | <code>string</code> | — | Defines a human readable text alternative of aria-rowindex. |
| <code>aria-rowspan</code> | no | <code>number</code> | — | Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. |
| <code>aria-selected</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | Indicates the current "selected" state of various widgets. |
| <code>aria-setsize</code> | no | <code>number</code> | — | Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. |
| <code>aria-sort</code> | no | <code>"none" &#124; "ascending" &#124; "descending" &#124; "other"</code> | <code>"ascending"</code>, <code>"descending"</code>, <code>"none"</code>, <code>"other"</code> | Indicates if items in a table or grid are sorted in ascending or descending order. |
| <code>aria-valuemax</code> | no | <code>number</code> | — | Defines the maximum allowed value for a range widget. |
| <code>aria-valuemin</code> | no | <code>number</code> | — | Defines the minimum allowed value for a range widget. |
| <code>aria-valuenow</code> | no | <code>number</code> | — | Defines the current value for a range widget. |
| <code>aria-valuetext</code> | no | <code>string</code> | — | Defines the human readable text alternative of aria-valuenow for a range widget. |
| <code>ascent</code> | no | <code>string &#124; number</code> | — | — |
| <code>attributeName</code> | no | <code>string</code> | — | — |
| <code>attributeType</code> | no | <code>string</code> | — | — |
| <code>autoCapitalize</code> | no | <code>(string &amp; {}) &#124; "none" &#124; "off" &#124; "on" &#124; "sentences" &#124; "words" &#124; "characters"</code> | <code>"characters"</code>, <code>"none"</code>, <code>"off"</code>, <code>"on"</code>, <code>"sentences"</code>, <code>"words"</code> | — |
| <code>autoComplete</code> | no | <code>HTMLInputAutoCompleteAttribute</code> | — | — |
| <code>autoCorrect</code> | no | <code>string</code> | — | — |
| <code>autoReverse</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>autoSave</code> | no | <code>string</code> | — | — |
| <code>azimuth</code> | no | <code>string &#124; number</code> | — | — |
| <code>baseFrequency</code> | no | <code>string &#124; number</code> | — | — |
| <code>baseProfile</code> | no | <code>string &#124; number</code> | — | — |
| <code>baselineShift</code> | no | <code>string &#124; number</code> | — | — |
| <code>bbox</code> | no | <code>string &#124; number</code> | — | — |
| <code>bd</code> | no | <code>StyleProp&lt;Property.Border&lt;string &#124; number&gt;&gt;</code> | — | Border |
| <code>bdrs</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | BorderRadius, theme key: theme.radius |
| <code>begin</code> | no | <code>string &#124; number</code> | — | — |
| <code>bg</code> | no | <code>StyleProp&lt;DefaultMantineColor&gt;</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Background, theme key: theme.colors |
| <code>bga</code> | no | <code>StyleProp&lt;Property.BackgroundAttachment&gt;</code> | <code>"-moz-initial"</code>, <code>"fixed"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"local"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"scroll"</code>, <code>"unset"</code> | BackgroundAttachment |
| <code>bgcolor</code> | no | <code>string</code> | — | — |
| <code>bgp</code> | no | <code>StyleProp&lt;Property.BackgroundPosition&lt;string &#124; number&gt;&gt;</code> | — | BackgroundPosition |
| <code>bgr</code> | no | <code>StyleProp&lt;Property.BackgroundRepeat&gt;</code> | <code>"-moz-initial"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"no-repeat"</code>, <code>"repeat"</code>, <code>"repeat-x"</code>, <code>"repeat-y"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"round"</code>, <code>"space"</code>, <code>"unset"</code> | BackgroundRepeat |
| <code>bgsz</code> | no | <code>StyleProp&lt;Property.BackgroundSize&lt;string &#124; number&gt;&gt;</code> | — | BackgroundSize |
| <code>bias</code> | no | <code>string &#124; number</code> | — | — |
| <code>border</code> | no | <code>number</code> | — | — |
| <code>by</code> | no | <code>string &#124; number</code> | — | — |
| <code>c</code> | no | <code>StyleProp&lt;DefaultMantineColor&gt;</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color |
| <code>calcMode</code> | no | <code>string &#124; number</code> | — | — |
| <code>capHeight</code> | no | <code>string &#124; number</code> | — | — |
| <code>capture</code> | no | <code>false &#124; true &#124; "user" &#124; "environment"</code> | <code>"environment"</code>, <code>false</code>, <code>true</code>, <code>"user"</code> | — |
| <code>cellPadding</code> | no | <code>string &#124; number</code> | — | — |
| <code>cellSpacing</code> | no | <code>string &#124; number</code> | — | — |
| <code>checked</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>clip</code> | no | <code>string &#124; number</code> | — | — |
| <code>clipPath</code> | no | <code>string</code> | — | — |
| <code>clipPathUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>clipRule</code> | no | <code>string &#124; number</code> | — | — |
| <code>colSpan</code> | no | <code>number</code> | — | — |
| <code>color</code> | no | <code>string</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"initials"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Key of `theme.colors` or any valid CSS color |
| <code>colorInterpolation</code> | no | <code>string &#124; number</code> | — | — |
| <code>colorInterpolationFilters</code> | no | <code>"inherit" &#124; "auto" &#124; "sRGB" &#124; "linearRGB"</code> | <code>"auto"</code>, <code>"inherit"</code>, <code>"linearRGB"</code>, <code>"sRGB"</code> | — |
| <code>colorProfile</code> | no | <code>string &#124; number</code> | — | — |
| <code>colorRendering</code> | no | <code>string &#124; number</code> | — | — |
| <code>cols</code> | no | <code>number</code> | — | — |
| <code>content</code> | no | <code>string</code> | — | — |
| <code>contentScriptType</code> | no | <code>string &#124; number</code> | — | — |
| <code>contentStyleType</code> | no | <code>string &#124; number</code> | — | — |
| <code>contextMenu</code> | no | <code>string</code> | — | — |
| <code>crossOrigin</code> | no | <code>"" &#124; "anonymous" &#124; "use-credentials"</code> | <code>""</code>, <code>"anonymous"</code>, <code>"use-credentials"</code> | — |
| <code>cursor</code> | no | <code>string &#124; number</code> | — | — |
| <code>cx</code> | no | <code>string &#124; number</code> | — | — |
| <code>cy</code> | no | <code>string &#124; number</code> | — | — |
| <code>d</code> | no | <code>string</code> | — | — |
| <code>darkHidden</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether component should be hidden in dark color scheme with `display: none` |
| <code>datatype</code> | no | <code>string</code> | — | — |
| <code>decelerate</code> | no | <code>string &#124; number</code> | — | — |
| <code>defaultChecked</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>defaultValue</code> | no | <code>string &#124; number &#124; readonly string[]</code> | — | — |
| <code>descent</code> | no | <code>string &#124; number</code> | — | — |
| <code>diffuseConstant</code> | no | <code>string &#124; number</code> | — | — |
| <code>dir</code> | no | <code>string</code> | — | — |
| <code>dirName</code> | no | <code>string</code> | — | — |
| <code>direction</code> | no | <code>string &#124; number</code> | — | — |
| <code>disabled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>display</code> | no | <code>StyleProp&lt;Property.Display&gt;</code> | <code>"-moz-initial"</code>, <code>"-ms-flexbox"</code>, <code>"-ms-grid"</code>, <code>"-ms-inline-flexbox"</code>, <code>"-ms-inline-grid"</code>, <code>"-webkit-flex"</code>, <code>"-webkit-inline-flex"</code>, <code>"block"</code>, <code>"contents"</code>, <code>"flex"</code>, <code>"flow"</code>, <code>"flow-root"</code>, <code>"grid"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"inline"</code>, <code>"inline-block"</code>, <code>"inline-flex"</code>, <code>"inline-grid"</code>, <code>"inline-list-item"</code>, <code>"inline-table"</code>, <code>"list-item"</code>, <code>"none"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"ruby"</code>, <code>"ruby-base"</code>, <code>"ruby-base-container"</code>, <code>"ruby-text"</code>, <code>"ruby-text-container"</code>, <code>"run-in"</code>, <code>"table"</code>, <code>"table-caption"</code>, <code>"table-cell"</code>, <code>"table-column"</code>, <code>"table-column-group"</code>, <code>"table-footer-group"</code>, <code>"table-header-group"</code>, <code>"table-row"</code>, <code>"table-row-group"</code>, <code>"unset"</code> | — |
| <code>divisor</code> | no | <code>string &#124; number</code> | — | — |
| <code>dominantBaseline</code> | no | <code>"inherit" &#124; "auto" &#124; "text-before-edge" &#124; "middle" &#124; "central" &#124; "text-after-edge" &#124; "ideographic" &#124; "alphabetic" &#124; "hanging" &#124; "mathematical" &#124; "use-script" &#124; "no-change" &#124; "reset-size"</code> | <code>"alphabetic"</code>, <code>"auto"</code>, <code>"central"</code>, <code>"hanging"</code>, <code>"ideographic"</code>, <code>"inherit"</code>, <code>"mathematical"</code>, <code>"middle"</code>, <code>"no-change"</code>, <code>"reset-size"</code>, <code>"text-after-edge"</code>, <code>"text-before-edge"</code>, <code>"use-script"</code> | — |
| <code>draggable</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>dur</code> | no | <code>string &#124; number</code> | — | — |
| <code>dx</code> | no | <code>string &#124; number</code> | — | — |
| <code>dy</code> | no | <code>string &#124; number</code> | — | — |
| <code>edgeMode</code> | no | <code>string &#124; number</code> | — | — |
| <code>elevation</code> | no | <code>string &#124; number</code> | — | — |
| <code>enableBackground</code> | no | <code>string &#124; number</code> | — | — |
| <code>end</code> | no | <code>string &#124; number</code> | — | — |
| <code>enterKeyHint</code> | no | <code>"search" &#124; "enter" &#124; "done" &#124; "go" &#124; "next" &#124; "previous" &#124; "send"</code> | <code>"done"</code>, <code>"enter"</code>, <code>"go"</code>, <code>"next"</code>, <code>"previous"</code>, <code>"search"</code>, <code>"send"</code> | — |
| <code>exponent</code> | no | <code>string &#124; number</code> | — | — |
| <code>exportparts</code> | no | <code>string</code> | — | — |
| <code>externalResourcesRequired</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>ff</code> | no | <code>StyleProp&lt;"text" &#124; (string &amp; {}) &#124; "monospace" &#124; "heading"&gt;</code> | <code>"heading"</code>, <code>"monospace"</code>, <code>"text"</code> | FontFamily |
| <code>fill</code> | no | <code>string</code> | — | — |
| <code>fillOpacity</code> | no | <code>string &#124; number</code> | — | — |
| <code>fillRule</code> | no | <code>"inherit" &#124; "nonzero" &#124; "evenodd"</code> | <code>"evenodd"</code>, <code>"inherit"</code>, <code>"nonzero"</code> | — |
| <code>filter</code> | no | <code>string</code> | — | — |
| <code>filterRes</code> | no | <code>string &#124; number</code> | — | — |
| <code>filterUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>flex</code> | no | <code>StyleProp&lt;Property.Flex&lt;string &#124; number&gt;&gt;</code> | — | — |
| <code>floodColor</code> | no | <code>string &#124; number</code> | — | — |
| <code>floodOpacity</code> | no | <code>string &#124; number</code> | — | — |
| <code>focusable</code> | no | <code>false &#124; true &#124; "auto" &#124; "true" &#124; "false"</code> | <code>"auto"</code>, <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>fontFamily</code> | no | <code>string</code> | — | — |
| <code>fontSize</code> | no | <code>string &#124; number</code> | — | — |
| <code>fontSizeAdjust</code> | no | <code>string &#124; number</code> | — | — |
| <code>fontStretch</code> | no | <code>string &#124; number</code> | — | — |
| <code>fontStyle</code> | no | <code>string &#124; number</code> | — | — |
| <code>fontVariant</code> | no | <code>string &#124; number</code> | — | — |
| <code>fontWeight</code> | no | <code>string &#124; number</code> | — | — |
| <code>format</code> | no | <code>string &#124; number</code> | — | — |
| <code>fr</code> | no | <code>string &#124; number</code> | — | — |
| <code>frame</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>from</code> | no | <code>string &#124; number</code> | — | — |
| <code>fs</code> | no | <code>StyleProp&lt;Property.FontStyle&gt;</code> | <code>"-moz-initial"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"italic"</code>, <code>"normal"</code>, <code>"oblique"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"unset"</code> | FontStyle |
| <code>fw</code> | no | <code>StyleProp&lt;Property.FontWeight&gt;</code> | <code>"-moz-initial"</code>, <code>"bold"</code>, <code>"bolder"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"lighter"</code>, <code>"normal"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"unset"</code> | FontWeight |
| <code>fx</code> | no | <code>string &#124; number</code> | — | — |
| <code>fy</code> | no | <code>string &#124; number</code> | — | — |
| <code>fz</code> | no | <code>StyleProp&lt;number &#124; "h1" &#124; "h2" &#124; "h3" &#124; "h4" &#124; "h5" &#124; "h6" &#124; MantineFontSize&gt;</code> | <code>"h1"</code>, <code>"h2"</code>, <code>"h3"</code>, <code>"h4"</code>, <code>"h5"</code>, <code>"h6"</code>, <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | FontSize, theme key: theme.fontSizes |
| <code>g1</code> | no | <code>string &#124; number</code> | — | — |
| <code>g2</code> | no | <code>string &#124; number</code> | — | — |
| <code>glyphName</code> | no | <code>string &#124; number</code> | — | — |
| <code>glyphOrientationHorizontal</code> | no | <code>string &#124; number</code> | — | — |
| <code>glyphOrientationVertical</code> | no | <code>string &#124; number</code> | — | — |
| <code>gradientTransform</code> | no | <code>string</code> | — | — |
| <code>gradientUnits</code> | no | <code>string</code> | — | — |
| <code>h</code> | no | <code>StyleProp&lt;Property.Height&lt;string &#124; number&gt;&gt;</code> | — | Height, theme key: theme.spacing |
| <code>hanging</code> | no | <code>string &#124; number</code> | — | — |
| <code>headers</code> | no | <code>string</code> | — | — |
| <code>height</code> | no | <code>string &#124; number</code> | — | — |
| <code>hidden</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>hiddenFrom</code> | no | <code>MantineBreakpoint</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Breakpoint above which the component is hidden with `display: none` |
| <code>horizAdvX</code> | no | <code>string &#124; number</code> | — | — |
| <code>horizOriginX</code> | no | <code>string &#124; number</code> | — | — |
| <code>href</code> | no | <code>string</code> | — | — |
| <code>id</code> | no | <code>string</code> | — | Static id used as base to generate `aria-` attributes, by default generates random id |
| <code>ideographic</code> | no | <code>string &#124; number</code> | — | — |
| <code>imageRendering</code> | no | <code>string &#124; number</code> | — | — |
| <code>in</code> | no | <code>string</code> | — | — |
| <code>in2</code> | no | <code>string &#124; number</code> | — | — |
| <code>inert</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>inlist</code> | no | <code>unknown</code> | — | — |
| <code>inputMode</code> | no | <code>"search" &#124; "text" &#124; "none" &#124; "tel" &#124; "url" &#124; "email" &#124; "numeric" &#124; "decimal"</code> | <code>"decimal"</code>, <code>"email"</code>, <code>"none"</code>, <code>"numeric"</code>, <code>"search"</code>, <code>"tel"</code>, <code>"text"</code>, <code>"url"</code> | Hints at the type of data that might be entered by the user while editing the element or its contents |
| <code>intercept</code> | no | <code>string &#124; number</code> | — | — |
| <code>is</code> | no | <code>string</code> | — | Specify that a standard HTML element should behave like a defined custom built-in element |
| <code>itemID</code> | no | <code>string</code> | — | — |
| <code>itemProp</code> | no | <code>string</code> | — | — |
| <code>itemScope</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>itemType</code> | no | <code>string</code> | — | — |
| <code>k</code> | no | <code>string &#124; number</code> | — | — |
| <code>k1</code> | no | <code>string &#124; number</code> | — | — |
| <code>k2</code> | no | <code>string &#124; number</code> | — | — |
| <code>k3</code> | no | <code>string &#124; number</code> | — | — |
| <code>k4</code> | no | <code>string &#124; number</code> | — | — |
| <code>kernelMatrix</code> | no | <code>string &#124; number</code> | — | — |
| <code>kernelUnitLength</code> | no | <code>string &#124; number</code> | — | — |
| <code>kerning</code> | no | <code>string &#124; number</code> | — | — |
| <code>key</code> | no | <code>Key &#124; null</code> | — | Stable identity used by React when rendering collections. |
| <code>keyPoints</code> | no | <code>string &#124; number</code> | — | — |
| <code>keySplines</code> | no | <code>string &#124; number</code> | — | — |
| <code>keyTimes</code> | no | <code>string &#124; number</code> | — | — |
| <code>lang</code> | no | <code>string</code> | — | — |
| <code>lengthAdjust</code> | no | <code>string &#124; number</code> | — | — |
| <code>letterSpacing</code> | no | <code>string &#124; number</code> | — | — |
| <code>lh</code> | no | <code>StyleProp&lt;number &#124; "h1" &#124; "h2" &#124; "h3" &#124; "h4" &#124; "h5" &#124; "h6" &#124; MantineLineHeight&gt;</code> | <code>"h1"</code>, <code>"h2"</code>, <code>"h3"</code>, <code>"h4"</code>, <code>"h5"</code>, <code>"h6"</code>, <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | LineHeight, theme key: lineHeights |
| <code>lightHidden</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether component should be hidden in light color scheme with `display: none` |
| <code>lightingColor</code> | no | <code>string &#124; number</code> | — | — |
| <code>limitingConeAngle</code> | no | <code>string &#124; number</code> | — | — |
| <code>list</code> | no | <code>string</code> | — | — |
| <code>local</code> | no | <code>string &#124; number</code> | — | — |
| <code>lts</code> | no | <code>StyleProp&lt;Property.LetterSpacing&lt;string &#124; number&gt;&gt;</code> | — | LetterSpacing |
| <code>m</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Margin, theme key: theme.spacing |
| <code>mah</code> | no | <code>StyleProp&lt;Property.MaxHeight&lt;string &#124; number&gt;&gt;</code> | — | MaxHeight, theme key: theme.spacing |
| <code>markerEnd</code> | no | <code>string</code> | — | — |
| <code>markerHeight</code> | no | <code>string &#124; number</code> | — | — |
| <code>markerMid</code> | no | <code>string</code> | — | — |
| <code>markerStart</code> | no | <code>string</code> | — | — |
| <code>markerUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>markerWidth</code> | no | <code>string &#124; number</code> | — | — |
| <code>mask</code> | no | <code>string</code> | — | — |
| <code>maskContentUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>maskUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>mathematical</code> | no | <code>string &#124; number</code> | — | — |
| <code>maw</code> | no | <code>StyleProp&lt;Property.MaxWidth&lt;string &#124; number&gt;&gt;</code> | — | MaxWidth, theme key: theme.spacing |
| <code>max</code> | no | <code>string &#124; number</code> | — | — |
| <code>maxLength</code> | no | <code>number</code> | — | — |
| <code>mb</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginBottom, theme key: theme.spacing |
| <code>me</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginInlineEnd, theme key: theme.spacing |
| <code>media</code> | no | <code>string</code> | — | — |
| <code>method</code> | no | <code>string</code> | — | — |
| <code>mie</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginInlineEnd, theme key: theme.spacing |
| <code>mih</code> | no | <code>StyleProp&lt;Property.MinHeight&lt;string &#124; number&gt;&gt;</code> | — | MinHeight, theme key: theme.spacing |
| <code>min</code> | no | <code>string &#124; number</code> | — | — |
| <code>minLength</code> | no | <code>number</code> | — | — |
| <code>mis</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginInlineStart, theme key: theme.spacing |
| <code>miw</code> | no | <code>StyleProp&lt;Property.MinWidth&lt;string &#124; number&gt;&gt;</code> | — | MinWidth, theme key: theme.spacing |
| <code>ml</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginLeft, theme key: theme.spacing |
| <code>mod</code> | no | <code>BoxMod</code> | — | Element modifiers transformed into `data-` attributes, for example, `{ 'data-size': 'xl' }`, falsy values are removed |
| <code>mode</code> | no | <code>string &#124; number</code> | — | — |
| <code>mr</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginRight, theme key: theme.spacing |
| <code>ms</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginInlineStart, theme key: theme.spacing |
| <code>mt</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginTop, theme key: theme.spacing |
| <code>multiple</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>mx</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginInline, theme key: theme.spacing |
| <code>my</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | MarginBlock, theme key: theme.spacing |
| <code>name</code> | no | <code>string</code> | — | — |
| <code>nonce</code> | no | <code>string</code> | — | — |
| <code>numOctaves</code> | no | <code>string &#124; number</code> | — | — |
| <code>offset</code> | no | <code>string &#124; number</code> | — | — |
| <code>opacity</code> | no | <code>StyleProp&lt;Property.Opacity&gt;</code> | <code>"-moz-initial"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"unset"</code> | — |
| <code>operator</code> | no | <code>string &#124; number</code> | — | — |
| <code>order</code> | no | <code>string &#124; number</code> | — | — |
| <code>orient</code> | no | <code>string &#124; number</code> | — | — |
| <code>orientation</code> | no | <code>string &#124; number</code> | — | — |
| <code>origin</code> | no | <code>string &#124; number</code> | — | — |
| <code>overflow</code> | no | <code>string &#124; number</code> | — | — |
| <code>overlinePosition</code> | no | <code>string &#124; number</code> | — | — |
| <code>overlineThickness</code> | no | <code>string &#124; number</code> | — | — |
| <code>p</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Padding, theme key: theme.spacing |
| <code>paintOrder</code> | no | <code>string &#124; number</code> | — | — |
| <code>panose1</code> | no | <code>string &#124; number</code> | — | — |
| <code>part</code> | no | <code>string</code> | — | — |
| <code>path</code> | no | <code>string</code> | — | — |
| <code>pathLength</code> | no | <code>string &#124; number</code> | — | — |
| <code>pattern</code> | no | <code>string</code> | — | — |
| <code>patternContentUnits</code> | no | <code>string</code> | — | — |
| <code>patternTransform</code> | no | <code>string &#124; number</code> | — | — |
| <code>patternUnits</code> | no | <code>string</code> | — | — |
| <code>pb</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingBottom, theme key: theme.spacing |
| <code>pe</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingInlineEnd, theme key: theme.spacing |
| <code>pie</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingInlineEnd, theme key: theme.spacing |
| <code>pis</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingInlineStart, theme key: theme.spacing |
| <code>pl</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingLeft, theme key: theme.spacing |
| <code>placeholder</code> | no | <code>string</code> | — | — |
| <code>pointerEvents</code> | no | <code>string &#124; number</code> | — | — |
| <code>points</code> | no | <code>string</code> | — | — |
| <code>pointsAtX</code> | no | <code>string &#124; number</code> | — | — |
| <code>pointsAtY</code> | no | <code>string &#124; number</code> | — | — |
| <code>pointsAtZ</code> | no | <code>string &#124; number</code> | — | — |
| <code>pr</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingRight, theme key: theme.spacing |
| <code>prefix</code> | no | <code>string</code> | — | — |
| <code>preserveAlpha</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>preserveAspectRatio</code> | no | <code>string</code> | — | — |
| <code>primitiveUnits</code> | no | <code>string &#124; number</code> | — | — |
| <code>property</code> | no | <code>string</code> | — | — |
| <code>ps</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingInlineStart, theme key: theme.spacing |
| <code>pt</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingTop, theme key: theme.spacing |
| <code>px</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingInline, theme key: theme.spacing |
| <code>py</code> | no | <code>StyleProp&lt;MantineSpacing&gt;</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | PaddingBlock, theme key: theme.spacing |
| <code>r</code> | no | <code>string &#124; number</code> | — | — |
| <code>radioGroup</code> | no | <code>string</code> | — | — |
| <code>radius</code> | no | <code>MantineRadius</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Key of `theme.radius` or any valid CSS value to set `border-radius`, numbers are converted to rem |
| <code>readOnly</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>rel</code> | no | <code>string</code> | — | — |
| <code>renderingIntent</code> | no | <code>string &#124; number</code> | — | — |
| <code>repeatCount</code> | no | <code>string &#124; number</code> | — | — |
| <code>repeatDur</code> | no | <code>string &#124; number</code> | — | — |
| <code>required</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>requiredExtensions</code> | no | <code>string &#124; number</code> | — | — |
| <code>requiredFeatures</code> | no | <code>string &#124; number</code> | — | — |
| <code>resource</code> | no | <code>string</code> | — | — |
| <code>restart</code> | no | <code>string &#124; number</code> | — | — |
| <code>result</code> | no | <code>string</code> | — | — |
| <code>results</code> | no | <code>number</code> | — | — |
| <code>rev</code> | no | <code>string</code> | — | — |
| <code>role</code> | no | <code>AriaRole</code> | — | — |
| <code>rotate</code> | no | <code>string &#124; number</code> | — | — |
| <code>rowSpan</code> | no | <code>number</code> | — | — |
| <code>rows</code> | no | <code>number</code> | — | — |
| <code>rules</code> | no | <code>"none" &#124; "all" &#124; "rows" &#124; "groups" &#124; "columns"</code> | <code>"all"</code>, <code>"columns"</code>, <code>"groups"</code>, <code>"none"</code>, <code>"rows"</code> | — |
| <code>rx</code> | no | <code>string &#124; number</code> | — | — |
| <code>ry</code> | no | <code>string &#124; number</code> | — | — |
| <code>scale</code> | no | <code>string &#124; number</code> | — | — |
| <code>scope</code> | no | <code>string</code> | — | — |
| <code>security</code> | no | <code>string</code> | — | — |
| <code>seed</code> | no | <code>string &#124; number</code> | — | — |
| <code>shadow</code> | no | <code>MantineShadow</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Key of `theme.shadows` or any other valid CSS `box-shadow` value |
| <code>shapeRendering</code> | no | <code>string &#124; number</code> | — | — |
| <code>size</code> | no | <code>"xs" &#124; "sm" &#124; "md" &#124; "lg" &#124; "xl"</code> | <code>"compact-lg"</code>, <code>"compact-md"</code>, <code>"compact-sm"</code>, <code>"compact-xl"</code>, <code>"compact-xs"</code>, <code>"input-lg"</code>, <code>"input-md"</code>, <code>"input-sm"</code>, <code>"input-xl"</code>, <code>"input-xs"</code>, <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Component size |
| <code>slope</code> | no | <code>string &#124; number</code> | — | — |
| <code>slot</code> | no | <code>string</code> | — | — |
| <code>spacing</code> | no | <code>string &#124; number</code> | — | — |
| <code>specularConstant</code> | no | <code>string &#124; number</code> | — | — |
| <code>specularExponent</code> | no | <code>string &#124; number</code> | — | — |
| <code>speed</code> | no | <code>string &#124; number</code> | — | — |
| <code>spellCheck</code> | no | <code>false &#124; true &#124; "true" &#124; "false"</code> | <code>false</code>, <code>"false"</code>, <code>true</code>, <code>"true"</code> | — |
| <code>spreadMethod</code> | no | <code>string</code> | — | — |
| <code>src</code> | no | <code>string</code> | — | — |
| <code>startOffset</code> | no | <code>string &#124; number</code> | — | — |
| <code>stdDeviation</code> | no | <code>string &#124; number</code> | — | — |
| <code>stemh</code> | no | <code>string &#124; number</code> | — | — |
| <code>stemv</code> | no | <code>string &#124; number</code> | — | — |
| <code>step</code> | no | <code>string &#124; number</code> | — | — |
| <code>stitchTiles</code> | no | <code>string &#124; number</code> | — | — |
| <code>stopColor</code> | no | <code>string</code> | — | — |
| <code>stopOpacity</code> | no | <code>string &#124; number</code> | — | — |
| <code>strikethroughPosition</code> | no | <code>string &#124; number</code> | — | — |
| <code>strikethroughThickness</code> | no | <code>string &#124; number</code> | — | — |
| <code>string</code> | no | <code>string &#124; number</code> | — | — |
| <code>stroke</code> | no | <code>string</code> | — | — |
| <code>strokeDasharray</code> | no | <code>string &#124; number</code> | — | — |
| <code>strokeDashoffset</code> | no | <code>string &#124; number</code> | — | — |
| <code>strokeLinecap</code> | no | <code>"inherit" &#124; "round" &#124; "butt" &#124; "square"</code> | <code>"butt"</code>, <code>"inherit"</code>, <code>"round"</code>, <code>"square"</code> | — |
| <code>strokeLinejoin</code> | no | <code>"inherit" &#124; "round" &#124; "miter" &#124; "bevel"</code> | <code>"bevel"</code>, <code>"inherit"</code>, <code>"miter"</code>, <code>"round"</code> | — |
| <code>strokeMiterlimit</code> | no | <code>string &#124; number</code> | — | — |
| <code>strokeOpacity</code> | no | <code>string &#124; number</code> | — | — |
| <code>strokeWidth</code> | no | <code>string &#124; number</code> | — | — |
| <code>style</code> | no | <code>CSSProperties</code> | — | Style to apply to the root element, used for virtualizer positioning |
| <code>styles</code> | no | <code>Partial&lt;Record&lt;"label", CSSProperties&gt;&gt;</code> | — | — |
| <code>summary</code> | no | <code>string</code> | — | — |
| <code>surfaceScale</code> | no | <code>string &#124; number</code> | — | — |
| <code>systemLanguage</code> | no | <code>string &#124; number</code> | — | — |
| <code>ta</code> | no | <code>StyleProp&lt;Property.TextAlign&gt;</code> | <code>"-khtml-center"</code>, <code>"-khtml-left"</code>, <code>"-khtml-right"</code>, <code>"-moz-center"</code>, <code>"-moz-initial"</code>, <code>"-moz-left"</code>, <code>"-moz-right"</code>, <code>"-webkit-center"</code>, <code>"-webkit-left"</code>, <code>"-webkit-match-parent"</code>, <code>"-webkit-right"</code>, <code>"center"</code>, <code>"end"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"justify"</code>, <code>"left"</code>, <code>"match-parent"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"right"</code>, <code>"start"</code>, <code>"unset"</code> | TextAlign |
| <code>tabIndex</code> | no | <code>number</code> | — | Tab index for the node |
| <code>tableValues</code> | no | <code>string &#124; number</code> | — | — |
| <code>target</code> | no | <code>string</code> | — | — |
| <code>targetX</code> | no | <code>string &#124; number</code> | — | — |
| <code>targetY</code> | no | <code>string &#124; number</code> | — | — |
| <code>td</code> | no | <code>StyleProp&lt;Property.TextDecoration&lt;string &#124; number&gt;&gt;</code> | — | TextDecoration |
| <code>textAnchor</code> | no | <code>"inherit" &#124; "end" &#124; "start" &#124; "middle"</code> | <code>"end"</code>, <code>"inherit"</code>, <code>"middle"</code>, <code>"start"</code> | — |
| <code>textDecoration</code> | no | <code>string &#124; number</code> | — | — |
| <code>textLength</code> | no | <code>string &#124; number</code> | — | — |
| <code>textRendering</code> | no | <code>string &#124; number</code> | — | — |
| <code>title</code> | no | <code>string</code> | — | Item title, displayed next to the bullet |
| <code>to</code> | no | <code>string &#124; number</code> | — | — |
| <code>transform</code> | no | <code>string</code> | — | — |
| <code>translate</code> | no | <code>"yes" &#124; "no"</code> | <code>"no"</code>, <code>"yes"</code> | — |
| <code>tt</code> | no | <code>StyleProp&lt;Property.TextTransform&gt;</code> | <code>"-moz-initial"</code>, <code>"capitalize"</code>, <code>"full-size-kana"</code>, <code>"full-width"</code>, <code>"inherit"</code>, <code>"initial"</code>, <code>"lowercase"</code>, <code>"math-auto"</code>, <code>"none"</code>, <code>"revert"</code>, <code>"revert-layer"</code>, <code>"unset"</code>, <code>"uppercase"</code> | TextTransform |
| <code>type</code> | no | <code>"button" &#124; "submit" &#124; "reset"</code> | <code>"button"</code>, <code>"checkbox"</code>, <code>"color"</code>, <code>"date"</code>, <code>"datetime-local"</code>, <code>"email"</code>, <code>"file"</code>, <code>"hidden"</code>, <code>"image"</code>, <code>"month"</code>, <code>"number"</code>, <code>"password"</code>, <code>"radio"</code>, <code>"range"</code>, <code>"reset"</code>, <code>"search"</code>, <code>"submit"</code>, <code>"tel"</code>, <code>"text"</code>, <code>"time"</code>, <code>"url"</code>, <code>"week"</code> | — |
| <code>typeof</code> | no | <code>string</code> | — | — |
| <code>u1</code> | no | <code>string &#124; number</code> | — | — |
| <code>u2</code> | no | <code>string &#124; number</code> | — | — |
| <code>underlinePosition</code> | no | <code>string &#124; number</code> | — | — |
| <code>underlineThickness</code> | no | <code>string &#124; number</code> | — | — |
| <code>unicode</code> | no | <code>string &#124; number</code> | — | — |
| <code>unicodeBidi</code> | no | <code>string &#124; number</code> | — | — |
| <code>unicodeRange</code> | no | <code>string &#124; number</code> | — | — |
| <code>unitsPerEm</code> | no | <code>string &#124; number</code> | — | — |
| <code>unselectable</code> | no | <code>"off" &#124; "on"</code> | <code>"off"</code>, <code>"on"</code> | — |
| <code>vAlphabetic</code> | no | <code>string &#124; number</code> | — | — |
| <code>vHanging</code> | no | <code>string &#124; number</code> | — | — |
| <code>vIdeographic</code> | no | <code>string &#124; number</code> | — | — |
| <code>vMathematical</code> | no | <code>string &#124; number</code> | — | — |
| <code>valign</code> | no | <code>"bottom" &#124; "top" &#124; "baseline" &#124; "middle"</code> | <code>"baseline"</code>, <code>"bottom"</code>, <code>"middle"</code>, <code>"top"</code> | — |
| <code>value</code> | no | <code>string &#124; number &#124; readonly string[]</code> | — | — |
| <code>values</code> | no | <code>string</code> | — | — |
| <code>variant</code> | no | <code>string</code> | <code>"contained"</code>, <code>"contrast"</code>, <code>"dashed"</code>, <code>"default"</code>, <code>"dot"</code>, <code>"dotted"</code>, <code>"filled"</code>, <code>"gradient"</code>, <code>"light"</code>, <code>"outline"</code>, <code>"pills"</code>, <code>"separated"</code>, <code>"solid"</code>, <code>"subtle"</code>, <code>"text"</code>, <code>"transparent"</code>, <code>"unstyled"</code>, <code>"vertical"</code>, <code>"white"</code> | Variant passed from parent component, sets `data-variant` |
| <code>vectorEffect</code> | no | <code>string &#124; number</code> | — | — |
| <code>version</code> | no | <code>string</code> | — | — |
| <code>vertAdvY</code> | no | <code>string &#124; number</code> | — | — |
| <code>vertOriginX</code> | no | <code>string &#124; number</code> | — | — |
| <code>vertOriginY</code> | no | <code>string &#124; number</code> | — | — |
| <code>viewBox</code> | no | <code>string</code> | — | — |
| <code>viewTarget</code> | no | <code>string &#124; number</code> | — | — |
| <code>visibility</code> | no | <code>string &#124; number</code> | — | — |
| <code>visibleFrom</code> | no | <code>MantineBreakpoint</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Breakpoint below which the component is hidden with `display: none` |
| <code>vocab</code> | no | <code>string</code> | — | — |
| <code>w</code> | no | <code>StyleProp&lt;Property.Width&lt;string &#124; number&gt;&gt;</code> | — | Width, theme key: theme.spacing |
| <code>width</code> | no | <code>string &#124; number</code> | — | — |
| <code>widths</code> | no | <code>string &#124; number</code> | — | — |
| <code>withBorder</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Adds border to the root element |
| <code>wordSpacing</code> | no | <code>string &#124; number</code> | — | — |
| <code>wrap</code> | no | <code>string</code> | — | — |
| <code>writingMode</code> | no | <code>string &#124; number</code> | — | — |
| <code>x</code> | no | <code>string &#124; number</code> | — | — |
| <code>x1</code> | no | <code>string &#124; number</code> | — | — |
| <code>x2</code> | no | <code>string &#124; number</code> | — | — |
| <code>xChannelSelector</code> | no | <code>string</code> | — | — |
| <code>xHeight</code> | no | <code>string &#124; number</code> | — | — |
| <code>xlinkActuate</code> | no | <code>string</code> | — | — |
| <code>xlinkArcrole</code> | no | <code>string</code> | — | — |
| <code>xlinkHref</code> | no | <code>string</code> | — | — |
| <code>xlinkRole</code> | no | <code>string</code> | — | — |
| <code>xlinkShow</code> | no | <code>string</code> | — | — |
| <code>xlinkTitle</code> | no | <code>string</code> | — | — |
| <code>xlinkType</code> | no | <code>string</code> | — | — |
| <code>xmlBase</code> | no | <code>string</code> | — | — |
| <code>xmlLang</code> | no | <code>string</code> | — | — |
| <code>xmlSpace</code> | no | <code>string</code> | — | — |
| <code>xmlns</code> | no | <code>string</code> | — | — |
| <code>xmlnsXlink</code> | no | <code>string</code> | — | — |
| <code>y</code> | no | <code>string &#124; number</code> | — | — |
| <code>y1</code> | no | <code>string &#124; number</code> | — | — |
| <code>y2</code> | no | <code>string &#124; number</code> | — | — |
| <code>yChannelSelector</code> | no | <code>string</code> | — | — |
| <code>z</code> | no | <code>string &#124; number</code> | — | — |
| <code>zoomAndPan</code> | no | <code>string</code> | — | — |
## Blocked capabilities
| Kind | Name | Reason |
| --- | --- | --- |
| prop | <code>__proto__</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>apply</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>arguments</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>autoFocus</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>backdropFilter</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>behavior</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>bottom</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>call</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>callee</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>caller</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>children</code> | Children must be expressed as interpreted JSX, not passed as a raw prop. |
| prop | <code>className</code> | Unscoped class injection can escape widget CSS isolation. |
| prop | <code>classNames</code> | Unscoped class injection can escape widget CSS isolation. |
| prop | <code>classes</code> | Unscoped class injection can escape widget CSS isolation. |
| prop | <code>clipPath</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>component</code> | Polymorphic roots can replace the Homarr-owned element boundary. |
| prop | <code>constructor</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>content</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>contentEditable</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>dangerouslySetInnerHTML</code> | Raw HTML injection is not available to authored widgets. |
| prop | <code>filter</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>form</code> | External form submission is outside the named-request security boundary. |
| prop | <code>formAction</code> | External form submission is outside the named-request security boundary. |
| prop | <code>formEncType</code> | External form submission is outside the named-request security boundary. |
| prop | <code>formMethod</code> | External form submission is outside the named-request security boundary. |
| prop | <code>formNoValidate</code> | External form submission is outside the named-request security boundary. |
| prop | <code>formTarget</code> | External form submission is outside the named-request security boundary. |
| prop | <code>innerRef</code> | Refs expose underlying React components and DOM nodes. |
| prop | <code>inset</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>left</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>mask</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>ping</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>pointerEvents</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>popover</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>popoverTarget</code> | Portal targeting can render or interact outside the widget root. |
| prop | <code>popoverTargetAction</code> | Portal targeting can render or interact outside the widget root. |
| prop | <code>portalProps</code> | Portal targeting can render or interact outside the widget root. |
| prop | <code>pos</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>position</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>prototype</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>ref</code> | Refs expose underlying React components and DOM nodes. |
| prop | <code>renderRoot</code> | Polymorphic roots can replace the Homarr-owned element boundary. |
| prop | <code>right</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>srcDoc</code> | Raw HTML injection is not available to authored widgets. |
| prop | <code>suppressContentEditableWarning</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>suppressHydrationWarning</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>top</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop | <code>withinPortal</code> | Portal targeting can render or interact outside the widget root. |
| prop | <code>zIndex</code> | This capability is blocked by the Custom JSX safety boundary. |
| prop-pattern | <code>on*</code> | Authored event callbacks can execute code outside the declarative runtime. |
| prop-pattern | <code>*Ref</code> | Refs expose underlying React components and DOM nodes. |
| prop-pattern | <code>__*</code> | Private and prototype-related properties are outside the supported authoring surface. |
@@ -0,0 +1,325 @@
# Homarr components
> Generated from `component-catalog-v1.json`. Catalog schema v1 · Custom Widget 2.0.0 · Mantine 9.4.1. Do not edit this file by hand.
Package: `@homarr/widgets`. Effective props combine the [shared prop API](components.md#shared-prop-api) with each component's specific props below. Component-specific records override shared records with the same name.
## Package guidance
Homarr components own controlled request, action, pagination, disclosure, icon, and recursive traversal behavior. Manual request parameters come from the invoking component's `params` prop. `RecursiveList` is the only supported arbitrary-depth authored renderer and its child template may use the restricted safe-block grammar.
## Enabled inventory
<code>ActionButton</code>, <code>Collapsible</code>, <code>PaginatedList</code>, <code>RecursiveList</code>, <code>RefreshButton</code>, <code>StatBar</code>, <code>SubData</code>, <code>SubFetch</code>, <code>TabPanel</code>, <code>TablerIcon</code>, <code>TabsContainer</code>, <code>ToggleSwitch</code>, <code>TypeBadge</code>
## Denied inventory
_None._
## Component records
<a id="component-actionbutton"></a>
### `ActionButton`
- Safety: `wrapped`
- Category: `network`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Action labels must describe their effect; destructive actions require confirmation.
Runs a named user-triggered action.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>confirmMessage</code> | no | <code>string</code> | — | — |
| <code>disabled</code> | no | <code>boolean &#124; string</code> | — | — |
| <code>errorMessage</code> | no | <code>string</code> | — | — |
| <code>fullWidth</code> | no | <code>boolean &#124; string</code> | — | — |
| <code>icon</code> | no | <code>string</code> | — | — |
| <code>label</code> | no | <code>string</code> | — | — |
| <code>params</code> | no | <code>Record&lt;string, string &#124; number &#124; boolean&gt;</code> | — | — |
| <code>requestId</code> | no | <code>string</code> | — | Identifier of the named Custom Widget action. |
| <code>size</code> | no | <code>string</code> | — | — |
| <code>successMessage</code> | no | <code>string</code> | — | — |
<a id="component-collapsible"></a>
### `Collapsible`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Shows and hides a bounded content section.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>defaultOpen</code> | no | <code>boolean</code> | — | — |
| <code>title</code> | yes | <code>string</code> | — | — |
<a id="component-paginatedlist"></a>
### `PaginatedList`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Renders a bounded page of collection items.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>pageSize</code> | no | <code>number</code> | — | — |
<a id="component-recursivelist"></a>
### `RecursiveList`
- Safety: `wrapped`
- Category: `content`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide meaningful text alternatives for non-text content.
Renders an arbitrary-depth tree through a bounded, Homarr-owned traversal.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>childrenPath</code> | yes | <code>string</code> | — | — |
| <code>data</code> | yes | <code>unknown</code> | — | — |
| <code>defaultExpandedDepth</code> | no | <code>number</code> | — | — |
| <code>gap</code> | no | <code>MantineSpacing</code> | — | — |
| <code>indent</code> | no | <code>MantineSpacing</code> | — | — |
| <code>keyPath</code> | yes | <code>string</code> | — | — |
| <code>maxDepth</code> | no | <code>number</code> | — | — |
| <code>maxNodes</code> | no | <code>number</code> | — | — |
| <code>showLines</code> | no | <code>boolean</code> | — | — |
<a id="component-refreshbutton"></a>
### `RefreshButton`
- Safety: `wrapped`
- Category: `network`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Action labels must describe their effect; destructive actions require confirmation.
Refreshes load-triggered widget queries.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>label</code> | no | <code>string</code> | — | — |
| <code>size</code> | no | <code>string</code> | — | — |
<a id="component-statbar"></a>
### `StatBar`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Displays a compact labeled statistic and progress value.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>label</code> | no | <code>string</code> | — | — |
| <code>max</code> | no | <code>number</code> | — | — |
| <code>value</code> | yes | <code>number</code> | — | — |
<a id="component-subdata"></a>
### `SubData`
- Safety: `wrapped`
- Category: `network`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Action labels must describe their effect; destructive actions require confirmation.
Reads a nested value from a named manual-query result.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>as</code> | no | <code>'Text' &#124; 'Title' &#124; 'Badge' &#124; 'Code' &#124; 'Image'</code> | <code>"Text"</code>, <code>"Title"</code>, <code>"Badge"</code>, <code>"Code"</code>, <code>"Image"</code> | — |
| <code>c</code> | no | <code>string</code> | — | — |
| <code>fit</code> | no | <code>string</code> | — | — |
| <code>fw</code> | no | <code>number</code> | — | — |
| <code>h</code> | no | <code>string &#124; number</code> | — | — |
| <code>order</code> | no | <code>1 &#124; 2 &#124; 3 &#124; 4 &#124; 5 &#124; 6</code> | <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code>, <code>6</code> | — |
| <code>radius</code> | no | <code>string &#124; number</code> | — | — |
| <code>size</code> | no | <code>string</code> | — | — |
| <code>w</code> | no | <code>string &#124; number</code> | — | — |
<a id="component-subfetch"></a>
### `SubFetch`
- Safety: `wrapped`
- Category: `network`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Action labels must describe their effect; destructive actions require confirmation.
Runs a named manual query with invocation-time parameters.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>as</code> | no | <code>'json' &#124; 'text'</code> | <code>"json"</code>, <code>"text"</code> | — |
| <code>errorMessage</code> | no | <code>string</code> | — | — |
| <code>fallback</code> | no | <code>ReactNode</code> | — | — |
| <code>loadingLabel</code> | no | <code>string</code> | — | — |
| <code>params</code> | no | <code>Record&lt;string, string &#124; number &#124; boolean&gt;</code> | — | — |
| <code>refreshInterval</code> | no | <code>number</code> | — | — |
| <code>requestId</code> | no | <code>string</code> | — | Identifier of the named Custom Widget query. |
| <code>trigger</code> | no | <code>'auto' &#124; 'manual'</code> | <code>"auto"</code>, <code>"manual"</code> | — |
<a id="component-tabpanel"></a>
### `TabPanel`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Renders content for one declarative tab.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>label</code> | no | <code>string</code> | — | — |
| <code>value</code> | yes | <code>string</code> | — | — |
<a id="component-tablericon"></a>
### `TablerIcon`
- Safety: `wrapped`
- Category: `content`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide meaningful text alternatives for non-text content.
Resolves an installed Tabler icon by its safe name.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>name</code> | yes | <code>string</code> | — | — |
| <code>size</code> | no | <code>string &#124; number</code> | — | — |
| <code>stroke</code> | no | <code>string &#124; number</code> | — | — |
<a id="component-tabscontainer"></a>
### `TabsContainer`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Renders a declarative tab container.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>defaultTab</code> | no | <code>string</code> | — | — |
<a id="component-toggleswitch"></a>
### `ToggleSwitch`
- Safety: `wrapped`
- Category: `network`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Action labels must describe their effect; destructive actions require confirmation.
Runs named actions for the enabled and disabled states.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>disabled</code> | no | <code>boolean &#124; string</code> | — | — |
| <code>errorMessage</code> | no | <code>string</code> | — | — |
| <code>initialValue</code> | no | <code>boolean &#124; string</code> | — | — |
| <code>label</code> | no | <code>string</code> | — | — |
| <code>offParams</code> | no | <code>Record&lt;string, string &#124; number &#124; boolean&gt;</code> | — | — |
| <code>requestId</code> | no | <code>string</code> | — | Identifier of the named Custom Widget action. |
| <code>size</code> | no | <code>string</code> | — | — |
<a id="component-typebadge"></a>
### `TypeBadge`
- Safety: `allowed`
- Category: `interaction`
- Documentation: [upstream component API](https://homarr.dev/docs/management/custom-widgets/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Provide a visible label or aria-label.
Displays a compact semantic type badge.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>size</code> | no | <code>'xs' &#124; 'sm' &#124; 'md' &#124; 'lg' &#124; 'xl'</code> | <code>"xs"</code>, <code>"sm"</code>, <code>"md"</code>, <code>"lg"</code>, <code>"xl"</code> | — |
| <code>type</code> | yes | <code>string</code> | — | — |
@@ -0,0 +1,703 @@
# Mantine Charts
> Generated from `component-catalog-v1.json`. Catalog schema v1 · Custom Widget 2.0.0 · Mantine 9.4.1. Do not edit this file by hand.
Package: `@mantine/charts`. Effective props combine the [shared prop API](components.md#shared-prop-api) with each component's specific props below. Component-specific records override shared records with the same name.
## Package guidance
Pass sanitized JSON data through serializable props. Use [immutable local `const` blocks](runtime.md#immutable-local-bindings) for repeated derived chart values; authored formatters and renderer callbacks remain blocked. Include a textual summary and do not rely on color alone.
## Enabled inventory
<code>AreaChart</code>, <code>BarChart</code>, <code>BarsList</code>, <code>BubbleChart</code>, <code>ChartLegend</code>, <code>ChartTooltip</code>, <code>CompositeChart</code>, <code>DonutChart</code>, <code>FunnelChart</code>, <code>Heatmap</code>, <code>LineChart</code>, <code>PieChart</code>, <code>RadarChart</code>, <code>RadialBarChart</code>, <code>SankeyChart</code>, <code>ScatterChart</code>, <code>Sparkline</code>, <code>Treemap</code>
## Denied inventory
<code>AreaGradient</code>
## Component records
<a id="component-areachart"></a>
### `AreaChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/area-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>activeDotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all active dots. Ignored if `withDots={false}` is set. |
| <code>areaChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `AreaChart` component |
| <code>attributes</code> | no | <code>{ area?: Record&lt;string, any&gt;; legend?: Record&lt;string, any&gt;; grid?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; ... 14 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>connectNulls</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, points with `null` values are connected |
| <code>curveType</code> | no | <code>"step" &#124; "bump" &#124; "linear" &#124; "natural" &#124; "monotone" &#124; "stepBefore" &#124; "stepAfter"</code> | <code>"bump"</code>, <code>"linear"</code>, <code>"monotone"</code>, <code>"natural"</code>, <code>"step"</code>, <code>"stepAfter"</code>, <code>"stepBefore"</code> | Type of the curve |
| <code>data</code> | yes | <code>ChartData</code> | — | Data used to display chart |
| <code>dataKey</code> | yes | <code>string</code> | — | Key of the `data` object for x-axis values |
| <code>dotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all dots. Ignored if `withDots={false}` is set. |
| <code>gridAxis</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which lines should be displayed in the grid, `'x'` by default |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>gridProps</code> | no | <code>Omit&lt;CartesianGridProps, "ref"&gt;</code> | — | Props passed down to the `CartesianGrid` component |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to the `Legend` component |
| <code>referenceLines</code> | no | <code>ChartReferenceLineProps[]</code> | — | Reference lines that should be displayed on the chart |
| <code>rightYAxisLabel</code> | no | <code>string</code> | — | A label to display next to the right y-axis |
| <code>rightYAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component rendered on the right side |
| <code>series</code> | yes | <code>AreaChartSeries[]</code> | — | An array of objects with `name` and `color` keys. Determines which data should be consumed from the `data` array. |
| <code>splitColors</code> | no | <code>[DefaultMantineColor, DefaultMantineColor]</code> | — | A tuple of colors used when `type="split"` is set, ignored in all other cases. A tuple may include theme colors reference or any valid CSS colors |
| <code>splitOffset</code> | no | <code>number</code> | — | Offset for the split gradient. By default, value is inferred from `data` and `series` if possible. Must be generated from the data array with `getSplitOffset` function. |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart, `'dimmed'` by default |
| <code>tickLine</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which axis should have tick line, `'y'` by default |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms, `0` by default |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unit</code> | no | <code>string</code> | — | Unit displayed next to each tick in y-axis |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withDots</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether dots should be displayed |
| <code>withGradient</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the chart area should be represented with a gradient instead of the solid color |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart legend should be displayed, `false` by default |
| <code>withPointLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, each point has an associated label |
| <code>withRightYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether additional y-axis should be displayed on the right side of the chart, `false` by default |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart tooltip should be displayed, `true` by default |
| <code>withXAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether x-axis should be displayed, `true` by default |
| <code>withYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether y-axis should be displayed, `true` by default |
| <code>xAxisLabel</code> | no | <code>string</code> | — | A label to display below the x-axis |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisLabel</code> | no | <code>string</code> | — | A label to display next to the y-axis |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
<a id="component-areagradient"></a>
### `AreaGradient`
- Safety: `denied`
- Category: `blocked`
- Documentation: [upstream component API](https://mantine.dev/charts/area-gradient/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- No additional catalog requirement; preserve semantic labels and text alternatives.
Denied reason: Low-level chart implementation helper.
#### Component-specific props
_No authorable props because this component is denied._
<a id="component-barchart"></a>
### `BarChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/bar-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; grid?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; ... 14 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>barChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `BarChart` component |
| <code>barLabelColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the bar label, by default the value is determined by the chart orientation |
| <code>cursorFill</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Fill of hovered bar section, by default value is based on color scheme |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Data used to display chart. |
| <code>dataKey</code> | yes | <code>string</code> | — | Key of the `data` object for x-axis values |
| <code>gridAxis</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which lines should be displayed in the grid, `'x'` by default |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>gridProps</code> | no | <code>Omit&lt;CartesianGridProps, "ref"&gt;</code> | — | Props passed down to the `CartesianGrid` component |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to the `Legend` component |
| <code>maxBarWidth</code> | no | <code>number</code> | — | Maximum bar width in px |
| <code>minBarSize</code> | no | <code>number</code> | — | Sets minimum height of the bar in px |
| <code>referenceLines</code> | no | <code>ChartReferenceLineProps[]</code> | — | Reference lines that should be displayed on the chart |
| <code>rightYAxisLabel</code> | no | <code>string</code> | — | A label to display next to the right y-axis |
| <code>rightYAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component rendered on the right side |
| <code>series</code> | yes | <code>BarChartSeries[]</code> | — | An array of objects with `name` and `color` keys. Determines which data should be consumed from the `data` array. |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart, `'dimmed'` by default |
| <code>tickLine</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which axis should have tick line, `'y'` by default |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms, `0` by default |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unit</code> | no | <code>string</code> | — | Unit displayed next to each tick in y-axis |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withBarValueLabel</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether a label with bar value should be displayed on top of each bar, incompatible with `type="stacked"` and `type="percent"` |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart legend should be displayed, `false` by default |
| <code>withRightYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether additional y-axis should be displayed on the right side of the chart, `false` by default |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart tooltip should be displayed, `true` by default |
| <code>withXAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether x-axis should be displayed, `true` by default |
| <code>withYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether y-axis should be displayed, `true` by default |
| <code>xAxisLabel</code> | no | <code>string</code> | — | A label to display below the x-axis |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisLabel</code> | no | <code>string</code> | — | A label to display next to the y-axis |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
<a id="component-barslist"></a>
### `BarsList`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/bars-list/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ root?: Record&lt;string, any&gt;; bar?: Record&lt;string, any&gt;; barLabel?: Record&lt;string, any&gt;; barValue?: Record&lt;string, any&gt;; labelsRow?: Record&lt;...&gt;; }</code> | — | — |
| <code>autoContrast</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, adjusts text color based on background color |
| <code>barColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Default bar background color, used when item does not have color specified |
| <code>barGap</code> | no | <code>MantineSpacing</code> | <code>"lg"</code>, <code>"md"</code>, <code>"sm"</code>, <code>"xl"</code>, <code>"xs"</code> | Controls gap between bars |
| <code>barHeight</code> | no | <code>string &#124; number</code> | — | Bar height |
| <code>barTextColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Bar text color, overrides autoContrast |
| <code>barsLabel</code> | no | <code>string</code> | — | Label displayed above the bars column |
| <code>data</code> | yes | <code>BarsListBarData[]</code> | — | Data for bars |
| <code>minBarSize</code> | no | <code>string &#124; number</code> | — | Minimum bar width |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>valueLabel</code> | no | <code>string</code> | — | Label displayed above the values column |
<a id="component-bubblechart"></a>
### `BubbleChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/bubble-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; axis?: Record&lt;string, any&gt;; }</code> | — | — |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Chart data |
| <code>dataKey</code> | yes | <code>BubbleChartDataKey</code> | — | Data keys for x, y and z axis |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>label</code> | no | <code>string</code> | — | Chart label displayed next to the x axis |
| <code>range</code> | yes | <code>[number, number]</code> | — | Z axis range |
| <code>scatterProps</code> | no | <code>Partial&lt;Omit&lt;ScatterProps, "ref"&gt;&gt;</code> | — | Props passed down to the `Scatter` component |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
| <code>zAxisProps</code> | no | <code>Omit&lt;ZAxisProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `ZAxis` recharts component |
<a id="component-chartlegend"></a>
### `ChartLegend`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/chart-legend/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; legendItem?: Record&lt;string, any&gt;; legendItemColor?: Record&lt;string, any&gt;; legendItemName?: Record&lt;...&gt;; }</code> | — | — |
| <code>centered</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be centered |
| <code>legendPosition</code> | yes | <code>"bottom" &#124; "top" &#124; "middle"</code> | <code>"bottom"</code>, <code>"middle"</code>, <code>"top"</code> | Position of the legend relative to the chart, used to apply margin on the corresponding side |
| <code>payload</code> | no | <code>readonly Record&lt;string, any&gt;[]</code> | — | Chart data provided by recharts |
| <code>series</code> | no | <code>ChartSeries[]</code> | — | Data used for labels, only applicable for area charts: AreaChart, LineChart, BarChart |
| <code>showColor</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether color swatch should be shown next to the label |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
<a id="component-charttooltip"></a>
### `ChartTooltip`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/chart-tooltip/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ tooltip?: Record&lt;string, any&gt;; tooltipItem?: Record&lt;string, any&gt;; tooltipItemBody?: Record&lt;string, any&gt;; tooltipItemColor?: Record&lt;...&gt;; tooltipItemName?: Record&lt;...&gt;; tooltipItemData?: Record&lt;...&gt;; tooltipLabel?: Record&lt;...&gt;; tool...</code> | — | — |
| <code>label</code> | no | <code>React.ReactNode</code> | — | Main tooltip label |
| <code>payload</code> | no | <code>Record&lt;string, any&gt;[] &#124; readonly Record&lt;string, any&gt;[]</code> | — | Chart data provided by recharts |
| <code>segmentId</code> | no | <code>string &#124; number</code> | — | Segment to display data for, identified by its index in the data array (preferred, isolates duplicate names) or by its name. Only applicable when `type="radial"`. If not set, all data is rendered. |
| <code>series</code> | no | <code>ChartSeries[]</code> | — | Chart series data, applicable only for `area` type |
| <code>showColor</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the color swatch should be visible |
| <code>unit</code> | no | <code>string</code> | — | Data units, provided by parent component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
<a id="component-compositechart"></a>
### `CompositeChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/composite-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>activeDotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all active dots. Ignored if `withDots={false}` is set. |
| <code>attributes</code> | no | <code>{ area?: Record&lt;string, any&gt;; legend?: Record&lt;string, any&gt;; line?: Record&lt;string, any&gt;; grid?: Record&lt;string, any&gt;; ... 16 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>composedChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `AreaChart` component |
| <code>connectNulls</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether points with `null` values should be connected |
| <code>curveType</code> | no | <code>"step" &#124; "bump" &#124; "linear" &#124; "natural" &#124; "monotone" &#124; "stepBefore" &#124; "stepAfter"</code> | <code>"bump"</code>, <code>"linear"</code>, <code>"monotone"</code>, <code>"natural"</code>, <code>"step"</code>, <code>"stepAfter"</code>, <code>"stepBefore"</code> | Type of the curve |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Data used to display chart |
| <code>dataKey</code> | yes | <code>string</code> | — | Key of the `data` object for x-axis values |
| <code>dotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all dots. Ignored if `withDots={false}` is set. |
| <code>gridAxis</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which lines should be displayed in the grid, `'x'` by default |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>gridProps</code> | no | <code>Omit&lt;CartesianGridProps, "ref"&gt;</code> | — | Props passed down to the `CartesianGrid` component |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to the `Legend` component |
| <code>maxBarWidth</code> | no | <code>number</code> | — | Maximum bar width in px |
| <code>minBarSize</code> | no | <code>number</code> | — | Sets minimum height of the bar in px |
| <code>referenceLines</code> | no | <code>ChartReferenceLineProps[]</code> | — | Reference lines that should be displayed on the chart |
| <code>rightYAxisLabel</code> | no | <code>string</code> | — | A label to display next to the right y-axis |
| <code>rightYAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component rendered on the right side |
| <code>series</code> | yes | <code>CompositeChartSeries[]</code> | — | An array of objects with `name` and `color` keys. Determines which data should be consumed from the `data` array. |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart, `'dimmed'` by default |
| <code>tickLine</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which axis should have tick line, `'y'` by default |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms, `0` by default |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unit</code> | no | <code>string</code> | — | Unit displayed next to each tick in y-axis |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withBarValueLabel</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether a label with bar value should be displayed on top of each bar |
| <code>withDots</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether dots should be displayed |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart legend should be displayed, `false` by default |
| <code>withPointLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether each point should have associated label |
| <code>withRightYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether additional y-axis should be displayed on the right side of the chart, `false` by default |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart tooltip should be displayed, `true` by default |
| <code>withXAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether x-axis should be displayed, `true` by default |
| <code>withYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether y-axis should be displayed, `true` by default |
| <code>xAxisLabel</code> | no | <code>string</code> | — | A label to display below the x-axis |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisLabel</code> | no | <code>string</code> | — | A label to display next to the y-axis |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
<a id="component-donutchart"></a>
### `DonutChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/donut-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ label?: Record&lt;string, any&gt;; legend?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; ... 9 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>chartLabel</code> | no | <code>string &#124; number</code> | — | Chart label, displayed in the center of the chart |
| <code>data</code> | yes | <code>DonutChartCell[]</code> | — | Data used to render chart |
| <code>endAngle</code> | no | <code>number</code> | — | Controls angle at which charts ends. Set to `0` to render the chart as semicircle. |
| <code>labelColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls text color of all labels, by default depends on color scheme |
| <code>labelsType</code> | no | <code>"value" &#124; "name" &#124; "percent"</code> | <code>"name"</code>, <code>"percent"</code>, <code>"value"</code> | Type of labels to display, `'value'` by default |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to recharts `Legend` component |
| <code>paddingAngle</code> | no | <code>number</code> | — | Controls padding between segments |
| <code>pieChartProps</code> | no | <code>(PolarChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `PieChart` component |
| <code>pieProps</code> | no | <code>Partial&lt;Omit&lt;PieProps, "ref"&gt;&gt;</code> | — | Props passed down to recharts `Pie` component |
| <code>startAngle</code> | no | <code>number</code> | — | Controls angle at which chart starts. Set to `180` to render the chart as semicircle. |
| <code>strokeColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the segments stroke, by default depends on color scheme |
| <code>thickness</code> | no | <code>number</code> | — | Controls thickness of the chart segments |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip animation duration in ms |
| <code>tooltipDataSource</code> | no | <code>"all" &#124; "segment"</code> | <code>"all"</code>, <code>"segment"</code> | Determines which data is displayed in the tooltip. `'all'` – display all values, `'segment'` – display only hovered segment. |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether each segment should have associated label |
| <code>withLabelsLine</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether segments labels should have lines that connect the segment with the label |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be displayed |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when one of the section is hovered |
<a id="component-funnelchart"></a>
### `FunnelChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/funnel-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; legendItem?: Record&lt;string, any&gt;; ... 8 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>data</code> | yes | <code>FunnelChartCell[]</code> | — | Data used to render chart |
| <code>funnelChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `FunnelChart` component |
| <code>funnelProps</code> | no | <code>Partial&lt;Omit&lt;FunnelProps, "ref"&gt;&gt;</code> | — | Props passed down to recharts `Pie` component |
| <code>labelColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls text color of all labels |
| <code>labelsPosition</code> | no | <code>"left" &#124; "right" &#124; "inside"</code> | <code>"inside"</code>, <code>"left"</code>, <code>"right"</code> | Controls labels position relative to the segment |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to recharts `Legend` component |
| <code>strokeColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the segments stroke, by default depends on color scheme |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip animation duration in ms |
| <code>tooltipDataSource</code> | no | <code>"all" &#124; "segment"</code> | <code>"all"</code>, <code>"segment"</code> | Determines which data is displayed in the tooltip. `'all'` – display all values, `'segment'` – display only hovered segment. |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether each segment should have associated label |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be displayed |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when a section is hovered |
<a id="component-heatmap"></a>
### `Heatmap`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/heatmap/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; rect?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; weekdayLabel?: Record&lt;string, any&gt;; monthLabel?: Record&lt;...&gt;; legendLabel?: Record&lt;...&gt;; legendRect?: Record&lt;...&gt;; }</code> | — | — |
| <code>colors</code> | no | <code>string[]</code> | — | Colors array, used to calculate color for each value, by default 4 shades of green colors are used |
| <code>data</code> | yes | <code>Record&lt;string, number&gt;</code> | — | Heatmap data, key is date in `YYYY-MM-DD` format (interpreted as a UTC calendar day) |
| <code>domain</code> | no | <code>[number, number]</code> | — | Heatmap domain, array of 2 numbers, min and max values, calculated from data by default |
| <code>endDate</code> | no | <code>string &#124; Date</code> | — | Heatmap end date. Current date by default. Date is normalized to UTC midnight of the intended calendar day. |
| <code>firstDayOfWeek</code> | no | <code>0 &#124; 2 &#124; 3 &#124; 4 &#124; 5 &#124; 6 &#124; 1</code> | <code>0</code>, <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code>, <code>6</code> | First day of week, 0 – Sunday, 1 – Monday. |
| <code>gap</code> | no | <code>number</code> | — | Gap between rects in px |
| <code>legendLabels</code> | no | <code>[string, string]</code> | — | Legend labels, array of 2 elements: [min label, max label] |
| <code>monthLabels</code> | no | <code>string[]</code> | — | Month labels, array of 12 elements, can be used for localization |
| <code>monthsLabelsHeight</code> | no | <code>number</code> | — | Height of month labels row |
| <code>rectRadius</code> | no | <code>number</code> | — | Rect radius in px |
| <code>rectSize</code> | no | <code>number</code> | — | Size of day rect in px |
| <code>splitMonths</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, inserts a spacer column between months |
| <code>startDate</code> | no | <code>string &#124; Date</code> | — | Heatmap start date. Current date - 1 year by default. Date is normalized to UTC midnight of the intended calendar day. |
| <code>tooltipProps</code> | no | <code>Partial&lt;TooltipFloatingProps&gt;</code> | — | Props passed down to the `Tooltip.Floating` component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>weekdayLabels</code> | no | <code>string[]</code> | — | Weekday labels, array of 7 elements, can be used for localization |
| <code>weekdaysLabelsWidth</code> | no | <code>number</code> | — | Width of weekday labels column |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, legend with color levels is displayed below the heatmap |
| <code>withMonthLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, month labels are displayed |
| <code>withOutsideDates</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, trailing dates that do not fall into the given `startDate` – `endDate` range are displayed to fill empty space. |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, tooltip is displayed on rect hover |
| <code>withWeekdayLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | If set, weekday labels are displayed |
<a id="component-linechart"></a>
### `LineChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/line-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>activeDotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all active dots. Ignored if `withDots={false}` is set. |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; line?: Record&lt;string, any&gt;; grid?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; ... 14 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>connectNulls</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether points with `null` values should be connected |
| <code>curveType</code> | no | <code>"step" &#124; "bump" &#124; "linear" &#124; "natural" &#124; "monotone" &#124; "stepBefore" &#124; "stepAfter"</code> | <code>"bump"</code>, <code>"linear"</code>, <code>"monotone"</code>, <code>"natural"</code>, <code>"step"</code>, <code>"stepAfter"</code>, <code>"stepBefore"</code> | Type of the curve |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Data used to display chart |
| <code>dataKey</code> | yes | <code>string</code> | — | Key of the `data` object for x-axis values |
| <code>dotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all dots. Ignored if `withDots={false}` is set. |
| <code>gradientStops</code> | no | <code>LineChartGradientStop[]</code> | — | Data used to generate gradient stops |
| <code>gridAxis</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which lines should be displayed in the grid, `'x'` by default |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>gridProps</code> | no | <code>Omit&lt;CartesianGridProps, "ref"&gt;</code> | — | Props passed down to the `CartesianGrid` component |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to the `Legend` component |
| <code>lineChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `LineChart` component |
| <code>referenceLines</code> | no | <code>ChartReferenceLineProps[]</code> | — | Reference lines that should be displayed on the chart |
| <code>rightYAxisLabel</code> | no | <code>string</code> | — | A label to display next to the right y-axis |
| <code>rightYAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component rendered on the right side |
| <code>series</code> | yes | <code>LineChartSeries[]</code> | — | An array of objects with `name` and `color` keys. Determines which data should be consumed from the `data` array. |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart, `'dimmed'` by default |
| <code>tickLine</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which axis should have tick line, `'y'` by default |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms, `0` by default |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unit</code> | no | <code>string</code> | — | Unit displayed next to each tick in y-axis |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withDots</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether dots should be displayed |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart legend should be displayed, `false` by default |
| <code>withPointLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether each point should have associated label |
| <code>withRightYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether additional y-axis should be displayed on the right side of the chart, `false` by default |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart tooltip should be displayed, `true` by default |
| <code>withXAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether x-axis should be displayed, `true` by default |
| <code>withYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether y-axis should be displayed, `true` by default |
| <code>xAxisLabel</code> | no | <code>string</code> | — | A label to display below the x-axis |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisLabel</code> | no | <code>string</code> | — | A label to display next to the y-axis |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
<a id="component-piechart"></a>
### `PieChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/pie-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; legendItem?: Record&lt;string, any&gt;; ... 8 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>data</code> | yes | <code>PieChartCell[]</code> | — | Data used to render chart |
| <code>endAngle</code> | no | <code>number</code> | — | Controls angle at which charts ends. Set to `0` to render the chart as semicircle. |
| <code>labelColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls text color of all labels, white by default |
| <code>labelsPosition</code> | no | <code>"inside" &#124; "outside"</code> | <code>"inside"</code>, <code>"outside"</code> | Controls labels position relative to the segment |
| <code>labelsType</code> | no | <code>"value" &#124; "name" &#124; "percent"</code> | <code>"name"</code>, <code>"percent"</code>, <code>"value"</code> | Type of labels to display |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to recharts `Legend` component |
| <code>paddingAngle</code> | no | <code>number</code> | — | Controls padding between segments |
| <code>pieChartProps</code> | no | <code>(PolarChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `PieChart` component |
| <code>pieProps</code> | no | <code>Partial&lt;Omit&lt;PieProps, "ref"&gt;&gt;</code> | — | Props passed down to recharts `Pie` component |
| <code>startAngle</code> | no | <code>number</code> | — | Controls angle at which chart starts. Set to `180` to render the chart as semicircle. |
| <code>strokeColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the segments stroke, by default depends on color scheme |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip animation duration in ms |
| <code>tooltipDataSource</code> | no | <code>"all" &#124; "segment"</code> | <code>"all"</code>, <code>"segment"</code> | Determines which data is displayed in the tooltip. `'all'` – display all values, `'segment'` – display only hovered segment. |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether each segment should have associated label |
| <code>withLabelsLine</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether segments labels should have lines that connect the segment with the label |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be displayed |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when one of the section is hovered |
<a id="component-radarchart"></a>
### `RadarChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/radar-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>activeDotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all active dots. Ignored if `withDots={false}` is set. |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; container?: Record&lt;string, any&gt;; ... 9 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Data used in the chart |
| <code>dataKey</code> | yes | <code>string</code> | — | Key of the `data` object for axis values |
| <code>dotProps</code> | no | <code>MantineChartDotProps</code> | — | Props passed down to all dots. Ignored if `withDots={false}` is set. |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the grid lines. By default, color depends on the color scheme. |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to recharts Legend component |
| <code>polarAngleAxisProps</code> | no | <code>Omit&lt;PolarAngleAxisProps, "ref"&gt;</code> | — | Props passed down to recharts PolarAngleAxis component |
| <code>polarGridProps</code> | no | <code>Omit&lt;PolarGridProps, "ref"&gt;</code> | — | Props passed down to recharts PolarGrid component |
| <code>polarRadiusAxisProps</code> | no | <code>Omit&lt;PolarRadiusAxisProps, "ref"&gt;</code> | — | Props passed down to recharts PolarRadiusAxis component |
| <code>radarChartProps</code> | no | <code>(PolarChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts RadarChart component |
| <code>series</code> | yes | <code>RadarChartSeries[]</code> | — | Determines which data should be consumed from the `data` array. |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of all text elements. By default, color depends on the color scheme. |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to recharts Tooltip component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withDots</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether dots should be displayed |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be displayed |
| <code>withPolarAngleAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether PolarAngleAxis component should be displayed |
| <code>withPolarGrid</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether PolarGrid component should be displayed |
| <code>withPolarRadiusAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether PolarRadiusAxisProps component should be displayed |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether Tooltip component should be displayed |
<a id="component-radialbarchart"></a>
### `RadialBarChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/radial-bar-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; legendItem?: Record&lt;string, any&gt;; legendItemColor?: Record&lt;...&gt;; legendItemName?: Record&lt;...&gt;; }</code> | — | — |
| <code>barSize</code> | no | <code>number</code> | — | Size of bars in px, `20` by default |
| <code>data</code> | yes | <code>Record&lt;string, any&gt;[]</code> | — | Chart data |
| <code>dataKey</code> | yes | <code>string</code> | — | Key from data object to use as data key |
| <code>emptyBackgroundColor</code> | no | <code>string</code> | — | Color of the empty background, by default depends on the color scheme |
| <code>endAngle</code> | no | <code>number</code> | — | Angle at which chart ends |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to recharts Legend component |
| <code>radialBarChartProps</code> | no | <code>(PolarChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts RadarChartChart component |
| <code>radialBarProps</code> | no | <code>Omit&lt;RadialBarProps, "ref"&gt;</code> | — | Props passed down to recharts RadialBar component |
| <code>startAngle</code> | no | <code>number</code> | — | Angle at which chart starts |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withBackground</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether empty bars area should be visible |
| <code>withLabels</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether labels should be displayed |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the legend should be displayed |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when one of the bars is hovered |
<a id="component-sankeychart"></a>
### `SankeyChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/sankey-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; tooltipItem?: Record&lt;string, any&gt;; tooltipItemBody?: Record&lt;...&gt;; ... 4 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>colors</code> | no | <code>DefaultMantineColor[]</code> | — | An array of colors used for nodes when no `color` is set on individual nodes |
| <code>data</code> | yes | <code>SankeyChartData</code> | — | Data used to render chart, must include `nodes` and `links` arrays |
| <code>iterations</code> | no | <code>number</code> | — | The number of relaxation iterations |
| <code>linkColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Default color for links, by default depends on color scheme |
| <code>linkCurvature</code> | no | <code>number</code> | — | The curvature of links between nodes |
| <code>linkOpacity</code> | no | <code>number</code> | — | Opacity of the link fill |
| <code>nodeColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Default color for nodes, by default depends on color scheme |
| <code>nodePadding</code> | no | <code>number</code> | — | The padding between nodes |
| <code>nodeWidth</code> | no | <code>number</code> | — | The width of each node |
| <code>sankeyProps</code> | no | <code>Partial&lt;Omit&lt;RechartsSankeyProps, "data" &#124; "ref"&gt;&gt;</code> | — | Props passed down to recharts `Sankey` component |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls text color of labels |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip animation duration in ms |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when hovered |
<a id="component-scatterchart"></a>
### `ScatterChart`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/scatter-chart/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>attributes</code> | no | <code>{ legend?: Record&lt;string, any&gt;; grid?: Record&lt;string, any&gt;; root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; ... 14 more ...; scatter?: Record&lt;...&gt;; }</code> | — | — |
| <code>data</code> | yes | <code>ScatterChartSeries[]</code> | — | Data that is used to build the chart |
| <code>dataKey</code> | yes | <code>{ x: string; y: string; }</code> | — | Keys that should be used to retrieve data from the data array on x and y axis |
| <code>gridAxis</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which lines should be displayed in the grid, `'x'` by default |
| <code>gridColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the grid and cursor lines, by default depends on color scheme |
| <code>gridProps</code> | no | <code>Omit&lt;CartesianGridProps, "ref"&gt;</code> | — | Props passed down to the `CartesianGrid` component |
| <code>labels</code> | no | <code>{ x?: string; y?: string; }</code> | — | Labels that should be used instead of keys names in the tooltip |
| <code>legendProps</code> | no | <code>Omit&lt;LegendProps, "ref"&gt;</code> | — | Props passed down to the `Legend` component |
| <code>pointLabels</code> | no | <code>"x" &#124; "y"</code> | <code>"x"</code>, <code>"y"</code> | If set, displays labels next to points for the given axis |
| <code>referenceLines</code> | no | <code>ChartReferenceLineProps[]</code> | — | Reference lines that should be displayed on the chart |
| <code>rightYAxisLabel</code> | no | <code>string</code> | — | A label to display next to the right y-axis |
| <code>rightYAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component rendered on the right side |
| <code>scatterChartProps</code> | no | <code>(CartesianChartProps&lt;unknown&gt; &amp; { ref?: React.Ref&lt;SVGSVGElement&gt;; })</code> | — | Props passed down to recharts `ScatterChart` component |
| <code>scatterProps</code> | no | <code>Partial&lt;Omit&lt;ScatterProps, "ref"&gt;&gt;</code> | — | Props passed down to recharts `Scatter` component |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Color of the text displayed inside the chart, `'dimmed'` by default |
| <code>tickLine</code> | no | <code>"none" &#124; "x" &#124; "y" &#124; "xy"</code> | <code>"none"</code>, <code>"x"</code>, <code>"xy"</code>, <code>"y"</code> | Specifies which axis should have tick line, `'y'` by default |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip position animation duration in ms, `0` by default |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to the `Tooltip` component |
| <code>unit</code> | no | <code>{ x?: string; y?: string; }</code> | — | Units displayed after value on axis and inside the tooltip |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withLegend</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart legend should be displayed, `false` by default |
| <code>withRightYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether additional y-axis should be displayed on the right side of the chart, `false` by default |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether chart tooltip should be displayed, `true` by default |
| <code>withXAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether x-axis should be displayed, `true` by default |
| <code>withYAxis</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether y-axis should be displayed, `true` by default |
| <code>xAxisLabel</code> | no | <code>string</code> | — | A label to display below the x-axis |
| <code>xAxisProps</code> | no | <code>Omit&lt;XAxisProps, "ref"&gt;</code> | — | Props passed down to the `XAxis` recharts component |
| <code>yAxisLabel</code> | no | <code>string</code> | — | A label to display next to the y-axis |
| <code>yAxisProps</code> | no | <code>Omit&lt;YAxisProps, "ref"&gt;</code> | — | Props passed down to the `YAxis` recharts component |
<a id="component-sparkline"></a>
### `Sparkline`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/sparkline/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>areaProps</code> | no | <code>Omit&lt;AreaProps&lt;any, any&gt;, "data" &#124; "ref" &#124; "dataKey"&gt;</code> | — | Props passed down to the underlying recharts `Area` component |
| <code>attributes</code> | no | <code>{ root?: Record&lt;string, any&gt;; }</code> | — | — |
| <code>connectNulls</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether null values should be connected with other values |
| <code>curveType</code> | no | <code>"step" &#124; "bump" &#124; "linear" &#124; "natural" &#124; "monotone" &#124; "stepBefore" &#124; "stepAfter"</code> | <code>"bump"</code>, <code>"linear"</code>, <code>"monotone"</code>, <code>"natural"</code>, <code>"step"</code>, <code>"stepAfter"</code>, <code>"stepBefore"</code> | Type of the curve |
| <code>data</code> | yes | <code>(number &#124; null)[]</code> | — | Data used to render the chart |
| <code>trendColors</code> | no | <code>SparklineTrendColors</code> | — | If set, `color` prop is ignored and chart color is determined by the difference between first and last value. |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withGradient</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the chart fill should be a gradient |
<a id="component-treemap"></a>
### `Treemap`
- Safety: `wrapped`
- Category: `charts`
- Documentation: [upstream component API](https://mantine.dev/charts/treemap/)
- Temporary bind: not available
- Subcomponents: none
- Component-specific blocked props: none
- Accessibility:
- Include a nearby text summary of the chart data.
#### Component-specific props
| Prop | Required | Type | Literal values | Description |
| --- | --- | --- | --- | --- |
| <code>aspectRatio</code> | no | <code>number</code> | — | The treemap will try to keep every single rectangle's aspect ratio near the aspectRatio given |
| <code>attributes</code> | no | <code>{ root?: Record&lt;string, any&gt;; tooltip?: Record&lt;string, any&gt;; tooltipItem?: Record&lt;string, any&gt;; tooltipItemBody?: Record&lt;...&gt;; ... 4 more ...; tooltipBody?: Record&lt;...&gt;; }</code> | — | — |
| <code>autoContrast</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether text color should be adjusted based on background color to improve contrast |
| <code>data</code> | yes | <code>TreemapData[]</code> | — | Data used to render chart |
| <code>dataKey</code> | no | <code>string</code> | — | Key in data object for the value |
| <code>strokeColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls color of the node stroke, by default depends on color scheme |
| <code>textColor</code> | no | <code>DefaultMantineColor</code> | <code>"blue"</code>, <code>"cyan"</code>, <code>"dark"</code>, <code>"grape"</code>, <code>"gray"</code>, <code>"green"</code>, <code>"indigo"</code>, <code>"lime"</code>, <code>"orange"</code>, <code>"pink"</code>, <code>"red"</code>, <code>"teal"</code>, <code>"violet"</code>, <code>"yellow"</code> | Controls text color of labels |
| <code>tooltipAnimationDuration</code> | no | <code>number</code> | — | Tooltip animation duration in ms |
| <code>tooltipProps</code> | no | <code>Omit&lt;TooltipProps&lt;any, any&gt;, "ref"&gt;</code> | — | Props passed down to `Tooltip` recharts component |
| <code>treemapProps</code> | no | <code>Partial&lt;Omit&lt;RechartsTreemapProps&lt;TreemapDataType, any&gt;, "data" &#124; "ref" &#124; "dataKey"&gt;&gt;</code> | — | Props passed down to recharts `Treemap` component |
| <code>unstyled</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | — |
| <code>withTooltip</code> | no | <code>false &#124; true</code> | <code>false</code>, <code>true</code> | Determines whether the tooltip should be displayed when a node is hovered |
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
@@ -33,10 +33,108 @@ Bind local controls declaratively:
```jsx
<TextInput bind="search" label="Search" />
<Calendar bind="selectedDate" />
<DatePicker bind="selectedDate" />
<Select bind="selectedEntity" data={options.entities} />
```
Bound inputs exist only in memory while the widget is mounted and reset on reload. They are available as `inputs.<bindName>` and are never saved to local storage. Put durable user configuration in options. Do not author callbacks.
Bound inputs exist only in memory while the widget is mounted and reset on reload. They are available as `inputs.<bindName>` and are never saved to local storage. Put durable user configuration in options. Do not author raw component callback props.
Always render a useful loading state from `status`, an empty state, a contained error state, and layouts that work at roughly 320, 480, and 720 pixels wide. Use accessible labels and confirmations. Retrieve `homarr://custom-widgets/components/{name}` for exact installed component guidance.
Binding types follow the component mode. `Accordion multiple`, `Chip.Group multiple`, `TreeSelect mode="multiple"|"checkbox"`, and date pickers with `type="multiple"|"range"` expose `string[]`. `DateTimePicker` and `InlineDateTimePicker` support `type="range"`, but not `multiple`. Components that do not advertise a temporary bind cannot use `bind`.
## Immutable local bindings
Collection callbacks may use a tightly constrained block body when a value would otherwise be recomputed throughout the returned JSX:
```jsx
{data.pokemon.map((pokemon) => {
const segments = pokemon.url.split("/").filter((part) => part);
const dexId = segments.at(-1);
const favorite = inputs.favorites.includes(pokemon.name);
return (
<Card key={dexId}>
<Text>#{dexId}</Text>
<Text>{pokemon.name}</Text>
{favorite && <Badge>Favorite</Badge>}
</Card>
);
})}
```
A page-level derived value may use a directly invoked, zero-argument inline arrow:
```jsx
{(() => {
const visiblePokemon = data.pokemon.filter(
(pokemon) => !inputs.favoritesOnly || inputs.favorites.includes(pokemon.name),
);
return <Stack>{visiblePokemon.map((pokemon) => <Text>{pokemon.name}</Text>)}</Stack>;
})()}
```
A safe block contains one or more `const` declarations followed by exactly one final `return`. Each declaration uses one simple identifier and a required initializer made from existing safe expressions. Earlier local bindings are available to later initializers and to the return expression.
The following remain invalid:
- `let`, `var`, assignment, update expressions, or destructuring.
- Function or class declarations, and function values stored in `const`.
- Loops, `if`, `switch`, `try`, `catch`, `throw`, labels, or `new`.
- Async functions, generators, `await`, or `yield`.
- Early or multiple returns.
- Duplicate local names or shadowing `data`, `status`, `options`, or `inputs`.
- Invoking a function obtained from API data or a property. Only a directly invoked zero-argument inline arrow is an IIFE.
Local evaluation shares the parent widget's depth, operation, collection, string, and rendered-node budgets. Blocks cannot reset or evade those limits.
Block diagnostics include `INVALID_LOCAL_DECLARATION`, `LOCAL_BINDING_REQUIRES_INITIALIZER`, `DUPLICATE_LOCAL_BINDING`, `RESERVED_LOCAL_BINDING`, `UNSUPPORTED_BLOCK_STATEMENT`, `BLOCK_REQUIRES_FINAL_RETURN`, and `CALLBACK_VALUE_NOT_ALLOWED`.
## Arbitrary-depth trees
Use Homarr's trusted `RecursiveList` special form instead of authored recursive functions or Mantine callback props:
```jsx
<RecursiveList
data={data.evolution.chain}
childrenPath="evolves_to"
keyPath="species.name"
maxDepth={16}
defaultExpandedDepth={4}
showLines
>
{(node, meta) => {
const segments = node.species.url.split("/").filter((part) => part);
const dexId = segments.at(-1);
return (
<Group gap="xs">
<Badge>#{dexId}</Badge>
<Text>{node.species.name}</Text>
{meta.hasChildren && <Text c="dimmed">{meta.childCount} evolutions</Text>}
</Group>
);
}}
</RecursiveList>
```
The child template receives the current `node` and:
```ts
interface RecursiveListMetadata {
depth: number;
index: number;
path: number[];
key: string;
hasChildren: boolean;
childCount: number;
isLast: boolean;
}
```
`data` accepts one root object or an array of roots. `childrenPath` and `keyPath` use restricted dotted property paths; prototype-related segments are invalid. Missing children mean an empty list. Keys must resolve to primitives; missing or duplicate keys use a stable path fallback and record a warning.
Authorable presentation props are `data`, `childrenPath`, `keyPath`, `maxDepth`, `maxNodes`, `defaultExpandedDepth`, `indent`, `gap`, and `showLines`. Default limits are depth 16 and 500 nodes. Hard limits are depth 32 and 2,000 nodes. Cycles are detected per ancestor chain. Invalid branches and reached limits render a contained diagnostic or an “Additional levels omitted” row without crashing the tile.
Always render a useful loading state from `status`, an empty state, a contained error state, and layouts that work at roughly 320, 480, and 720 pixels wide. Use accessible labels and confirmations.
This reference and the package component references are complete for offline authoring against the matching release. When connected, prefer live component metadata and examples because the installed Homarr and Mantine versions may differ.
@@ -2,6 +2,8 @@
Every import and export is one object with `$schema: "homarr-custom-widget-v2"`, metadata, `sources`, `requests`, `optionsSchema`, `defaultOptions`, and `template`. Secrets are accepted separately by create/update/preview operations and never exported.
The safe-local-binding and `RecursiveList` expansion changes only template authoring. It does not add database fields, request fields, persistence, or another widget schema version.
```ts
interface HomarrCustomWidgetV2 {
$schema: "homarr-custom-widget-v2";
@@ -30,4 +32,6 @@ Option and bind names start with a letter and use letters, numbers, `-`, or `_`;
Do not model credentials as options or static defaults. Credential-like option names and values are rejected; source authentication is configured separately.
When connected, retrieve `homarr://custom-widgets/schema` for the exact machine-readable schema.
Do not add `stateSchema`, `defaultState`, scripts, imports, or component declarations to the manifest. Temporary interaction values come only from JSX `bind` controls and are exposed through `inputs`. Derived values declared with safe `const` blocks exist only while evaluating the template.
This reference is sufficient for offline authoring against the matching release. When connected, retrieve the live Custom Widget schema; it supersedes this static copy if the installed Homarr version differs.
@@ -4,8 +4,16 @@ Homarr executes requests on the server and constrains them to a declared source.
Never include secrets in a widget document. Configure them per widget source. Stored plaintext is never returned, duplicated, or exported.
The runtime blocks imports, hooks, refs, raw callbacks, polymorphic roots, provider replacement, arbitrary portals, browser `fetch`, `XMLHttpRequest`, arbitrary JavaScript, evaluation, npm packages, prototype-pollution keys, unsafe URLs, global selectors, and CSS escaping the widget root.
The runtime blocks imports, hooks, refs, raw callback props, polymorphic roots, provider replacement, arbitrary portals, browser `fetch`, `XMLHttpRequest`, arbitrary JavaScript, evaluation, npm packages, prototype-pollution keys, unsafe URLs, global selectors, and CSS escaping the widget root.
Safe block bodies are not general JavaScript. They permit only immutable `const` declarations with simple identifiers and one final return. Mutation, assignments, declarations of callable values, control-flow statements, async behavior, reserved-root shadowing, and multiple returns are rejected before rendering. A zero-argument IIFE is callable only when its callee is the inline arrow syntax itself. Values obtained from API data can never become executable callbacks.
Collection callbacks, zero-argument derived-value IIFEs, and the `RecursiveList` child template execute inside the interpreter and share the parent widget's budgets. They are never passed to Mantine or React as authored callbacks.
`RecursiveList` is a Homarr-owned traversal boundary, not general recursion. It validates dotted paths, rejects prototype-related segments, treats API objects as read-only, contains malformed branches, detects ancestor cycles, and enforces both depth and node caps. Defaults are 16 levels and 500 nodes; hard maximums are 32 levels and 2,000 nodes. Reaching a cap records a diagnostic and renders an omission row rather than throwing outside the widget.
Do not work around a blocked capability. Express network behavior as a named request and interaction as a declarative Homarr component. Require explicit confirmation for destructive actions. Never let actions trigger on load.
Treat request/response journals and diagnostics as sensitive. Homarr redacts credentials, but an agent should also avoid repeating private URLs, request bodies, or personal data unless necessary to fix the widget.
The installed static references describe the complete offline capability boundary for their matching release. When Homarr exposes live schema or component metadata, that metadata wins if it differs.