• 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. Overlays

Menu

Menu

  • Overview
  • Getting started
  • design-tokens
  • component-tokens
  • css-base
  • css-components
    • Overview
    • Cascade layers
    • Buttons
    • Overlays
      • Overview
      • Panel
      • Modal
      • Drawer
      • Dropdown
    • Content
    • Navigation
    • Embeds
    • Forms
    • Utilities

Overlays

The shared panel skeleton behind .modal and .drawer, the two opening strategies, and the .dropdown contract.

Overview

Why .modal and .drawer are the same panel, where the class you apply actually lives, and what the four files expect from…

Read more

Panel

The shared skeleton behind .modal and .drawer, the two opening strategies, the inline variants and the backdrop.

Read more

Modal

The centred panel configuration, and how it centres and shrinks to its content at once.

Read more

Drawer

The edge-pinned panel configuration and its four position variants.

Read more

Dropdown

A contextual menu positioned against its trigger, with a three-class transition contract.

Read more

  1. Socle
  2. Documentation
  3. css-components
  4. Overlays
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