Container queries support in Grid
You can now use container queries in Grid component. With container queries, all responsive values are adjusted based on the container width, not the viewport width.
Example of using container queries. To see how the grid changes, resize the root element of the demo with the resize handle located at the bottom right corner of the demo:
CompositeChart component
New CompositeChart component allows using Line
, Area
and Bar
charts together in a single chart:
Points labels
LineChart and AreaChart now support withPointLabels
prop to display labels on data points:
ScatterChart also supports point labels, but also allows to control which axis should display labels with pointLabels
prop:
BarChart: Mixed stacks
You can now control how BarChart series are stacked by setting stackId
property in series object:
BarChart: Minimum bar size
BarChart now supports minBarSize
prop to set the minimum size of the bar in px:
New demo: Custom Tabs variant
A new example of adding a custom variant to Tabs component with FloatingIndicator:
New demo: Custom slider
Example of use-move hook usage to create a custom slider:
Help Center updates
- New How to integrate custom input with use-form hook? question
- New Can I remove MultiSelect placeholder when the component has selected values? question
- New How can I load fonts in Remix? question
- New My styles are overridden by Mantine components styles, what should I do? question
- New Why I cannot use one polymorphic component in component prop of another polymorphic component? question
- New Can I use an array of strings as a list in use-form? question