import type { Component } from 'solid-js'; import { For, createSignal } from 'solid-js'; import { SSAttrList, SSButton, SSCallout, SSChip, SSDivider, SSDropdown, SSExpandable, SSHeader, SSSurface, SSTile, } from 'src'; import { IconBolt, IconChart, IconDots, IconLink, IconSettings, IconShield, IconSpark, IconUser, IconBell, IconCheck, } from '../../demo/content'; const OverviewPage: Component = () => { const [bannerVisible, setBannerVisible] = createSignal(true); const [chipItems, setChipItems] = createSignal([ { id: 'launch', label: 'Launch ready', color: 'green' }, { id: 'urgent', label: 'Urgent', color: 'red' }, { id: 'info', label: 'Info', color: 'blue' }, ]); return (
Preview Publish } items={[ { label: 'Duplicate', icon: }, { label: 'Share link', icon: , checked: true }, { label: 'Archive', icon: }, ]} />
} /> {bannerVisible() && (
}> A fresh demo layout that shows every component in context. setBannerVisible(false)}> Dismiss
)}
Status tiles
} trailing="92%" /> } trailing="4 issues" /> } trailing="14 slots" />
Quick actions
Primary action Secondary Tertiary Danger
Chips
{(item) => ( setChipItems((prev) => prev.filter((chip) => chip.id !== item.id)) } > {item.label} )} {}}> Clickable Display only
Attribute list
} />
Callouts
}> All services are green. Next audit is scheduled for Friday. }> 2 alerts are pending review in the on-call queue. }> Credentials rotation required within 14 days.
Expandable
Review release notes and merge outstanding fixes.
Warm up cache nodes and verify rollout.
Post update to #ops and notify stakeholders.
); }; export default OverviewPage;