Site Access

Invalid credentials

CM Law
Practice Areas Case Studies Our Attorneys Blog Contact
215-772-1000 800-243-1100
Free Consultation
215-772-1000 800-243-1100
Call Now
◆
Design System
CM LAW · v1.0
Getting started
  • Overview
Foundations
  • Design tokens
  • Icons
Components
  • Primitives
  • Sections
← Back to site
Internal · CM LAW

Design System

A live UI library for the Cavaliere & Mangiaracina marketing site. Every component has a canonical name you can reference from Claude Code to drop it into any page.

How to use

This catalog is the source of truth for visual components. Copy the canonical name (the blue pill above each demo) and ask Claude Code to insert, modify, or extend it.

  1. Find a component. Use the sidebar to navigate Primitives, Sections, or Tokens.
  2. Reference it by canonical name. Format: DS/<Layer>/<Component>[/<Variant>]. Examples: DS/Primitive/Button, DS/Section/Hero/Split, DS/Section/CTABanner/Phone.
  3. Ask Claude Code in plain English — natural-language prompts work. See examples below.
  4. Extend, don't duplicate. Need a new look? Add a variant to the existing file. Only create a new file when the role is genuinely new. Update src/design-system/README.md whenever you add one.

Example prompts

Paste any of these into Claude Code as a starting point.

  • Insert DS/Section/Hero/Split on /services/medical-malpractice with ctaLabel "Free Case Review" and eyebrow "Medical Malpractice · PA & NJ"
  • Append DS/Section/CTABanner/Phone to the end of every practice-area page
  • Create a new variant DS/Section/Hero/Video with a background <video> loop
  • Replace the current trust section on the homepage with DS/Section/StatsBand/Dark
  • Show me the source of DS/Primitive/Card

Rules

Canonical naming

Every demo is labeled with a blue pill — that is the exact string to paste into your Claude Code prompt.

Tokens only

Do not hard-code colors, spacing, or font sizes. Everything lives in src/design-system/tokens.scss. Import it with @use '../tokens' as *;

Voice of brand

Demo copy follows CLAUDE.md TOV rules. Medical / clinical content uses the Cavaliere voice; product / institutional / jury content uses the Mangiaracina voice.

This page is marked noindex,nofollow. Visibility is controlled by site.flags.showDesignSystem in src/data/site.ts — set it to false before the production release.

Catalog

01 Design tokens Colors, typography, spacing, shadows, radii. → 02 Icons Lucide open-source icon library, 1,500+ SVGs with searchable names. → 03 Primitives Button, Badge, Card, Heading, Stat, Input, FormField, Alert. → 04 Sections Hero, CTA banners, testimonials, FAQs, stats, process, contact form. →
Cavaliere & Mangiaracina

Design amazing digital experiences that create more happy in the world.

Practice Areas

  • Personal Injury
  • Auto Accidents
  • Truck Accidents
  • Medical Malpractice
  • Wrongful Death
  • View All

Locations

  • Philadelphia, PA
  • Houston, TX
  • Atlanta, GA
  • Chicago, IL
  • Dallas, TX

Resources

  • Blog
  • Personal Injury Insights New
  • Case Studies
  • News
  • Legal Glossary
  • FAQ

Firm

  • About
  • Our Attorneys
  • Practice Areas
  • Contact
  • Sitemap

© 2026 Cavaliere & Mangiaracina. All rights reserved. · Sitemap · Design System · CM Law Lab

Social media