geist-ui
geist-ui copied to clipboard
Box Component
Feature request 🚀
- [ ] I will create Pull Request
- [x] It's just a suggestion
Expected
- Hey! So, what about a Box component? Just a basic
divwith no style, basic style properties likepadding,widthand aasprop to transform the tag fromdivto another HTML tag (e.g.form) and support its properties.
Examples
import { Box } from '@geist-ui/core'
function Page() {
return (
<Box as="form" py={4} onSubmit={...} action={...}>
...
</Box>
)
}
Programme (Optional)
Others (Optional)
is anything moving forward?