Box is the most abstract component on top of which all other Chakra UI
components are built. By default, it renders a
The Box component is useful because it helps with 3 common use cases:
- Create responsive layouts with ease.
- Provide a shorthand way to pass styles via props (
- Compose new component and allow for override using the
Modern home in city center in the heart of historic Los Angeles
You can use the
as prop to change the element render, just like
Proudly made in 🇳🇬
Released under the MIT License.
Copyright © 2020 Segun Adebayo