• Main content
  • Main navigation
  • Search
  • Go to the bottom of the page
Socle

Menu

  • Documentation
    • Getting started

      How to install and setup packages.

    • Design tokens

      Colors, typography, spacing and motion.

    • Component tokens

      Component-scoped tokens for 26 components.

    • CSS base

      Reset, native elements and layout primitives.

    • CSS components

      29 components and 1 utility.

Search

  1. Socle
  2. Documentation
  3. css-components
  4. Buttons

Menu

Menu

  • Overview
  • Getting started
  • design-tokens
  • component-tokens
  • css-base
  • css-components
    • Overview
    • Cascade layers
    • Buttons
      • Overview
      • Button
      • Close button
      • Menu button
      • Search button
      • Filter button
      • Share button
      • Table of contents button
      • Video toggle
    • Overlays
    • Content
    • Navigation
    • Embeds
    • Forms
    • Utilities

Buttons

The .btn base class with its colour, size and style variants, and the seven specialised buttons built on it.

Overview

The eight button files, the two kinds of specialised button, and the masked icons they share.

Read more

Button

The .btn base class, its ten colour variants, five sizes and three style variants.

Read more

Close button

The self-contained close control used inside panels, alerts and dismissible blocks.

Read more

Menu button

The self-contained menu toggle, typically the burger in a site header.

Read more

Search button

The search toggle, a modifier on .btn carrying the search icon.

Read more

Filter button

The filters toggle, a modifier on .btn carrying the filter icon.

Read more

Share button

The share control, a modifier on .btn carrying the share icon.

Read more

Table of contents button

The table of contents toggle, a modifier on .btn carrying the toc icon.

Read more

Video toggle

The play and pause control overlaid on an autoplaying video, driven by the .is-playing state class.

Read more

  1. Socle
  2. Documentation
  3. css-components
  4. Buttons
Socle

A framework-agnostic CSS foundation, four packages covering tokens, reset, layouts and components.

  • Documentation
  • Github
  • Legal mentions
  • Sitemap
  • Socle is developed by Un Cinq
  • Github
  • Linkedin

a low impact website crafted with Hugolify