Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Prototype

Security covered 55 sites

Prototype is a starter Drupal theme that utilizes Single Directory Components to provide a foundation for theme development. It includes a front-end build pipeline with SCSS, PostCSS, Webpack, Babel, and Browsersync for efficient theme creation.

Prototype is a starterkit Drupal theme leveraging Single Directory Components. The goal of Prototype is to provide a solid foundation for Drupal theme development by establishing a pattern of well organized components alongside a front-end build pipeline that utilizes SCSS, PostCSS, Webpack for JS bundling, Babel and Browsersync.

Post CSS and Babel respect .browserlistrc configuration, post processing CSS and JS as needed based on the browser versions defined.

Creating a starter theme

Navigate into the Prototype theme folder
Run ❯ php generator.php

Generator Options:

 -n, --name           A name for the theme
 -d, --display-name   A human readable display name for your theme
 -p, --path           The path where your theme will be created. Defaults: themes/custom
 -a, --abbreviated    Use abbreviated theme name for CSS variables

Example with options:

php generator.php -n custom_theme -d 'Custom Theme' -p themes/custom -a short

Required Modules:

Twig Field Value
Twig Tweak

5.x Branch

Version 5 of the theme is being actively developed for Drupal 10. This version is a structural adjustment of 4.x and utilizes Single Directory Components which was introduced in Drupal 10.3. You can learn more about SDC within Drupal here.

4.x Branch

Version 4 of the theme is not actively maintained but will receive bug fixes as needed. This version is a complete rewrite of 8.x-2.x and introduced a more straightforward architecture.

Drupal 11 · not 10 PHP >=8.1

Ask your assistant about Prototype

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
46
Tracked since
Jan 2023
Latest release
1 month ago
Releases (12 mo)
6 ▲ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
5.2.0-alpha3 Pre-release 10 Feb 2, 2024
8.x-3.1-alpha1 Pre-release 9–10 Feb 2, 2024
5.2.0-alpha2 Pre-release 10 Jan 19, 2024
5.2.0-alpha1 Pre-release 10 Nov 15, 2023
5.1.2-alpha3 Pre-release 10 Nov 1, 2023
5.0.2-alpha3 Pre-release 9–10 Nov 1, 2023
5.1.2-alpha2 Pre-release 10 Oct 4, 2023
5.0.2-alpha2 Pre-release 9–10 Oct 4, 2023
5.1.2-alpha1 Pre-release 10 Sep 20, 2023
5.0.2-alpha1 Pre-release 9–10 Sep 20, 2023