31.0.0 • Published 6 months ago

@haven1/react-sdk v31.0.0

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

@haven1/react-sdk

The @haven1/react-sdk package provides a comprehensive library of ready-to-use React components, icons, and hooks to accelerate development with Haven1. Designed for flexibility and customization, it integrates seamlessly with the Haven1 design system and is powered by Tailwind CSS for effortless styling.

Key Features

1. Ready-to-Use React Components

  • UI Elements: A library of generic components such as buttons, modals, and input fields designed for quick implementation.
  • Fully Functional Components: Advanced components like notifications, 2FA dialogs, and more, pre-configured for Haven1 integration.
  • Design System: All components follow the Haven1 design system, ensuring consistent aesthetics and user experience across projects.
  • Customization: Built with Tailwind CSS, allowing you to easily customize styles to match your project’s needs.

2. Icon Assets

  • A comprehensive set of icons representing Haven1 products and features.
  • Designed to seamlessly integrate into your UI.

3. React Hooks with React Query

  • API Integration Hooks: Simplify connecting your React project to Haven1 APIs using @tanstack/react-query.
  • Efficiency: Automatically manage caching, loading states, and error handling for API requests.
  • Type-Safe: Fully typed responses ensure reliability in your code.

Storybook Documentation

Explore all components and their usage in our Storybook: Storybook for @haven1/react-sdk

Dependencies

This package requires the following peer dependencies:

  • React
  • @tanstack/react-query: For managing API data and caching.
  • @haven1/sdk-api-client: To connect your React project to Haven1 APIs.

Install these dependencies if not already included in your project:

::: code-group

npm install react @tanstack/react-query @haven1/sdk-api-client
pnpm add @haven1/sdk-api-client
yarn add @haven1/sdk-api-client

:::

Apply the styles to your project's global CSS file.

@import '@haven1/react-sdk/css';
1.14.0

12 months ago

1.12.0

12 months ago

19.0.0

9 months ago

1.18.0

11 months ago

9.0.3

10 months ago

1.16.0

12 months ago

1.8.0

12 months ago

10.0.0

10 months ago

23.0.0

8 months ago

22.0.0

8 months ago

18.0.0

9 months ago

1.21.0

11 months ago

2.0.0

11 months ago

1.25.0

11 months ago

1.23.0

11 months ago

21.0.0

9 months ago

12.0.0

10 months ago

3.0.0

11 months ago

20.0.0

9 months ago

4.0.1

11 months ago

4.0.0

11 months ago

4.0.2

11 months ago

1.9.2

12 months ago

1.11.0

12 months ago

11.0.0

10 months ago

29.0.0

7 months ago

1.15.0

12 months ago

1.13.0

12 months ago

1.19.0

11 months ago

5.0.0

11 months ago

1.17.0

11 months ago

28.0.0

7 months ago

1.9.0

12 months ago

15.0.0

9 months ago

6.0.0

11 months ago

31.0.0

6 months ago

26.0.0

8 months ago

14.0.0

10 months ago

27.0.0

7 months ago

13.0.0

10 months ago

7.0.0

10 months ago

1.22.0

11 months ago

30.0.0

7 months ago

1.20.0

11 months ago

1.26.0

11 months ago

1.24.0

11 months ago

8.0.0

10 months ago

25.0.0

8 months ago

17.0.0

9 months ago

9.0.2

10 months ago

9.0.1

10 months ago

16.0.0

9 months ago

9.0.0

10 months ago

24.0.0

8 months ago

1.10.0

12 months ago

1.7.0

12 months ago

1.6.0

12 months ago

1.5.0

1 year ago

1.4.0

1 year ago

1.3.1

1 year ago

1.2.2

1 year ago

1.3.0

1 year ago

1.2.0

1 year ago

1.2.1

1 year ago

1.1.23

1 year ago

1.1.22

1 year ago

1.1.21

1 year ago

1.1.24

1 year ago

1.1.20

1 year ago

1.1.19

1 year ago

1.1.17

1 year ago

1.1.11

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago