Skip to content

Starters

Starters are minimal projects with SpiraCSS project configuration already set up (Stylelint / HTML CLI, etc). If you want to use VS Code extensions for SCSS generation and @rel navigation, install them in your editor.

What you can try

  • SpiraCSS class structure (Block/Element, one Block per SCSS file)
  • Variant and state patterns (data attributes by default)
  • HTML -> SCSS generation (VS Code extension / HTML CLI)
  • Stylelint rule checks and error messages
  • @rel comment navigation (with the Comment Links extension)

Basics

List

StackStarterMarkupSCSS loading
Vanillaspiracss-starter-vanillaPlain HTMLEntry SCSS linked in HTML
Eleventyspiracss-starter-eleventyWebC templates + includesCompiled CSS linked from templates
Astrospiracss-starter-astroAstro componentsEntry SCSS imported from layout + entry files
Next.jsspiracss-starter-nextReact componentsGlobal SCSS + CSS Modules
Next.jsspiracss-starter-next-globalReact componentsGlobal SCSS only
Nuxtspiracss-starter-nuxtVue componentsGlobal SCSS + scoped SCSS