1.0.21 • Published 12 months ago

@wakeupingear/react v1.0.21

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

@wakeupingear/react

Lots of neat universal components to quickly make a site feel good.

This assumes you're using TailwindCSS.

It also exports the @radix-ui/themes library, which is a nice foundation for a lot of these patterns. Some components here use Radix; others will use the ShadCN wrappers around Radix.

Components

<Button />

<Expandable />

Wrapper component that animates the expansion of its children. The component shows/hides when the truthiness of the children prop changes. When false, the last truthy value of children is displayed during the closing animation.

Params

  • props.children - The content to be displayed.
  • props.className - The class name to be applied to the container.
  • props.duration - The duration of the animation in milliseconds.
  • props.expandedClassName - The class name to be applied to the container when expanded.
  • props.fitWidth - Whether the content should fit the width of the container.
  • props - The component props.

Returns

The JSX element.

<Icon_Loading />

<Input />

<Label />

<SubmitRow />

<Transition />

(file autogenerated w/ jsdoc reflection :D)

1.0.19

12 months ago

1.0.18

12 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.21

12 months ago

1.0.20

12 months ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.3-alpha.0

1 year ago

1.0.1

1 year ago