geist-org / geist-ui

A design system for building modern websites and applications.

Home Page:https://geist-ui.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Box Component

matheuslanduci opened this issue Β· comments

Feature request πŸš€

  • I will create Pull Request
  • 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)

is anything moving forward?