Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Segue: Classy Links!

Don't use this, I gave up on D8 and therefore this module! Suggest you look at link_class or link_attributes.

Segue adds a field widget to the core Link field type allowing you to specify a list of CSS classes to be made available for use on the field. Content authors are then presented with an array of checkboxes to select which classes they want to apply to the link they are entering.

Example uses might be adding classes to highlight call to actions, differentiate primary/secondary links, and/or to apply icons via CSS to links.

To use simply install the module then edit a Link field's Form Display settings and change the widget to Segue. (Then, of course, add some CSS!)

Project information