shadcn.io is not affiliated with official shadcn/ui
Domain Tabs Security Practices About Block for Svelte
Security practices for a password manager in four domain tabs, each a list of controls marked Done or Rolling out, under a security score worked out from the controls.
Installation
Overview
A security-practices block for Svelte with Ark UI, written for Lockhaven, a fictional password manager. A start-aligned header carries the security score at its end, "92 / 100" over a bar. Under it a band of four tabs, Data, Access, Infrastructure and People, scrolls sideways on a phone, and each tab says how many of its five controls are done. A panel is five ruled rows: the control, what it does in a sentence and its state, a filled dot and "Done" with since when, or a hollow dot and "Rolling out" with when it will be done. Every panel is stacked unseen under the open one, so choosing a tab never moves the page. The score is not typed: each control is worth five points, one still rolling out earns three, and the figure and the bar are worked out from the rows. It's built from Tabs, Status, Progress and Guides, with CSS transitions for the entrance and your theme's tokens for every colour. For an about page, a trust page or a security review. The controls and the score are example data, not a real security claim.
FAQ
How do I change the controls?
DOMAINS holds the four tabs, each with five controls: a name, one sentence, whether it is done and a short "when". Add or remove controls and the tab counts, the score and the bar follow. The controls here are example data.
How is the score worked out?
Every control is worth POINTS (5) and a control still rolling out earns PART_POINTS (3); the score is the points earned over the points possible, rounded. With sixteen done and four rolling out it comes to 92. The scoring rule is printed under the figure so the number is never a mystery.
How is Done told from Rolling out without colour?
A filled dot is done and a hollow ring is rolling out, and the word is always written next to it, with when. The dot is decoration.
How do the tabs behave?
They are real tabs: arrow keys move between them and each one controls its own panel. Arrow keys move focus and the selected tab. The panels share one cell, so the tallest sets the height and nothing below moves.
Related
- Status Grouped Compliance Badges AboutSecurity and platform
- Vertical Tabs Data Privacy AboutSecurity and platform
- Accordion Accessibility Pledge AboutSecurity and platform
- Grouped Transparency Report AboutNumbers
- Severity Ladder SLA AboutSupport and contact
- Tabbed Plaque Shelf Awards AboutPress and recognition