Salesforce Lightning

Mood track «Inspired» · Kevin MacLeod incompetech.com · licensed under Creative Commons BY 4.0
Example image of the style Salesforce Lightning
Preview built in HTML and CSS in this style

Lightning Design System · SLDS · Salesforce Lightning Design System

Salesforce's design system for its CRM and the apps built on its platform. Recognisable for the sky-blue header, white cards with grey borders and coloured square icons marking each record type.

Era
2015 – today
Origin
Salesforce, San Francisco (USA)
Use
Mainstream
Domain
Web / UI
Mood
rationalclean
Explore

Live demo

View code
<div class="card"><div class="head"><span class="ic">◆</span><div><small>Opportunità</small><h3>Rinnovo contratto 2026</h3></div><span class="badge">Chiusa vinta</span></div>
<div class="body"><label>Importo</label><input value="€ 48.000"><div class="acts"><button>Modifica</button><button class="brand">Nuova attività</button></div></div></div>
body{background:linear-gradient(#1B96FF 0 70px,#B0C4DF 70px,#F3F3F3 160px);font-family:'Open Sans',sans-serif;display:grid;place-items:center;margin:0;min-height:100vh;color:#181818;font-size:13px}
.card{background:#fff;width:370px;max-width:92vw;border:1px solid #E5E5E5;border-radius:4px;box-shadow:0 2px 2px #0000001a}
.head{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #E5E5E5}
.ic{width:32px;height:32px;border-radius:4px;background:#FF5D2D;color:#fff;display:grid;place-items:center}
small{color:#444}h3{margin:0;font-size:16px;font-weight:700}.badge{margin-left:auto;background:#2E844A;color:#fff;border-radius:15rem;padding:2px 8px;font-size:11px;font-weight:600}
.body{padding:12px 16px 16px}label{display:block;color:#444;font-size:12px;margin-bottom:4px}
input{width:100%;box-sizing:border-box;border:1px solid #C9C9C9;border-radius:4px;padding:6px 12px;font:13px 'Open Sans'}
.acts{display:flex;justify-content:flex-end;gap:4px;margin-top:14px}
button{border:1px solid #C9C9C9;background:#fff;color:#0176D3;border-radius:4px;padding:0 16px;line-height:30px;font:600 13px 'Open Sans'}.brand{background:#0176D3;border-color:#0176D3;color:#fff}

Characteristics

  • Brand blue #0176D3 on a #F3F3F3 grey background
  • Object icons in coloured squares with 4 px corners
  • White cards with #E5E5E5 border and a titled header
  • Bordered 4 px buttons in brand and neutral variants
  • Dense record layouts with fields, tabs and side panels

Palette

Click a swatch to copy it

Typography

Headings · Open Sans Salesforce Lightning

Body · Open Sans Salesforce's design system for its CRM and the apps built on its platform. Recognisable for the sky-blue header, white cards with grey borders and coloured square icons marking each record type.

Prompt for your agent

Copy and paste into your prompt to have an agent or image generator reproduce this style.

For web pages and UI

Design the web page or interface in this style: Salesforce Lightning (Lightning Design System, SLDS).
Salesforce's design system for its CRM and the apps built on its platform. Recognisable for the sky-blue header, white cards with grey borders and coloured square icons marking each record type.
Characteristics: Brand blue #0176D3 on a #F3F3F3 grey background, Object icons in coloured squares with 4 px corners, White cards with #E5E5E5 border and a titled header, Bordered 4 px buttons in brand and neutral variants, Dense record layouts with fields, tabs and side panels.
Palette: #0176D3, #014486, #F3F3F3, #FFFFFF, #181818, #2E844A.
Typography: headings in Open Sans, body text in Open Sans (Google Fonts or equivalents).
Mood: rational, clean.
References: https://www.lightningdesignsystem.com, Salesforce Lightning Experience, Salesforce AppExchange, Salesforce Mobile App.

Relations

Derives from: Flat DesignFlat DesignSimilar to: Atlassian Design SystemAtlassian Design SystemSimilar to: Ant DesignAnt DesignSimilar to: SAP FioriSAP FioriSalesforce Lightning
Derives fromSimilar toSee in the graph →

References

  • https://www.lightningdesignsystem.com
  • Salesforce Lightning Experience
  • Salesforce AppExchange
  • Salesforce Mobile App