0.4.2 • Published 2 years ago

wope v0.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Wope

Universal design systems for React, faster.

Write once, run everywhere without downsides thanks to an optimizing compiler. The structure is built on Stitches.

The development of this project continues. You can see and follow the to-do list below.

All-in-one

Rapidly iterate on true apps.

  • Easy to adopt: Works with React. Use it as a style props based or full component UI kit.
  • Productive: Typed inline styles without performance downside with themes, tokens, shorthands, media queries, and animations.
  • Fast, all ways: Save time writing code - write inline styles without performance downside, even with conditional logic.
  • SSR: Cross-browser server-side rendering, even for responsive styles and variants out of the box.
  • CSS: Customize styles inline with the css prop

Propful

  • Pseudo styles - Style hover, press, and focus, in combination with media queries.
  • Media queries - For every style/variant.
  • Animations - Animate every component, enter and exit styling, works with psuedo states.
  • DOM escape hatches - Support for className and other HTML attributes.

Example usage

<Container>
    <Flex
        flow="column"
        alignItems="center"
        p="5"
        borderStyle="solid"
        borderWidth="1"
        borderColor="gray5"
        radius="md"
    >
        <Text
            size="2xl"
            weight="bold"
        >
            Content Here
        </Text>
    </Flex>
</Container>

Example for ready-to-use animations

import { animations } from 'wope'

<Block
    borderColor="blue5"
    borderStyle="solid"
    borderWidth="5"
    bgColor="blue10"
    p="5"
    css={{
        animationDuration: '1s',
        animationIterationCount: 'infinite',
        animationTimingFunction: 'ease-in-out',
        animationName: 'backOutDown',
    }}
>
    <Text color="white">Back Out Down Animation</Text>
</Block>
0.3.9

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.3.6

2 years ago

0.2.7

2 years ago

0.3.5

2 years ago

0.2.6

2 years ago

0.3.8

2 years ago

0.2.9

2 years ago

0.3.7

2 years ago

0.2.8

2 years ago

0.4.1

2 years ago

0.2.3

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.3.4

2 years ago

0.2.5

2 years ago

0.4.2

2 years ago

0.3.3

2 years ago

0.2.4

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.1.1

2 years ago

0.0.1

2 years ago