@plone/components
TypeScript icon, indicating that this package has built-in type declarations

1.7.0 • Public • Published

@plone/components

NPM Build Status Build Status Netlify Status

This package contains ReactJS components for use Plone as a headless CMS.

The purpose of this package is to provide a third party design system free and agnostic set of baseline components to build upon.

Components list

Fundamentals

  • Container
  • Input
  • Icon

Structural

  • Breadcrumbs

Demo / Storybook

https://plone-components.netlify.app/

Development

This package follows a style guide (Storybook) driven development. The components are developed in isolation, given their own Storybook stories.

The components are expected to be data-driven-less. So they won't rely internally in any data retrieval facility or utilities. They receive the necessary data as props. In that regard, they should be "dumb" components that only take care of rendering. This should be specially true for the most basic components.

Headless UI component library

This package has the form of a headless UI component library. A headless UI component library provide "white label" components that you later can style with your own styles. It is not tied to any heavy specific styling nor any CSS framework. The vanilla CSS provided allow you to "drop-in" your own CSS framework, build and existing styling into the components.

This post explains extensively its benefits:

https://medium.com/@nirbenyair/headless-components-in-react-and-why-i-stopped-using-ui-libraries-a8208197c268

react-aria-components

@plone/components is based on Adobe's react-aria-components library. React Aria Components is a library of unstyled components built on top of the React Aria hooks. It provides a simpler way to build accessible components with custom styles, while offering the flexibility to drop down to hooks for even more customizability where needed.

Releases

The release policy for this package follows a quick 1.0.0 release, as opposed to have a excessive long lasted alpha/beta road to 1.0.0. This is because the development of this package is expected to happen during the next years.

Breaking changes will be stated properly using semantic versioning, however an upgrade guide won't be supplied until the package is considered "ready for production". The team will communicate this state properly when the moment comes.

PLIP #4352

This package is the result of the execution of the Plone Improvement Proposal #4352.

Package Sidebar

Install

npm i @plone/components

Homepage

plone.org

Weekly Downloads

253

Version

1.7.0

License

MIT

Unpacked Size

2.72 MB

Total Files

235

Last publish

Collaborators

  • davisagli
  • mrtango
  • petschki
  • mauritsvanrees
  • thet
  • ericof
  • agitator
  • timostollenwerk
  • ramonnb
  • ebrehault
  • robgietema
  • sneridagh