C Inner

A utility to help manage focus styles in an interactive component. Wrap the contents of your component in <span className="c-inner" tabindex="-1">Text</span> or <div className="c-inner" tabindex="-1">Text</div> to only show focus styles on keyboard interaction and not click.

To disable style output from this utility set $enable-c-inner: false;.

Examples

Buttons

Anchor Anchor Anchor Anchor Anchor Anchor es-ES es-ES es-ES

Snippet

Regular Anchor Tag
.link-primary
.link-secondary
.link-primary.single-link
.link-secondary.single-link
.component-link

.component-title a

.component-subtitle a

Primary Secondary Primary Secondary

Snippet

Close

Snippet

Badge

Primary ReallySuperInsanelyJustIncrediblyLongAndTotallyNotPossibleWordButWeAre

Snippet

Label

Primary Secondary thumbnailNormal Label thumbnailLabel Lg thumbnailLabel Secondary thumbnailLabel Primary

Snippet

Card Interactive

Widget Page

Build a page by adding widgets and content.

Widget Page

Build a page by adding widgets and content.
Bootstrap’s Dropdown Plugin focuses dropdown-toggle on show. You will need to manually undo the focus via blur or focus c-inner on show.

Snippet

Edit this page on GitHub

Contributors

Matuzalém Teles

Last edited May 9, 2025 at 6:15:38 AM