cschroeter / park-ui

Beautifully designed components built with Ark UI and Panda CSS that work with a variety of JS frameworks.
https://park-ui.com
MIT License
1.74k stars 75 forks source link

Feature Request: Layout Components #425

Closed iamclaytonray closed 1 month ago

iamclaytonray commented 2 months ago

Coming from Chakra UI, layout components such as Stack and Flex are super helpful. I know these are not strictly UI but they are really helpful, and would help Park UI feel a little more complete :)

MartinSchmidt123 commented 2 months ago

At least for react, you can also use the provided patterns by Panda CSS https://panda-css.com/docs/concepts/patterns If you set jsxFramework: 'react' it feels exactly like in Chakra UI with

import { Box, HStack } from "styled-system/jsx";

<Box ml={"auto"}>
<HStack w={"full"}>[...]</HStack>
</Box>
segunadebayo commented 1 month ago

Closing based on https://github.com/cschroeter/park-ui/issues/425#issuecomment-2330703404