@growthpath/brand-visuals
v0.1.0
Published
Portable Astro visualizations for AI visibility websites
Readme
@growthpath/brand-visuals
Brand Visuals is publishable Astro source for AI-visibility websites. It requires Astro 7 and Tailwind CSS 4. Version 0.1.0 is ready for its first authenticated npm publication and is not yet available from the npm registry.
import HeroCoverageCard from '@growthpath/brand-visuals/HeroCoverageCard.astro';Components own geometry and layout. Every colour comes from a host-defined --visual-* property, so a site can supply its palette without forking a component.
Tailwind does not auto-detect installed source. Consumers must list the package in their stylesheet:
@source '../../node_modules/@growthpath/brand-visuals/src/*.astro';GrowthPath lists only the four components it renders in apps/marketing/src/styles/global.css. Add the matching @source line when Marketing starts rendering another component.
Run bun run --filter @growthpath/brand-visuals test from the repository root. The test packs both public packages, installs them outside workspace resolution with the fixture's frozen registry graph, resolves every export, renders all ten components, and proves Tailwind scanned installed package source.
Release steps are in docs/ops/package-releases.md.
