high-five / craft-hyperdrive
Light-speed Craft CMS development
Installs: 10
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:craft-plugin
Requires
- php: ^8.4.0
- craftcms/cms: ^5.0.0
- high-five/craft-base: dev-main
Requires (Dev)
- craftcms/phpstan: dev-main
- symplify/easy-coding-standard: ^12.6
This package is auto-updated.
Last update: 2025-09-18 12:11:46 UTC
README
Light-speed Craft CMS development
craft-hyperdrive
is a component library for Craft CMS that applies atomic design principles and leverages Tailwind CSS for styling. Itβs built to help developers ship scalable, consistent, and maintainable front-end interfaces at warp speed.
β¨ Features
- π§© Atomic Design Structure β Atoms, molecules, organisms and templates clean, reusable UI.
- π¨ Tailwind CSS Ready β Utility-first styling out of the box, fully customizable.
- β‘ Light-speed Craft CMS Development β Drop in pre-built components and accelerate your workflow.
- π Twig Extension Included β Render atoms, molecules, organisms, or particles with simple helpers.
- π Overridable Components β Project-level overrides let you customize or extend components without forking.
- π§ͺ Safe Fallbacks β Missing components log a warning instead of breaking your templates.
π§ Requirements
- Craft CMS
^5.0
- Tailwind CSS
^3.0
- PHP
^8.4
π¦ Installation
composer require high-five/craft-hyperdrive php craft plugin/install hyperdrive
Add component paths to your Tailwind config:
// tailwind.config.js module.exports = { content: [ './templates/**/*.twig', './vendor/high-five/craft-hyperdrive/src/templates/**/*.twig', ], theme: { extend: {}, }, plugins: [], }
π Getting Started
Use Components with Twig Helpers
Atoms
{{ atom('button', { label: 'Submit', url: '/submit', style: 'primary' }) }}
Molecules
{{ molecule('card', { title: 'Card Title', body: 'Card body text goes here.', image: entry.image.one() }) }}
Organisms
{{ organism('hero', { heading: entry.title, subheading: entry.teaser, cta: [{ label: 'Learn More', url: entry.url }] }) }}
π Overriding & Custom Components
To override or define new components, create a hyperdrive/
folder in your projectβs templates:
templates/
βββ hyperdrive/
βββ atoms/
β βββ button.twig # overrides vendor button
βββ molecules/
β βββ card.twig # overrides vendor card
βββ organisms/
βββ newsletter-signup.twig # custom project-only component