geist-ui icon indicating copy to clipboard operation
geist-ui copied to clipboard

Box Component

Open matheuslanduci opened this issue 3 years ago • 1 comments

Feature request 🚀

  • [ ] I will create Pull Request
  • [x] It's just a suggestion

Expected

  • Hey! So, what about a Box component? Just a basic div with no style, basic style properties like padding, width and a as prop to transform the tag from div to 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)

matheuslanduci avatar Apr 30 '22 15:04 matheuslanduci

is anything moving forward?

rdycld avatar Jan 11 '23 14:01 rdycld