restack

SwiftUI inspired layouts for React

MIT License

Downloads
29
Stars
5

Install

yarn add @twopm/restack

Usage

import { VStack } from '@twopm/restack'

const App = () => (
  <VStack
    horizontal="center"
    vertical="distribute-edges"
    spacing={10}
  >
    <p>One</p>
    <p>Two</p>
    <p>Three</p>
  </VStack>
)

See the storybook examples for more or view the live demo.

Package Rankings
Top 15.93% on Npmjs.org
Badges
Extracted from project README
Version Twitter Donate (ETH) Donate ($)