PHPackages                             manuxi/sulu-content-types-bundle - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. manuxi/sulu-content-types-bundle

ActiveSulu-bundle[Utility &amp; Helpers](/categories/utility)

manuxi/sulu-content-types-bundle
================================

Custom Content Types for Sulu CMS: NumberWithDefault, ColorSelect, SliderRange

1.3.0(6mo ago)01[2 PRs](https://github.com/manuxi/SuluContentTypesBundle/pulls)MITPHPPHP ^8.1CI passing

Since Oct 25Pushed 2mo agoCompare

[ Source](https://github.com/manuxi/SuluContentTypesBundle)[ Packagist](https://packagist.org/packages/manuxi/sulu-content-types-bundle)[ RSS](/packages/manuxi-sulu-content-types-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (10)Used By (0)

Sulu Content Types Bundle
=========================

[](#sulu-content-types-bundle)

Custom Content Types for Sulu CMS 2.6+

[![License](https://camo.githubusercontent.com/834ef96f5a81bd70b3ec9493d66227344e40f2781d579d6eba6bf4b95603da27/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d616e7578692f53756c75436f6e74656e74547970657342756e646c65)](https://github.com/manuxi/SuluContentTypesBundle/blob/main/LICENSE)[![Sulu Version](https://camo.githubusercontent.com/854d1a98a83b2c4518c57a1794c61c9516070c98011550d5786b7e1ee9e324d7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53756c752d253545322e362d626c7565)](https://sulu.io/)[![PHP Version](https://camo.githubusercontent.com/24a501cc1fad92cac49aac3fc818ebfe46e87b86b692f974e4f274da44798dac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d707572706c65)](https://php.net/)

[Deutsche Version](README_DE.md) | **English Version**

---

Features
--------

[](#features)

This bundle provides three custom content types for Sulu CMS:

### 1. 🔢 NumberWithDefault

[](#1--numberwithdefault)

Number input field with default value support. Extends the standard `number` type with a `default_value` parameter.

**Use Cases:**

- Refresh intervals
- Timeouts
- Counters with default values

[![docs/img/NumberWithDefault.png](docs/img/NumberWithDefault.png)](docs/img/NumberWithDefault.png)

### 2. 🎨 ColorSelect

[](#2--colorselect)

Selection field with colour preview. Any colour-coded options can be configured via yaml.

**Use Cases:**

- Button colors
- Badge colors
- Theme color selection

[![docs/img/ColorSelectSelection.png](docs/img/ColorSelectSelection.png)](docs/img/ColorSelectSelection.png)

Default options (Palette "bootstrap"):

[![docs/img/ColorSelectOptions.png](docs/img/ColorSelectOptions.png)](docs/img/ColorSelectOptions.png)

### 3. 🎚️ SliderRange

[](#3-️-sliderrange)

Visual range slider with configurable display modes. Supports textbox input, floating tooltips, and various label layouts.

**Use Cases:**

- Banner rotation speeds
- Opacity/transparency
- Priority levels
- Volume controls

[![docs/img/SliderRange.png](docs/img/SliderRange.png)](docs/img/SliderRange.png)

---

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

[](#installation)

### 1. Install via Composer

[](#1-install-via-composer)

```
composer require manuxi/sulu-content-types-bundle
```

### 2. Enable the Bundle

[](#2-enable-the-bundle)

Add the bundle to your `config/bundles.php`:

```
