4.2.6 • Published 27 days ago

@lotta-schule/hubert v4.2.6

Weekly downloads
-
License
GPL-3.0-or-later
Repository
-
Last release
27 days ago

Hubert

Hubert is a slim component library we use for the lotta project, a modern, easy-to use open source solution for the educational sector which wants to get privacy and security right.

See available components on our storybook

Install

npm install @lotta-schule/hubert

Usage

Provider and Styles

You will need to add the provider, as well as the component.

The component is meant to be rendered only once per web page. It is save to be rendered in a React Server Component.

The provider is a React ContextProvider, and is needed only for @react-aria's OverlayProvider. As we want to use as much RSC as possible, we're seeing if we can get rid of this last one, too.

import { GlobalStyles, HubertProvider } from '@lotta-schule/hubert';
import { DefaultThemes } from '@lotta-schule/theme';

export const App = () => {
  const theme = DefaultThemes.default;
  return (
    <HubertProvider>
      <GlobalStyles
        theme={theme}
        fonts={[
          { name: 'Roboto Slab', url: '/roboto-slab.css', },
        ]}
      />
    </HubertProvider>
  );
}

Besides, you'll probably want to include the styles:

// proably your layout.tsx, _app.tsx or similar
import '@lotta-schule/hubert/dist/index.css';
4.2.1-alpha.2

27 days ago

4.2.6

27 days ago

4.2.1-alpha.1

27 days ago

4.2.4

27 days ago

4.2.2

1 month ago

4.2.1-alpha.0

1 month ago

4.2.0-alpha.50

1 month ago

4.2.0

1 month ago

4.2.0-alpha.49

2 months ago

4.2.0-alpha.45

2 months ago

4.2.0-alpha.46

2 months ago

4.2.0-alpha.47

2 months ago

4.2.0-alpha.48

2 months ago

4.2.0-alpha.44

2 months ago

4.2.0-alpha.41

2 months ago

4.2.0-alpha.42

2 months ago

4.2.0-alpha.43

2 months ago

4.2.0-alpha.40

2 months ago

4.2.0-alpha.38

2 months ago

4.2.0-alpha.39

2 months ago

4.2.0-alpha.33

2 months ago

4.2.0-alpha.34

2 months ago

4.2.0-alpha.35

2 months ago

4.2.0-alpha.36

2 months ago

4.2.0-alpha.37

2 months ago

4.2.0-alpha.28

2 months ago

4.2.0-alpha.29

2 months ago

4.2.0-alpha.30

2 months ago

4.2.0-alpha.31

2 months ago

4.2.0-alpha.32

2 months ago

4.2.0-alpha.27

2 months ago

4.2.0-alpha.25

2 months ago

4.2.0-alpha.26

2 months ago

4.2.0-alpha.24

2 months ago

4.2.0-alpha.22

2 months ago

4.2.0-alpha.23

2 months ago

4.2.0-alpha.18

2 months ago

4.2.0-alpha.19

2 months ago

4.2.0-alpha.20

2 months ago

4.2.0-alpha.21

2 months ago

4.2.0-alpha.17

2 months ago

4.2.0-alpha.16

2 months ago

4.2.0-alpha.15

2 months ago

4.1.16

2 months ago

4.2.0-alpha.10

2 months ago

4.2.0-alpha.11

2 months ago

4.2.0-alpha.12

2 months ago

4.2.0-alpha.13

2 months ago

4.2.0-alpha.9

2 months ago

4.1.14

2 months ago

4.2.0-alpha.8

3 months ago

4.2.0-alpha.7

3 months ago

4.2.0-alpha.6

4 months ago

4.2.0-alpha.5

4 months ago

4.1.10

5 months ago

4.1.12

5 months ago

4.2.0-alpha.4

5 months ago

4.2.0-alpha.3

5 months ago

4.1.8

5 months ago

4.2.0-alpha.2

5 months ago

4.2.0-alpha.1

5 months ago

4.1.6

5 months ago

4.1.4

5 months ago

4.1.2

5 months ago

4.1.0-alpha.64

5 months ago

4.1.0-alpha.65

5 months ago

4.1.0-alpha.62

5 months ago

4.1.0-alpha.63

5 months ago

4.1.0

5 months ago

4.1.0-alpha.60

5 months ago

4.1.0-alpha.61

5 months ago

4.1.0-alpha.17

8 months ago

4.1.0-alpha.18

8 months ago

4.1.0-alpha.15

8 months ago

