Block Library
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/block-library |
| Package slug | block-library |
| Product group | Capell Foundation |
| Tier | free |
| Bundle | foundation |
| Runtime contexts | admin, frontend, shared |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Source repository | capell-app/packages |
| Source path | packages/block-library |
| Docs source | packages/block-library/docs |
| Manifest | capell.json |
What This Plugin Adds
Section titled “What This Plugin Adds”Block Library is an Available, No schema impact Capell package in the Capell Foundation product group. It ships as capell-app/block-library and extends these surfaces: admin, frontend, shared.
Block Library supplies typed, reusable content-block definitions and matching Filament Builder blocks for Capell content packages.
The package has no standalone admin resource. Editors see its registered block choices inside Builder surfaces provided by consuming packages and can render their matching frontend views.
Status details:
- Status: Available
- Tier: free
- Bundle: foundation
- Composer package:
capell-app/block-library - Namespace:
Capell\BlockLibrary - Theme key: not applicable
Why It Matters
Section titled “Why It Matters”For developers: BlockDefinitionProvider and FilamentBuilderBlock define the extension boundary, while the block and builder registries resolve definitions without hard-coding them into a consuming package.
For teams: Editors can use the same supported block types across package-owned content forms instead of rebuilding common sections for each workflow.
Screens And Workflow
Section titled “Screens And Workflow”Screenshot contract: docs/screenshots.json.




- Block Library blocks in the installed page editor picker (admin, required authentic evidence).
- Content block registry list (frontend, required evidence).
- Content block asset settings (admin, supplementary evidence).
- Frontend hero block (frontend, required evidence).
- Frontend features block (frontend, required evidence).
- Frontend pricing block (frontend, required evidence).
- Reusable block templates with the admin sidebar open (admin, supplementary evidence).
Technical Shape
Section titled “Technical Shape”Service providers
Section titled “Service providers”Capell\BlockLibrary\Providers\BlockLibraryServiceProvider
Filament classes
Section titled “Filament classes”AbstractCatalogBuilderBlockAccordionBlockCallToActionBlockComparisonBlockContentBlockCounterBlockDividerBlockFaqBlockFeaturesBlockHeroBlockLogosBlockPricingBlockStatsBlockTableBlockTabsBlockTeamBlockTestimonialBlockTimelineBlock
Extension contracts
Section titled “Extension contracts”BlockDefinitionProviderBlockDemoContentProviderBlockFixtureProviderBlockRendererFilamentBuilderBlock
Actions
Section titled “Actions”ListBlockDefinitionsActionListBuilderBlockPickerItemsActionRegisterBlockDefinitionProviderActionResolveBlockDefinitionActionSanitizeBlockHtmlActionValidateDefaultBlockCatalogAction
Data objects
Section titled “Data objects”AdminPreviewBlockViewReferenceBlockAccessibilityContractDataBlockCompatibilityDataBlockContentContractDataBlockDefinitionDataBlockFixtureDataBlockScreenshotDataBlockSettingDefinitionDataBlockVariantDataBlockVariantKeyBuilderBlockPickerItemDataPublicBlockPresentationDataPublicBlockViewReference
Manifest action API
Section titled “Manifest action API”sanitizeBlockHtml: Capell\BlockLibrary\Actions\SanitizeBlockHtmlAction
Health checks
Section titled “Health checks”Capell\BlockLibrary\Health\BlockLibraryHealthCheck
Blade views
Section titled “Blade views”packages/block-library/resources/views/blocks/catalog/accordion.blade.phppackages/block-library/resources/views/blocks/catalog/call-to-action.blade.phppackages/block-library/resources/views/blocks/catalog/comparison.blade.phppackages/block-library/resources/views/blocks/catalog/content.blade.phppackages/block-library/resources/views/blocks/catalog/counter.blade.phppackages/block-library/resources/views/blocks/catalog/divider.blade.phppackages/block-library/resources/views/blocks/catalog/faq.blade.phppackages/block-library/resources/views/blocks/catalog/features.blade.phppackages/block-library/resources/views/blocks/catalog/hero.blade.phppackages/block-library/resources/views/blocks/catalog/logos.blade.phppackages/block-library/resources/views/blocks/catalog/pricing.blade.phppackages/block-library/resources/views/blocks/catalog/stats.blade.phppackages/block-library/resources/views/blocks/catalog/table.blade.phppackages/block-library/resources/views/blocks/catalog/tabs.blade.phppackages/block-library/resources/views/blocks/catalog/team.blade.phppackages/block-library/resources/views/blocks/catalog/testimonial.blade.phppackages/block-library/resources/views/blocks/catalog/timeline.blade.phppackages/block-library/resources/views/blocks/fallback.blade.phppackages/block-library/resources/views/blocks/variants/default.blade.phppackages/block-library/resources/views/registry.blade.php
Cache tags
Section titled “Cache tags”block-library
Data Model
Section titled “Data Model”This package has no schema impact. It registers runtime behaviour through Capell\BlockLibrary\Providers\BlockLibraryServiceProvider while persistence remains with Capell core or required packages.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/admin,capell-app/core. - Admin navigation: no admin page or resource contribution is declared.
- Admin/editor extensions: none declared.
- Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
- Public routes: none declared.
- Database changes: no package migrations declared.
- Config: no package config files.
- Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags:
block-library. - Commands: none declared.
Common Pitfalls
Section titled “Common Pitfalls”- Keep required Capell packages on compatible v4 releases:
capell-app/admin,capell-app/core. - Keep public Blade and cached HTML free of authoring markers, model IDs, permissions, signed editor URLs, and lazy database queries.
- Custom write integrations must preserve invalidation for
block-librarycache tags.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Public output leaks unexpected state | Render data, cache variation, or authoring boundary has regressed | Check public Blade, cache tags, and public-output safety tests | Move data loading out of Blade and rerun the package public-output tests |
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/block-library. - Verify the package provider and manifest contributions are registered in the host app.