Skip to content

heddn/component-library-demo

Repository files navigation

Component library demo

Demo the features of Drupal's component library with tailwind.

Used modules:

To get started / TLDR;

  • Install/setup ddev
  • ddev start
  • ddev ssh
  • composer install
  • composer si
  • drush genc --bundles=article 10 0
  • cd web/themes/custom/tw_theme
  • yarn install
  • yarn build-dev
  • drush uli

Open the website and see article teasers that are styled using component library

Beyond the basics

  • To build your own components and variations, add them at /admin/structure/component-library-pattern
  • Then map them to a view mode using layout builder and component_blocks.

Screenshot

ScreenShot

About

Demo the features of component library with tailwind

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published