Reorder
Reorder
is a component that allows you to change the order of items using drag and drop.
Theming
The Reorder
is a multi part component.
If you want to change the style of the component, please check here.
export const Reorder: ComponentMultiStyle<"Reorder"> = {baseStyle: {container: {w: "100%",},item: {h: "100%",w: "100%",_selected: {boxShadow: ["md", "dark-md"],},},trigger: {color: ["blackAlpha.300", "whiteAlpha.300"],},},sizes: {sm: {item: { p: "sm", rounded: "base" },},md: {item: { p: "md", rounded: "md" },},normal: {item: { p: "normal", rounded: "lg" },},lg: {item: { p: "lg", rounded: "xl" },},},variants: {elevated: {item: {bg: ["white", "black"],boxShadow: ["base", "dark-md"],},},outline: {item: {bg: ["white", "black"],borderWidth: "1px",},},unstyled: {item: { p: 0, rounded: 0, _selected: { boxShadow: "unset" } },},},defaultProps: {size: "md",variant: "outline",},}
Edit this page on GitHub