Skip to content

component: add pricing-basic page block #24

Closed

Description

@Ducksss

Summary

Add an installable pricing-basic page block for Payload projects that need plan/tier sections on marketing pages.

This is a component for user projects, not pricing for Payload Components itself. Payload Components remains MIT, public, and community-first.

Current Baseline

  • New components must ship source, manifest, registry entry, docs page, catalog metadata, demo twin, and installer tests together.
  • Variant naming should stay explicit: use pricing-basic, not a bare pricing family slug.
  • The add-a-component workflow is documented in payload-components/templates/alpha-component/README.md.

Scope

  • Add Payload block config and frontend component under payload-components/source.
  • Add manifest metadata, sample content, dependencies, fragments, recovery metadata, and post-install tasks.
  • Add shadcn registry item with ~/src/... target paths.
  • Add Fumadocs component page and catalog entry.
  • Add installer coverage for fresh install, reinstall, and multi-component sequence with existing public components.
  • Ensure responsive rendering handles long plan names, price strings, feature bullets, and one highlighted tier.

Out Of Scope

  • Stripe billing integration.
  • Checkout, entitlement, customer portal, or payment logic.
  • Complex comparison tables.
  • Private delivery.

Acceptance Criteria

  • payload-components add pricing-basic installs on the supported fixture.
  • pricing-basic appears in Payload page layout block options.
  • Sample pricing content renders without horizontal overflow.
  • Reinstall is idempotent.
  • Multi-component installs remain deduped with existing public components.
  • Docs and catalog page list pricing-basic accurately.

Test Plan

  • Manifest validation.
  • Registry build/check includes pricing-basic item JSON.
  • Fresh install and reinstall integration tests.
  • Multi-component install sequence with existing public components.
  • Component/demo render check with sample content and highlighted tier.

Activity

  1. added
    enhancement
    on May 13, 2026
  2. changed the title [-]PK-27 Ship pricing kit[/-] [+]PK-27 Ship pricing-basic page block kit[/+] on Jun 15, 2026
  3. added
    help wanted
    on Jun 18, 2026
  4. changed the title [-]PK-27 Ship pricing-basic page block kit[/-] [+]component: add pricing-basic page block[/+] on Jun 18, 2026
  5. Ducksss commented on Jul 2, 2026

    @Ducksss
    OwnerAuthor

    Closing as completed by the shipped pricing family.

    Evidence:

    • PR components(feat): add pricing family (5 tailark-derived blocks) #191 (components(feat): add pricing family (5 tailark-derived blocks)) merged on 2026-06-23.
    • It added five installable pricing page blocks: pricing-cards, pricing-cards-muted, pricing-cards-cta, pricing-split, and pricing-enterprise.
    • The PR included source files, shared pricingFields, manifests, registry items, docs pages, catalog entries, demo twins, installer coverage, CLI/smoke updates, and visual baselines.

    Note: the exact pricing-basic slug from this issue was superseded by explicit structural variant slugs, which matches the repo’s current variant convention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions