Workspaces
3
One place for every project
Everything you need to keep moving, in one place.
Here’s what’s happening with your account.
Workspaces
One place for every project
Team members
Working better, together
Connected services
All services operational
Account security
Two-step verification enabled
A few small steps to get your workspace ready.
Your team knows who you are.
An extra layer of protection is enabled.
Bring the right people into your workspace.
A shared workspace starts with your team.
This is a design preview. No invitation will be sent.
A little peace of mind.
Simple tools for the work that matters.
// Composed reference using the shipped UI components.
page DesignSystem {
state saved = false
seo {
title = "Workspace example"
}
view {
<div class="workspace-preview">
<header class="workspace-topbar">
<a class="workspace-brand" href="/preview/workspace"><span class="workspace-mark">W</span>WRNexus<span class="workspace-preview-label">Example</span></a>
<nav aria-label="Preview tools"><a href="/components/button">Components</a><button type="button" data-design-mode="light" data-wrn-theme-set="light" aria-label="Light theme"><span class="icon-[lucide--sun]" aria-hidden="true"></span></button><button type="button" data-design-mode="dark" data-wrn-theme-set="dark" aria-label="Dark theme"><span class="icon-[lucide--moon]" aria-hidden="true"></span></button><span class="workspace-avatar" aria-label="Sample user">JD</span></nav>
</header>
<div class="workspace-shell">
<aside class="workspace-sidebar">
<div class="workspace-organization"><span class="workspace-avatar">S</span><div><strong>Studio workspace</strong><small>Personal account</small></div></div>
<nav aria-label="Workspace preview"><span class="workspace-nav-label">WORKSPACE</span><a href="/preview/workspace" aria-current="page"><span class="icon-[lucide--layout-dashboard]" aria-hidden="true"></span>Overview</a><a href="/preview/profile" aria-current="false"><span class="icon-[lucide--user-round]" aria-hidden="true"></span>Profile & preferences</a><a href="/preview/sign-in"><span class="icon-[lucide--log-in]" aria-hidden="true"></span>Sign in preview</a></nav>
<a class="workspace-library-link" href="/">Browse component library <span aria-hidden="true">↗</span></a>
</aside>
<main class="workspace-main">
<PageHeader title="Your workspace" description="Everything you need to keep moving, in one place." variant="minimal" borderBottom="false" maxWidth="full" />
<section class="workspace-welcome"><span class="workspace-avatar workspace-avatar--large">JD</span><div><h2>Good morning, Jamie</h2><p>Here’s what’s happening with your account.</p></div><Button label="Edit profile" href="/preview/profile" variant="secondary" size="sm" /></section>
<section class="workspace-metrics" aria-label="Account summary"><MetricCard label="Workspaces" value="3" description="One place for every project" hover="none" /><MetricCard label="Team members" value="12" description="Working better, together" hover="none" /><MetricCard label="Connected services" value="4" description="All services operational" hover="none" /><MetricCard label="Account security" value="Protected" description="Two-step verification enabled" hover="none" class="workspace-security-metric" /></section>
<div class="workspace-overview-grid">
<section class="workspace-section"><header><div><h2>Make yourself at home</h2><p>A few small steps to get your workspace ready.</p></div><span class="workspace-status">2 of 3 complete</span></header><div class="workspace-steps"><div><span class="workspace-step-icon workspace-step-icon--done">✓</span><div><strong>Complete your profile</strong><p>Your team knows who you are.</p></div><span class="workspace-muted">Done</span></div><div><span class="workspace-step-icon workspace-step-icon--done">✓</span><div><strong>Secure your account</strong><p>An extra layer of protection is enabled.</p></div><span class="workspace-muted">Done</span></div><div><span class="workspace-step-icon">3</span><div><strong>Invite your team</strong><p>Bring the right people into your workspace.</p></div><Modal triggerLabel="Invite member" title="Invite a teammate" description="A shared workspace starts with your team." confirmLabel="Done" closeOnConfirm="true"><div class="workspace-fields"><Input id="invite-email" name="inviteEmail" type="email" label="Email address" placeholder="teammate@company.com" /><p class="workspace-muted">This is a design preview. No invitation will be sent.</p></div></Modal></div></div></section>
<section class="workspace-section"><header><div><h2>Account status</h2><p>A little peace of mind.</p></div><span class="icon-[lucide--shield-check] workspace-status-icon" aria-hidden="true"></span></header><dl class="workspace-status-list"><div><dt>Email address</dt><dd>Verified</dd></div><div><dt>Two-step verification</dt><dd>Enabled</dd></div><div><dt>Recovery method</dt><dd>Added</dd></div></dl><a class="workspace-text-link" href="/preview/profile">Manage your preferences <span aria-hidden="true">→</span></a></section>
</div>
<section class="workspace-services"><header><h2>Your services</h2><p>Simple tools for the work that matters.</p></header><div class="workspace-service-grid"><Card title="Business email" description="A professional inbox for every conversation." icon="icon-[lucide--mail]" actionLabel="Explore forms" actionHref="/forms" /><Card title="Team workspace" description="Keep your people and projects connected." icon="icon-[lucide--users]" actionLabel="Explore tables" actionHref="/components/data-table" /><Card title="Scheduling" description="Make room for your next great idea." icon="icon-[lucide--calendar-days]" actionLabel="Explore calendar" actionHref="/components/date-picker" /></div></section>
<footer class="workspace-footer"><span>© 2026 WRNexus</span><span>Sample workspace · Light & dark preview</span></footer>
</main>
</div>
</div>
}
}
/* Application composition reference. Component visuals remain in @wrnexus/ui. */
.workspace-preview {
min-height: 100dvh;
color: var(--wrn-color-text);
background: var(--wrn-color-bg);
font: 0.875rem/1.5 var(--wrn-font-sans);
-webkit-font-smoothing: antialiased;
}
.workspace-preview a {
text-decoration: none;
}
.workspace-preview h1,
.workspace-preview h2,
.workspace-preview p {
margin: 0;
}
.workspace-topbar {
display: flex;
min-height: 64px;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 1.5rem;
border-bottom: 1px solid var(--wrn-color-border);
background: var(--wrn-color-surface);
}
.workspace-brand,
.workspace-topbar nav {
display: flex;
align-items: center;
gap: 1rem;
}
.workspace-brand {
color: var(--wrn-color-text);
font-size: 1rem;
font-weight: 700;
letter-spacing: -0.025em;
}
.workspace-mark {
display: grid;
place-items: center;
width: 30px;
height: 30px;
border-radius: 7px;
background: var(--wrn-color-primary);
color: var(--wrn-color-primary-contrast);
font-size: 0.875rem;
}
.workspace-preview-label {
padding-left: 1rem;
border-left: 1px solid var(--wrn-color-border);
color: var(--wrn-color-muted);
font-size: 0.75rem;
font-weight: 400;
letter-spacing: 0;
}
.workspace-topbar nav a {
color: var(--wrn-color-muted);
font-size: 0.8125rem;
}
.workspace-topbar button {
display: grid;
place-items: center;
width: 36px;
height: 36px;
border: 1px solid var(--wrn-color-border);
border-radius: var(--wrn-radius-sm);
color: var(--wrn-color-text);
background: var(--wrn-color-surface);
cursor: pointer;
}
.workspace-topbar button span {
width: 18px;
height: 18px;
}
.workspace-avatar {
display: grid;
flex: none;
place-items: center;
width: 32px;
height: 32px;
border-radius: 50%;
color: var(--wrn-color-primary-text);
background: var(--wrn-color-primary-soft);
font-size: 0.6875rem;
font-weight: 600;
}
.workspace-avatar--large {
width: 40px;
height: 40px;
font-size: 0.8125rem;
}
.workspace-shell {
display: grid;
grid-template-columns: 232px minmax(0, 1fr);
min-height: calc(100dvh - 64px);
}
.workspace-sidebar {
min-width: 0;
display: flex;
flex-direction: column;
gap: 1.75rem;
padding: 1.5rem 1rem;
border-right: 1px solid var(--wrn-color-border);
background: var(--wrn-color-surface);
}
.workspace-organization {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0 0.5rem;
}
.workspace-organization strong {
display: block;
font-size: 0.8125rem;
font-weight: 600;
}
.workspace-organization small {
color: var(--wrn-color-muted);
font-size: 0.6875rem;
}
.workspace-sidebar nav {
display: grid;
gap: 0.25rem;
}
.workspace-nav-label {
margin: 0 0.5rem 0.5rem;
color: var(--wrn-color-muted);
font-size: 0.625rem;
font-weight: 600;
letter-spacing: 0.08em;
}
.workspace-sidebar nav a {
display: flex;
align-items: center;
gap: 0.625rem;
min-height: 38px;
padding: 0.5rem 0.625rem;
border-radius: var(--wrn-radius-sm);
color: var(--wrn-color-muted);
font-size: 0.8125rem;
}
.workspace-sidebar nav a span {
width: 17px;
height: 17px;
flex: none;
}
.workspace-sidebar nav a:hover {
background: var(--wrn-color-surface-soft);
color: var(--wrn-color-text);
}
.workspace-sidebar nav a[aria-current="page"] {
background: var(--wrn-color-primary-soft);
color: var(--wrn-color-primary-text);
font-weight: 600;
}
.workspace-library-link {
margin-top: auto;
padding: 1rem 0.5rem 0;
border-top: 1px solid var(--wrn-color-border);
color: var(--wrn-color-muted);
font-size: 0.6875rem;
}
.workspace-main {
width: 100%;
max-width: 1400px;
min-width: 0;
margin: 0 auto;
padding: 1.5rem 2rem 0;
}
.workspace-main .wrn-page-header__inner {
padding: 0 0 1.5rem;
}
.workspace-welcome {
display: flex;
align-items: center;
gap: 0.875rem;
padding-bottom: 1.5rem;
}
.workspace-welcome h2 {
font-size: 0.9375rem;
font-weight: 600;
}
.workspace-welcome p {
color: var(--wrn-color-muted);
font-size: 0.8125rem;
margin-top: 0.125rem;
}
.workspace-welcome > :last-child {
margin-left: auto;
}
.workspace-metrics {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.workspace-security-metric .wrn-metric-card__value {
font-size: 1.5rem;
}
.workspace-overview-grid {
display: grid;
grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr);
gap: 1.5rem;
}
.workspace-section {
min-width: 0;
padding: 1.25rem;
background: var(--wrn-color-surface);
border: 1px solid var(--wrn-color-border);
border-radius: var(--wrn-radius-md);
}
.workspace-section > header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.workspace-preview h2 {
font-size: 0.9375rem;
font-weight: 600;
letter-spacing: -0.015em;
}
.workspace-section header p,
.workspace-services header p {
margin-top: 0.25rem;
color: var(--wrn-color-muted);
font-size: 0.75rem;
}
.workspace-status {
white-space: nowrap;
border-radius: 4px;
padding: 0.25rem 0.375rem;
color: var(--wrn-color-muted);
background: var(--wrn-color-surface-soft);
font-size: 0.625rem;
}
.workspace-steps > div {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.9375rem 0;
border-bottom: 1px solid var(--wrn-color-border);
}
.workspace-steps > div:last-child {
border-bottom: 0;
padding-bottom: 0;
}
.workspace-steps strong {
font-size: 0.8125rem;
font-weight: 500;
}
.workspace-steps p {
font-size: 0.6875rem;
color: var(--wrn-color-muted);
margin-top: 0.125rem;
}
.workspace-steps > div > :last-child {
margin-left: auto;
flex-shrink: 0;
}
.workspace-step-icon {
display: grid;
place-items: center;
flex: none;
width: 26px;
height: 26px;
border: 1px solid var(--wrn-color-border);
border-radius: 50%;
font-size: 0.6875rem;
}
.workspace-step-icon--done {
border-color: transparent;
color: var(--wrn-color-success-text);
background: var(--wrn-color-success-soft);
}
.workspace-muted {
font-size: 0.75rem;
color: var(--wrn-color-muted);
}
.workspace-status-icon {
width: 20px;
height: 20px;
color: var(--wrn-color-success-text);
}
.workspace-status-list {
margin: 0 0 1rem;
}
.workspace-status-list div {
display: flex;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 0;
border-bottom: 1px solid var(--wrn-color-border);
font-size: 0.75rem;
}
.workspace-status-list dt {
color: var(--wrn-color-muted);
}
.workspace-status-list dd {
margin: 0;
color: var(--wrn-color-success-text);
}
.workspace-text-link {
color: var(--wrn-color-primary-text);
font-size: 0.75rem;
font-weight: 500;
}
.workspace-services {
margin-top: 1.75rem;
}
.workspace-services > header {
margin-bottom: 0.875rem;
}
.workspace-service-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
}
.workspace-service-grid .wrn-next__card-body h3 {
font-size: 0.875rem;
font-weight: 600;
}
.workspace-service-grid .wrn-next__card-body p,
.workspace-service-grid .wrn-next__card-action {
font-size: 0.75rem;
}
.workspace-footer {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem;
padding: 1.5rem 0;
margin-top: 1.5rem;
border-top: 1px solid var(--wrn-color-border);
color: var(--wrn-color-muted);
font-size: 0.6875rem;
}
.workspace-settings {
max-width: 960px;
}
.workspace-settings-section {
display: grid;
grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
gap: 2rem;
padding: 1.5rem 0;
border-bottom: 1px solid var(--wrn-color-border);
}
.workspace-settings-section > div > p {
margin-top: 0.375rem;
color: var(--wrn-color-muted);
font-size: 0.8125rem;
}
.workspace-fields {
min-width: 0;
display: grid;
gap: 1.25rem;
}
.workspace-field-row {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
.workspace-settings-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding-top: 1.25rem;
}
.workspace-settings-actions > span {
color: var(--wrn-color-muted);
font-size: 0.75rem;
}
.workspace-login {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(300px, 30%);
min-height: calc(100dvh - 64px);
background: var(--wrn-color-surface);
}
.workspace-login-form {
width: min(360px, calc(100% - 3rem));
align-self: center;
justify-self: center;
padding: 3rem 0;
}
.workspace-login-form h1 {
font-size: 1.75rem;
font-weight: 600;
letter-spacing: -0.035em;
margin-top: 0.75rem;
}
.workspace-login-form > p {
margin-top: 0.5rem;
color: var(--wrn-color-muted);
font-size: 0.8125rem;
}
.workspace-login-form form {
display: grid;
gap: 1.25rem;
margin: 2rem 0 1.5rem;
}
.workspace-login-form > a {
color: var(--wrn-color-primary-text);
font-size: 0.75rem;
}
.workspace-kicker {
color: var(--wrn-color-muted);
font-size: 0.625rem;
font-weight: 600;
letter-spacing: 0.1em;
}
.workspace-login-aside {
position: relative;
display: flex;
flex-direction: column;
overflow: hidden;
padding: clamp(2rem, 4vw, 4rem);
color: #f0f1f4;
background: #181a20;
}
.workspace-login-aside .workspace-kicker {
color: #b5bac5;
}
.workspace-login-aside h2 {
position: relative;
z-index: 1;
margin-top: 3rem;
font-size: clamp(1.75rem, 2.5vw, 2.5rem);
font-weight: 500;
line-height: 1.25;
letter-spacing: -0.04em;
}
.workspace-login-aside p {
position: relative;
z-index: 1;
margin-top: 1.25rem;
color: #b5bac5;
font-size: 0.875rem;
line-height: 1.7;
}
.workspace-login-aside small {
margin-top: auto;
padding-top: 3rem;
color: #b5bac5;
font-size: 0.75rem;
}
.workspace-login-lines {
position: absolute;
width: 550px;
height: 550px;
border: 1px solid #ffffff12;
border-radius: 50%;
top: 35%;
left: 15%;
box-shadow:
0 0 0 40px #ffffff04,
0 0 0 80px #ffffff04,
0 0 0 120px #ffffff04;
}
.workspace-feedback {
color: var(--wrn-color-success-text);
}
@media (max-width: 1180px) {
.workspace-metrics {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.workspace-overview-grid {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 800px) {
.workspace-shell {
grid-template-columns: minmax(0, 1fr);
}
.workspace-sidebar {
border-right: 0;
border-bottom: 1px solid var(--wrn-color-border);
padding: 0.625rem 1rem;
}
.workspace-sidebar nav {
display: flex;
overflow-x: auto;
scrollbar-width: none;
}
.workspace-sidebar nav a {
white-space: nowrap;
}
.workspace-nav-label,
.workspace-organization,
.workspace-library-link {
display: none;
}
.workspace-main {
padding: 1.5rem 1rem 0;
}
.workspace-login {
grid-template-columns: minmax(0, 1fr);
}
.workspace-login-aside {
display: none;
}
.workspace-service-grid {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 540px) {
.workspace-topbar {
padding-inline: 1rem;
}
.workspace-preview-label,
.workspace-topbar nav > a {
display: none;
}
.workspace-topbar nav {
gap: 0.625rem;
}
.workspace-welcome {
flex-wrap: wrap;
}
.workspace-section > header {
flex-wrap: wrap;
}
.workspace-steps > div {
flex-wrap: wrap;
}
.workspace-steps > div > :nth-child(2) {
flex: 1;
min-width: 160px;
}
.workspace-metrics {
gap: 0.625rem;
}
.workspace-metrics .wrn-metric-card {
padding: 0.875rem;
}
.workspace-security-metric .wrn-metric-card__value {
font-size: 1.25rem;
}
.workspace-settings-section {
grid-template-columns: minmax(0, 1fr);
gap: 1.25rem;
}
.workspace-field-row {
grid-template-columns: minmax(0, 1fr);
}
.workspace-settings-actions {
align-items: flex-start;
flex-direction: column-reverse;
}
}