Cards are shadowed surfaces that display content and actions on a single topic. They should be easy to scan for relevant and actionable information.
Open in new window
Open in new window
Open in new window
Open in new window
Open in new window
Open in new window
Open in new window
Open in new window
Open in new window
View RTL
<nord-card> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</nord-card>
<nord-stack><nord-cardpadding="none"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</nord-card><nord-cardpadding="m"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</nord-card><nord-cardpadding="l"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</nord-card></nord-stack>
<nord-stackclass="stack"direction="horizontal"gap="l"><nord-cardpadding="l"><h2slot="header">Account overview</h2><nord-stackdirection="horizontal"><nord-stackgap="l"><p> View all saved data on your Nordhealth account and choose what activity is kept to personalize your experience.</p><nord-buttonvariant="primary">Manage your account</nord-button></nord-stack></nord-stack></nord-card><nord-cardpadding="l"><h2slot="header">Security checkup</h2><nord-stackdirection="horizontal"><nord-stackgap="l"><p>Our Security Checkup analyzed your account and data. We found no recommended actions this time.</p><nord-buttonvariant="primary">Manage security</nord-button></nord-stack></nord-stack></nord-card></nord-stack><style>@media(max-width: 768px){.stack{flex-direction: column;}}</style>
<nord-stackdirection="horizontal"><nord-card> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit.<divslot="footer"><hrclass="n-divider"/><pclass="n-typescale-m n-margin-bs-m">Footer content</p></div></nord-card><nord-card> Lorem ipsum, dolor sit amet consectetur adipisicing elit.<divslot="footer"><hrclass="n-divider"/><pclass="n-typescale-m n-margin-bs-m">Footer content</p></div></nord-card><nord-card> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?<divslot="footer"><hrclass="n-divider"/><pclass="n-typescale-m n-margin-bs-m">Footer content</p></div></nord-card></nord-stack>
<nord-stackstyle="max-width: 340px;margin:var(--n-space-xl) auto"><nord-bannershadowvariant="warning">You’ve been signed out. Please sign in to continue.</nord-banner><nord-cardpadding="l"><h1slot="header">Sign in to Nord</h1><formaction="#"><nord-stack><nord-inputlabel="Username"expandrequiredhide-requiredname="username"type="email"placeholder="user@example.com"></nord-input><nord-inputlabel="Password"expandrequiredhide-requiredname="password"type="password"placeholder="••••••••"></nord-input><nord-buttontype="submit"expandvariant="primary">Sign in</nord-button></nord-stack></form></nord-card><nord-cardclass="n-align-center"> New to Nord? <ahref="#">Create an account</a>. </nord-card></nord-stack>
<nord-cardpadding="none"><h2slot="header">Your items</h2><divslot="header-end"><nord-inputsize="s"label="Search"hide-labelplaceholder="Item name"type="search"></nord-input><nord-selecthide-labelsize="s"label="Filter by state"placeholder="Please select"><nord-iconslot="icon"name="interface-filter"></nord-icon><optionvalue="active">Active</option><optionvalue="archived">Archived</option></nord-select><nord-selecthide-labelsize="s"label="Sort"placeholder="Please select"><nord-iconslot="icon"name="arrow-up-down-long"></nord-icon><option>Creation date</option><option>Last modified date</option></nord-select></div><nord-table><table><thead><tr><thclass="n-table-align-right">ID</th><th>Name</th><th>Description</th><th>State</th><thclass="n-table-align-right">Creation date</th><thclass="n-table-align-right">Last modified date</th></tr></thead><tbody><tr><tdclass="n-table-align-right">01</td><td>Item name 1</td><tdclass="n-caption">Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, necessitatibus!</td><td><nord-badgevariant="success">Active</nord-badge></td><tdclass="n-caption n-table-align-right">20.3.2020</td><tdclass="n-caption n-table-align-right">20.3.2021</td></tr><tr><tdclass="n-table-align-right">02</td><td>Item name 2</td><tdclass="n-caption">Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, necessitatibus!</td><td><nord-badgevariant="warning">Archived</nord-badge></td><tdclass="n-caption n-table-align-right">19.3.2020</td><tdclass="n-caption n-table-align-right">19.3.2021</td></tr><tr><tdclass="n-table-align-right">03</td><td>Item name 3</td><tdclass="n-caption">Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, necessitatibus!</td><td><nord-badgevariant="success">Active</nord-badge></td><tdclass="n-caption n-table-align-right">18.3.2020</td><tdclass="n-caption n-table-align-right">18.3.2021</td></tr><tr><tdclass="n-table-align-right">04</td><td>Item name 4</td><tdclass="n-caption">Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, necessitatibus!</td><td><nord-badgevariant="success">Active</nord-badge></td><tdclass="n-caption n-table-align-right">17.3.2020</td><tdclass="n-caption n-table-align-right">17.3.2021</td></tr><tr><tdclass="n-table-align-right">05</td><td>Item name 5</td><tdclass="n-caption">Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci, necessitatibus!</td><td><nord-badgevariant="warning">Archived</nord-badge></td><tdclass="n-caption n-table-align-right">16.3.2020</td><tdclass="n-caption n-table-align-right">16.3.2021</td></tr></tbody></table></nord-table></nord-card>
<nord-cardpadding="m"><h2slot="header">Header content</h2> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?<divslot="footer">Footer content</div></nord-card>
<nord-cardpadding="none"><divclass="n-padding-m"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</div><nord-divider></nord-divider><divclass="n-padding-m"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</div><nord-divider></nord-divider><divclass="n-padding-m"> Lorem ipsum, dolor sit amet consectetur adipisicing elit. Nulla provident aliquid corporis tempora eius quam, quae vel molestias esse maxime aperiam totam suscipit. Nobis consectetur optio reprehenderit animi? Suscipit, quibusdam?</div></nord-card>
<nord-cardpadding="none"><h2slot="header">Table heading</h2><nord-table><table><thead><tr><thclass="n-table-align-right">Amount</th><th>Description</th><th>Method</th><thclass="n-table-align-right">Date</th></tr></thead><tbody><tr><tdclass="n-table-align-right">350,00 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">20.3.2021</td></tr><tr><tdclass="n-table-align-right">29,90 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">19.3.2021</td></tr><tr><tdclass="n-table-align-right">50,00 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">18.3.2021</td></tr><tr><tdclass="n-table-align-right">290,00 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">17.3.2021</td></tr><tr><tdclass="n-table-align-right">49,90 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">16.3.2021</td></tr><tr><tdclass="n-table-align-right">25,00 €</td><tdclass="n-table-ellipsis"> Suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing suspendisse blandit sodales eros, quis aliquet leo aliquet ultrices lorem ipsum dolor sit amet consectetuer adipiscing</td><td>Card</td><tdclass="n-table-align-right">15.3.2021</td></tr></tbody></table></nord-table></nord-card>
Properties
Property
Attribute
Description
Type
Default
padding
padding
Controls the padding of the card component. When set to “none”, the header and footer slots will still have padding.
"m" | "l" | "none"
"m"
Slots
Slot name
Description
Default slot
The card content.
header
Optional slot that holds a header for the card.
header-end
Optional slot that positions content at the end of the header. Useful for actions or additional info.
footer
Optional slot that holds footer content for the card.
CSS Properties
CSS Custom Properties provide more fine grain control over component presentation. We advise utilizing existing properties on the component before using these.
Don’t place cards within cards. Consider using the divider component to break up sections instead.
Don’t use when you need to capture user’s attention in a prominent way.
Don’t use to inform user about important changes or conditions in the interface.
Don’t use multiple primary buttons inside a card. A card should only contain a single primary action.
Integration
For integration guidelines, please see Web Components documentation. This documentation explains how to implement and use Nord Web Components across different technologies such as Vue.js, React, or Vanilla JavaScript.
Integration Guidelines
Troubleshooting
If you experience any issues while using Nord Web Components, please head over to the Support page for more guidelines and ways to contact us.