0.9.0 • Published 1 year ago

@prezly/themes-ui-components v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

UI Components library for Prezly Themes

Version License

This library provides some basic components intended to be used with Prezly Themes.

Adding the library to your Next.js theme

npm

npm install --save @prezly/themes-ui-components

peerDependencies

This library is intended to be used with Next.js applications, so it requires next, react and react-dom to work. These should already be installed if you have an existing Next.js app. If you're starting from scratch, use create-next-app to quick-start the project.

To keep things fresh, we require at least Next.js 12 and React 17.

The library also expects your project to have the Prezly Theme Kit and React Intl libraries installed. These are basic dependencies for every Prezly theme.

You can install the dependencies manually

npm install --save next react react-dom @prezly/theme-kit-nextjs react-intl
npm install --save-dev @types/react @types/react-dom

Styles

In order for the UI components to display properly, you'll need to import the library stylesheets into your app. This allows for greater control over the order of you styles, since the UI library have the lowest specificity possible to make customizing the components easier.

You can import the stylesheet in you /pages/_app.tsx:

import '@prezly/themes-ui-components/styles.css';

Or import them directly in your stylesheets:

@import '~@prezly/themes-ui-components/styles.css';

What's next

You can learn more on how about Prezly's themes by checking these repos:

  • Prezly Starter Theme - this is a bare-bones application created to demonstrate how to display the fetched content and recommended page structure
  • Prezly Bea Theme - this is our new fully-fledged theme available to all Prezly customers. It has lots of stuff on top, both in styling and in data logic.

Brought to you by Prezly.

0.9.0

1 year ago

0.9.0-1

1 year ago

0.9.0-0

1 year ago

0.8.0-2

1 year ago

0.8.0-1

1 year ago

0.8.0-0

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.1

2 years ago

0.8.2

1 year ago

0.5.1-0

2 years ago

0.6.0-1

2 years ago

0.6.0-0

2 years ago

0.2.2-4

2 years ago

0.2.2-3

2 years ago

0.2.2-2

2 years ago

0.2.2-1

2 years ago

0.2.2-0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.4.1-0

2 years ago

0.2.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.3-0

2 years ago

0.1.2

2 years ago

0.1.2-10

2 years ago

0.1.2-9

2 years ago

0.1.2-8

2 years ago

0.1.2-7

2 years ago

0.1.2-6

2 years ago

0.1.2-5

2 years ago

0.1.2-4

2 years ago

0.1.2-3

2 years ago

0.1.2-2

2 years ago

0.1.2-1

2 years ago

0.1.2-0

2 years ago

0.1.1

2 years ago

0.1.1-1

2 years ago

0.1.1-0

2 years ago