Prismic Slices is a library of vanilla components that I developed in collaboration with the Prismic team, as part of the SliceMachine open source project. These components are page sections such as carousels, FAQ sections, hero sections, CTA, etc…
The components in this library are vanilla components — no JavaScript frameworks or libraries are used or required as dependencies. If you are more into React or Vue then you can find their equivalents for these frameworks on Slicemachine.dev. With SliceMachine, you can build page sections, define their model, edit their properties, deploy them, and deliver a visual interface that allows even your most technically challenged colleagues to easily build pages without any further help from you.
As you’d expect, these components are built with responsiveness, browser compatibility and accessibility in mind. I built this library of components to be a resilient foundation for your projects. They are progressively enhanced, cross-browser compatible, responsive, accessible, and customizable components, created with semantic markup, modern CSS, JavaScript, and lots of love 💜.
The library is built using Fractal. To install and run with a live dev server:
npm install
and then
npm start
This project is licensed under the MIT License.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.