components/ui/PageGrid

PageGrid component for consistent grid layouts with page transitions.
Description:
  • PageGrid component for consistent grid layouts with page transitions.
Source:
Parameters:
Name Type Description
props object Component properties.
Properties
Name Type Attributes Description
children React.ReactNode Grid items (Cards) to render inside the layout.
page string | number Unique page identifier for AnimatePresence key and smooth transitions.
className string <optional>
Additional CSS classes for the wrapper div.
rest object <optional>
Other props to spread on the wrapper div (e.g., data attributes).
Returns:
Responsive 2-column grid with Framer Motion animations that fills viewport height uniformly.
Type
JSX.Element