4.1.0-alpha.16

8 months ago

4.1.0-alpha.19

8 months ago

4.1.0-alpha.10

8 months ago

4.1.0-alpha.13

8 months ago

4.1.0-alpha.14

8 months ago

4.1.0-alpha.11

8 months ago

4.1.0-alpha.12

8 months ago

4.1.0-alpha.28

8 months ago

4.1.0-alpha.29

8 months ago

4.1.0-alpha.26

8 months ago

4.1.0-alpha.27

8 months ago

4.1.0-alpha.20

8 months ago

4.1.0-alpha.24

8 months ago

4.1.0-alpha.25

8 months ago

4.1.0-alpha.22

8 months ago

4.1.0-alpha.23

8 months ago

4.1.0-alpha.39

8 months ago

4.1.0-alpha.37

8 months ago

4.1.0-alpha.38

8 months ago

4.1.0-alpha.31

8 months ago

4.1.0-alpha.32

8 months ago

4.1.0-alpha.30

8 months ago

4.1.0-alpha.35

8 months ago

4.1.0-alpha.36

8 months ago

4.1.0-alpha.33

8 months ago

4.1.0-alpha.34

8 months ago

4.1.0-alpha.48

8 months ago

4.1.0-alpha.49

8 months ago

4.1.0-alpha.42

8 months ago

4.1.0-alpha.43

8 months ago

4.1.0-alpha.40

8 months ago

4.1.0-alpha.41

8 months ago

4.1.0-alpha.46

8 months ago

4.1.0-alpha.47

8 months ago

4.1.0-alpha.44

8 months ago

4.1.0-alpha.45

8 months ago

4.1.0-alpha.50

8 months ago

0.0.40

9 months ago

0.0.41

9 months ago

4.1.0-alpha.59

6 months ago

4.1.0-alpha.53

7 months ago

4.1.0-alpha.54

6 months ago

4.1.0-alpha.51

7 months ago

4.1.0-alpha.52

7 months ago

4.1.0-alpha.57

6 months ago

4.1.0-alpha.58

6 months ago

4.1.0-alpha.55

6 months ago

4.1.0-alpha.56

6 months ago

0.0.37

9 months ago

0.0.38

9 months ago

0.0.39

9 months ago

0.0.31

10 months ago

0.0.32

10 months ago

0.0.33

9 months ago

0.0.34

9 months ago

0.0.35

9 months ago

0.0.36

9 months ago

4.1.0-alpha.7

8 months ago

4.1.0-alpha.6

8 months ago

4.1.0-alpha.8

8 months ago

0.0.30

11 months ago

0.0.29

11 months ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

1 year ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.25

1 year ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

1 year ago

0.0.15

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.1-alpha.43

2 years ago

0.0.1-alpha.41

2 years ago

0.0.1-alpha.40

2 years ago

0.0.1-alpha.39

2 years ago

0.0.1-alpha.38

2 years ago

0.0.1-alpha.37

2 years ago

0.0.1-alpha.36

2 years ago

0.0.1-alpha.35

2 years ago

0.0.1-alpha.34

2 years ago

0.0.1-alpha.33

2 years ago

0.0.1-alpha.32

2 years ago

0.0.1-alpha.31

2 years ago

0.0.1-alpha.30

2 years ago

0.0.1-alpha.29

2 years ago

0.0.1-alpha.28

2 years ago

0.0.1-alpha.27

2 years ago

0.0.1-alpha.26

2 years ago

0.0.1-alpha.24

2 years ago

0.0.1-alpha.23

2 years ago

0.0.1-alpha.22

2 years ago

0.0.1-alpha.21

2 years ago

0.0.1-alpha.20

2 years ago

0.0.1-alpha.19

2 years ago

0.0.1-alpha.18

2 years ago

0.0.1-alpha.17

2 years ago

0.0.1-alpha.16

2 years ago

0.0.1-alpha.15

2 years ago

0.0.1-alpha.14

2 years ago

0.0.1-alpha.13

2 years ago

0.0.1-alpha.12

2 years ago

0.0.1-alpha.11

2 years ago

0.0.1-alpha.10

2 years ago

0.0.1-alpha.9

2 years ago

0.0.1-alpha.8

2 years ago

0.0.1-alpha.7

2 years ago

0.0.1-alpha.6

2 years ago

0.0.1-alpha.4

2 years ago

0.0.1-alpha.3

2 years ago

0.0.1-alpha.2

2 years ago

0.0.1-alpha.0

2 years ago