• 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

Menu

Menu

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

css-components

Framework-agnostic CSS component implementations, driven entirely by component tokens and scoped to @layer components.

Overview

The 30 components and 1 utility, how to install them, the import order inside the package, and what it deliberately…

Read more

Cascade layers

The two layers this package owns, why panel.css follows modal and drawer, and how to override a component cleanly.

Read more

Buttons

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

Read more

Overlays

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

Read more

Content

Alerts, badges, banners, cards, the items grid, labelled lists, media objects, pushes and surtitles.

Read more

Navigation

Navigation lists, navigation titles, skip links, breadcrumbs and pagination.

Read more

Embeds

Aspect-ratio wrappers for third-party embeds, native video and maps.

Read more

Forms

The .form grid, the .form-check row, and where the actual control styling lives.

Read more

Utilities

The one utility this package ships, and why it is a utility rather than a component rule.

Read more

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