The Box component is a flexible container built with flexbox for easy layout and alignment.
The Box component differs from other containers available in AueraUI in that its usage is intended to be multipurpose and open-ended. Components like Stack and Card, by contrast, feature usage-specific props that make them ideal for certain use cases: Stack for two-dimensional layouts, and Card for elevated surfaces.
The Box
component fully supports Motion
props, making animations effortless. You can pass motion-specific props directly to Box
without wrapping it in
motion.div
.
See the comprehensive guide below for a complete reference to all of the props available to the components.
This component is built with Motion, enabling smooth and customizable animations. Learn more about Motion