PHPackages                             tfd/statamic-bard-text-styles - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tfd/statamic-bard-text-styles

ActiveLibrary

tfd/statamic-bard-text-styles
=============================

v1.0.3(4y ago)0178MITVuePHP ^7.4 || ^8.0CI failing

Since Nov 24Pushed 4y ago3 watchersCompare

[ Source](https://github.com/21stdigital/statamic-bard-text-styles)[ Packagist](https://packagist.org/packages/tfd/statamic-bard-text-styles)[ RSS](/packages/tfd-statamic-bard-text-styles/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

statamic-bard-text-styles
=========================

[](#statamic-bard-text-styles)

[![Statamic v3](https://camo.githubusercontent.com/88ad20c4a7a2ef5f6fdc11e82722a19551aa64eac853ef31b42177a76de652ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e302b2d464632363945)](https://camo.githubusercontent.com/88ad20c4a7a2ef5f6fdc11e82722a19551aa64eac853ef31b42177a76de652ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53746174616d69632d332e302b2d464632363945)[![Packagist](https://camo.githubusercontent.com/7be7ff3b1cc92f1035eacc62003a0bc73fb5392f61a2b3ce866fe5120c55ebbf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f323173746469676974616c2f73746174616d69632d626172642d746578742d7374796c6573)](https://)[![Test Suite](https://github.com/21stdigital/statamic-bard-text-styles/workflows/Tests/badge.svg)](https://github.com/21stdigital/statamic-bard-text-styles/workflows/Tests/badge.svg)

This addon for Statamic allows you to select custom paragraph styles in the bard editor.

Installation
------------

[](#installation)

Via Composer

```
$ composer require tfd/statamic-bard-text-styles
```

Configuration
-------------

[](#configuration)

Publish the configuration:

```
$ php please vendor:publish --tag=bard-custom-text-styles
```

Open config/bard-custom-text-styles.php and add your custom paragraph styles:

```
return [
    'text-copy-secondary' => [
        'title' => 'text copy secondary',
        'class' => 'text-copy-secondary',
        'style' => 'font-size: 14px; color: grey;',
    ],
];
```

Each style must use:

- **title**: The name of the style, shown in the bard select menu.
- **class**: The class name, that will be added to the paragraph in the frontend.
- **style**b: The inline style, that is only applied in the bard editor itself, not the frontend.

Statamic Resources
------------------

[](#statamic-resources)

- [Statamic 3 Docs](https://statamic.dev)
- [Statamic Discord](https://statamic.com/discord)

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Development
-----------

[](#development)

- run `npm run watch` to develop

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~43 days

Total

4

Last Release

1503d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87843ace59da85ce6f80e39f2405ebdf1d4a3baac538fe354e552f31ad7828df?d=identicon)[21st.steffen](/maintainers/21st.steffen)

---

Top Contributors

[![Sm1lEE](https://avatars.githubusercontent.com/u/2184676?v=4)](https://github.com/Sm1lEE "Sm1lEE (5 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tfd-statamic-bard-text-styles/health.svg)

```
[![Health](https://phpackages.com/badges/tfd-statamic-bard-text-styles/health.svg)](https://phpackages.com/packages/tfd-statamic-bard-text-styles)
```

###  Alternatives

[statamic/statamic

Statamic

824170.4k](/packages/statamic-statamic)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)[statamic/ssg

Generate static sites with Statamic.

254302.4k](/packages/statamic-ssg)[statamic/eloquent-driver

Allows you to store Statamic data in a database.

125598.8k7](/packages/statamic-eloquent-driver)[statamic/seo-pro

65440.7k](/packages/statamic-seo-pro)[rias/statamic-redirect

28298.4k](/packages/rias-statamic-redirect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
