@agent-ui-kit/web-components 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +429 -0
- package/dist/agent-ui.css +1 -1
- package/dist/api.json +9519 -0
- package/dist/docs/blocks/agent-chat.yaml +111 -0
- package/dist/docs/blocks/announcement-card.yaml +30 -0
- package/dist/docs/blocks/bpm-process.yaml +7 -0
- package/dist/docs/blocks/chart-activity.yaml +73 -0
- package/dist/docs/blocks/chart-card.yaml +55 -0
- package/dist/docs/blocks/chart-donut.yaml +83 -0
- package/dist/docs/blocks/chart-grouped.yaml +75 -0
- package/dist/docs/blocks/chart-horizontal.yaml +59 -0
- package/dist/docs/blocks/chart-interactive.yaml +58 -0
- package/dist/docs/blocks/chart-labeled.yaml +66 -0
- package/dist/docs/blocks/checkout-form.yaml +57 -0
- package/dist/docs/blocks/clinical-trial.yaml +7 -0
- package/dist/docs/blocks/contributors.yaml +51 -0
- package/dist/docs/blocks/cyber-threat.yaml +7 -0
- package/dist/docs/blocks/dashboard-layout.yaml +121 -0
- package/dist/docs/blocks/data-eng-dag.yaml +9 -0
- package/dist/docs/blocks/date-picker.yaml +30 -0
- package/dist/docs/blocks/ddx-workflow.yaml +9 -0
- package/dist/docs/blocks/empty-state.yaml +26 -0
- package/dist/docs/blocks/env-variables.yaml +46 -0
- package/dist/docs/blocks/feature-upgrade.yaml +52 -0
- package/dist/docs/blocks/financial-risk.yaml +7 -0
- package/dist/docs/blocks/flow-editor.yaml +113 -0
- package/dist/docs/blocks/gen-ai-pipeline.yaml +8 -0
- package/dist/docs/blocks/index.yaml +245 -0
- package/dist/docs/blocks/issue-assign.yaml +34 -0
- package/dist/docs/blocks/keyboard-shortcuts.yaml +49 -0
- package/dist/docs/blocks/login-branded.yaml +81 -0
- package/dist/docs/blocks/login-email-only.yaml +39 -0
- package/dist/docs/blocks/login-form.yaml +42 -0
- package/dist/docs/blocks/login-simple.yaml +54 -0
- package/dist/docs/blocks/login-social.yaml +73 -0
- package/dist/docs/blocks/login-two-column.yaml +78 -0
- package/dist/docs/blocks/marketing-automation.yaml +7 -0
- package/dist/docs/blocks/member-list.yaml +58 -0
- package/dist/docs/blocks/ml-pipeline.yaml +7 -0
- package/dist/docs/blocks/nav-card.yaml +27 -0
- package/dist/docs/blocks/notification-list.yaml +58 -0
- package/dist/docs/blocks/oncology-pathway.yaml +7 -0
- package/dist/docs/blocks/pricing-card.yaml +53 -0
- package/dist/docs/blocks/processing-state.yaml +25 -0
- package/dist/docs/blocks/profile-card.yaml +48 -0
- package/dist/docs/blocks/saas-onboarding.yaml +7 -0
- package/dist/docs/blocks/settings-form.yaml +42 -0
- package/dist/docs/blocks/settings-panel.yaml +54 -0
- package/dist/docs/blocks/sidebar-nav.yaml +55 -0
- package/dist/docs/blocks/signup-form.yaml +47 -0
- package/dist/docs/blocks/stat-cards.yaml +49 -0
- package/dist/docs/blocks/status-card.yaml +40 -0
- package/dist/docs/blocks/suggested-labs.yaml +79 -0
- package/dist/docs/blocks/supply-chain.yaml +7 -0
- package/dist/docs/blocks/survey-card.yaml +52 -0
- package/dist/docs/blocks/tabbed-panel.yaml +53 -0
- package/dist/docs/blocks/team-empty.yaml +27 -0
- package/dist/docs/blocks/usage-billing.yaml +99 -0
- package/dist/docs/components/accordion-item.yaml +52 -0
- package/dist/docs/components/accordion.yaml +69 -0
- package/dist/docs/components/agent-activity.yaml +79 -0
- package/dist/docs/components/agent-feed.yaml +83 -0
- package/dist/docs/components/agent-message.yaml +120 -0
- package/dist/docs/components/agent-panel.yaml +91 -0
- package/dist/docs/components/agent-prompt.yaml +78 -0
- package/dist/docs/components/agent-seeds.yaml +44 -0
- package/dist/docs/components/agent-text.yaml +57 -0
- package/dist/docs/components/agent-thread.yaml +82 -0
- package/dist/docs/components/app-shell.yaml +64 -0
- package/dist/docs/components/breadcrumb-item.yaml +49 -0
- package/dist/docs/components/breadcrumb.yaml +59 -0
- package/dist/docs/components/button.yaml +439 -0
- package/dist/docs/components/calendar.yaml +74 -0
- package/dist/docs/components/canvas.yaml +161 -0
- package/dist/docs/components/checkbox.yaml +141 -0
- package/dist/docs/components/command-empty.yaml +13 -0
- package/dist/docs/components/command-group.yaml +23 -0
- package/dist/docs/components/command-input.yaml +19 -0
- package/dist/docs/components/command-item.yaml +37 -0
- package/dist/docs/components/command-list.yaml +17 -0
- package/dist/docs/components/command.yaml +64 -0
- package/dist/docs/components/container.yaml +298 -0
- package/dist/docs/components/dialog.yaml +133 -0
- package/dist/docs/components/drawer.yaml +124 -0
- package/dist/docs/components/editor-layer.yaml +59 -0
- package/dist/docs/components/editor.yaml +168 -0
- package/dist/docs/components/feed.yaml +72 -0
- package/dist/docs/components/field.yaml +145 -0
- package/dist/docs/components/graph-layer.yaml +41 -0
- package/dist/docs/components/graph-node.yaml +58 -0
- package/dist/docs/components/graph-noodle.yaml +103 -0
- package/dist/docs/components/graph-port.yaml +71 -0
- package/dist/docs/components/graph-ui.yaml +64 -0
- package/dist/docs/components/gripper.yaml +55 -0
- package/dist/docs/components/icon.yaml +133 -0
- package/dist/docs/components/index.yaml +320 -0
- package/dist/docs/components/input-otp.yaml +59 -0
- package/dist/docs/components/input.yaml +289 -0
- package/dist/docs/components/noodles.yaml +184 -0
- package/dist/docs/components/optgroup.yaml +38 -0
- package/dist/docs/components/option.yaml +56 -0
- package/dist/docs/components/page-context.yaml +55 -0
- package/dist/docs/components/page-main.yaml +39 -0
- package/dist/docs/components/page.yaml +36 -0
- package/dist/docs/components/pagination.yaml +46 -0
- package/dist/docs/components/pane.yaml +102 -0
- package/dist/docs/components/panes.yaml +82 -0
- package/dist/docs/components/preview-app.yaml +170 -0
- package/dist/docs/components/radio-group.yaml +108 -0
- package/dist/docs/components/radio.yaml +132 -0
- package/dist/docs/components/range.yaml +97 -0
- package/dist/docs/components/root.yaml +18 -0
- package/dist/docs/components/segment.yaml +41 -0
- package/dist/docs/components/segmented-control.yaml +52 -0
- package/dist/docs/components/select.yaml +241 -0
- package/dist/docs/components/sidebar-content.yaml +32 -0
- package/dist/docs/components/sidebar-footer.yaml +28 -0
- package/dist/docs/components/sidebar-header.yaml +28 -0
- package/dist/docs/components/sidebar.yaml +133 -0
- package/dist/docs/components/switch.yaml +131 -0
- package/dist/docs/components/tab-panel.yaml +41 -0
- package/dist/docs/components/tab.yaml +51 -0
- package/dist/docs/components/table-body.yaml +11 -0
- package/dist/docs/components/table-cell.yaml +11 -0
- package/dist/docs/components/table-column.yaml +76 -0
- package/dist/docs/components/table-head.yaml +11 -0
- package/dist/docs/components/table-header.yaml +11 -0
- package/dist/docs/components/table-row.yaml +11 -0
- package/dist/docs/components/table.yaml +219 -0
- package/dist/docs/components/tabs.yaml +61 -0
- package/dist/docs/components/textarea.yaml +196 -0
- package/dist/docs/components/toast.yaml +62 -0
- package/dist/docs/components/tooltip.yaml +98 -0
- package/dist/docs/components/tree-item.yaml +46 -0
- package/dist/docs/components/tree.yaml +27 -0
- package/dist/docs/traits/auto-dismiss.yaml +23 -0
- package/dist/docs/traits/backtick-wrap.yaml +22 -0
- package/dist/docs/traits/clipboard.yaml +31 -0
- package/dist/docs/traits/collapsible.yaml +23 -0
- package/dist/docs/traits/confetti.yaml +37 -0
- package/dist/docs/traits/copy.yaml +27 -0
- package/dist/docs/traits/css-inspect.yaml +46 -0
- package/dist/docs/traits/dismiss.yaml +23 -0
- package/dist/docs/traits/drag.yaml +88 -0
- package/dist/docs/traits/drop-zone.yaml +37 -0
- package/dist/docs/traits/edit.yaml +39 -0
- package/dist/docs/traits/flip.yaml +40 -0
- package/dist/docs/traits/gateway.yaml +33 -0
- package/dist/docs/traits/hover.yaml +39 -0
- package/dist/docs/traits/intersect.yaml +42 -0
- package/dist/docs/traits/link-paste.yaml +28 -0
- package/dist/docs/traits/linked-scroll.yaml +37 -0
- package/dist/docs/traits/list-navigate.yaml +46 -0
- package/dist/docs/traits/magnet.yaml +33 -0
- package/dist/docs/traits/mention.yaml +40 -0
- package/dist/docs/traits/modal.yaml +28 -0
- package/dist/docs/traits/noodle.yaml +45 -0
- package/dist/docs/traits/overlay.yaml +58 -0
- package/dist/docs/traits/pan-zoom.yaml +47 -0
- package/dist/docs/traits/parallax.yaml +36 -0
- package/dist/docs/traits/persist.yaml +42 -0
- package/dist/docs/traits/popover.yaml +28 -0
- package/dist/docs/traits/present.yaml +42 -0
- package/dist/docs/traits/press-hold.yaml +34 -0
- package/dist/docs/traits/range-select.yaml +42 -0
- package/dist/docs/traits/resize.yaml +39 -0
- package/dist/docs/traits/ripple.yaml +20 -0
- package/dist/docs/traits/roving-focus.yaml +30 -0
- package/dist/docs/traits/search.yaml +44 -0
- package/dist/docs/traits/selection.yaml +41 -0
- package/dist/docs/traits/shortcut.yaml +25 -0
- package/dist/docs/traits/slash-command.yaml +40 -0
- package/dist/docs/traits/snap-resize.yaml +39 -0
- package/dist/docs/traits/sort.yaml +47 -0
- package/dist/docs/traits/store.yaml +32 -0
- package/dist/docs/traits/swipe.yaml +38 -0
- package/dist/docs/traits/text-trigger.yaml +35 -0
- package/dist/docs/traits/toast.yaml +41 -0
- package/dist/docs/traits/toggle-scheme.yaml +40 -0
- package/dist/docs/traits/toggle-state.yaml +23 -0
- package/dist/docs/traits/tooltip.yaml +39 -0
- package/dist/docs/traits/toss.yaml +40 -0
- package/dist/docs/traits/trap-focus.yaml +20 -0
- package/dist/docs/traits/validate.yaml +52 -0
- package/dist/docs/traits/virtual-scroll.yaml +44 -0
- package/package.json +4 -2
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
name: login-two-column
|
|
2
|
+
type: block
|
|
3
|
+
summary: Two-column login with form on the left and image placeholder on the right.
|
|
4
|
+
description: >
|
|
5
|
+
A split-screen authentication layout pairing a fully featured login
|
|
6
|
+
form with a visual panel. The left column holds email and password
|
|
7
|
+
fields plus a row of social provider buttons, while the right column
|
|
8
|
+
serves as an image or brand illustration placeholder. Works well for
|
|
9
|
+
marketing-oriented sign-in pages where you want to reinforce brand
|
|
10
|
+
identity alongside the auth flow.
|
|
11
|
+
|
|
12
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-field, aui-input, aui-button, aui-divider]
|
|
13
|
+
kind: panel
|
|
14
|
+
|
|
15
|
+
examples:
|
|
16
|
+
- html: |
|
|
17
|
+
<aui-container padding="4" gap="0" transparent>
|
|
18
|
+
<aui-stack direction="row" gap="8" style="min-width: 44rem; min-height: 32rem">
|
|
19
|
+
<!-- Left: form -->
|
|
20
|
+
<aui-container kind="panel" elevation="2" gap="0" spacer>
|
|
21
|
+
<aui-header>
|
|
22
|
+
<span slot="content">
|
|
23
|
+
<aui-stack gap="1" align-items="center" text="center">
|
|
24
|
+
<aui-heading size="xl">Welcome back</aui-heading>
|
|
25
|
+
<aui-text muted size="sm">Login to your Acme Inc account</aui-text>
|
|
26
|
+
</aui-stack>
|
|
27
|
+
</span>
|
|
28
|
+
</aui-header>
|
|
29
|
+
<aui-content>
|
|
30
|
+
<aui-inset>
|
|
31
|
+
<aui-stack gap="6">
|
|
32
|
+
<aui-field label="Email" width="full">
|
|
33
|
+
<aui-input type="email" placeholder="m@example.com" width="full"></aui-input>
|
|
34
|
+
</aui-field>
|
|
35
|
+
|
|
36
|
+
<aui-field label="Password" width="full">
|
|
37
|
+
<aui-input type="password" placeholder="Enter your password" width="full"></aui-input>
|
|
38
|
+
<aui-text muted size="xs" slot="trailing" text="right"><a href="#">Forgot your password?</a></aui-text>
|
|
39
|
+
</aui-field>
|
|
40
|
+
|
|
41
|
+
<aui-button primary accent width="full">Login</aui-button>
|
|
42
|
+
|
|
43
|
+
<!-- Divider -->
|
|
44
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
45
|
+
<aui-divider spacer></aui-divider>
|
|
46
|
+
<aui-text muted size="sm">Or continue with</aui-text>
|
|
47
|
+
<aui-divider spacer></aui-divider>
|
|
48
|
+
</aui-stack>
|
|
49
|
+
|
|
50
|
+
<!-- Social row -->
|
|
51
|
+
<aui-stack direction="row" gap="2">
|
|
52
|
+
<aui-button scrim grow="1">Apple</aui-button>
|
|
53
|
+
<aui-button scrim grow="1">Google</aui-button>
|
|
54
|
+
<aui-button scrim grow="1">Meta</aui-button>
|
|
55
|
+
</aui-stack>
|
|
56
|
+
|
|
57
|
+
<!-- Terms -->
|
|
58
|
+
<aui-text muted size="xs" align-items="center" text="center">By clicking continue, you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</aui-text>
|
|
59
|
+
</aui-stack>
|
|
60
|
+
</aui-inset>
|
|
61
|
+
</aui-content>
|
|
62
|
+
<aui-footer>
|
|
63
|
+
<span slot="content"><aui-text muted size="sm">Don't have an account? <a href="#">Sign up</a></aui-text></span>
|
|
64
|
+
</aui-footer>
|
|
65
|
+
</aui-container>
|
|
66
|
+
|
|
67
|
+
<!-- Right: image placeholder -->
|
|
68
|
+
<aui-container elevation="3" spacer justify-content="center" transparent>
|
|
69
|
+
<aui-inset>
|
|
70
|
+
<aui-stack gap="1" align-items="center" text="center">
|
|
71
|
+
<aui-icon name="image" size="xl" muted></aui-icon>
|
|
72
|
+
<aui-text muted size="sm">Brand illustration</aui-text>
|
|
73
|
+
</aui-stack>
|
|
74
|
+
</aui-inset>
|
|
75
|
+
</aui-container>
|
|
76
|
+
</aui-stack>
|
|
77
|
+
</aui-container>
|
|
78
|
+
description: Two-column login with email, password, and social buttons on the left and an image placeholder on the right.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
name: marketing-automation
|
|
2
|
+
type: block
|
|
3
|
+
summary: Marketing Automation Engine — 16 nodes, 19 connections.
|
|
4
|
+
description: >
|
|
5
|
+
Visual graph block rendered from the Marketing Automation Engine dataset using
|
|
6
|
+
aui-graph components with port-selector noodle connections.
|
|
7
|
+
components: [aui-container, aui-text, aui-graph-ui, aui-graph-layer, aui-graph-node, aui-graph-noodle, aui-graph-port]
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: member-list
|
|
2
|
+
type: block
|
|
3
|
+
summary: Panel with header and avatar-based member rows.
|
|
4
|
+
description: >
|
|
5
|
+
A spacious panel listing team members. Header has an icon, title,
|
|
6
|
+
subtitle, and a primary action button. Each member row shows an
|
|
7
|
+
avatar, name, metadata, and a role badge.
|
|
8
|
+
|
|
9
|
+
components: [aui-container, aui-header, aui-content, aui-inset, aui-stack, aui-heading, aui-text, aui-avatar, aui-icon, aui-badge, aui-button]
|
|
10
|
+
kind: panel
|
|
11
|
+
|
|
12
|
+
examples:
|
|
13
|
+
- html: |
|
|
14
|
+
<aui-container kind="panel" bordered max-width="xl">
|
|
15
|
+
<aui-header>
|
|
16
|
+
<span slot="leading">
|
|
17
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
18
|
+
<aui-avatar size="lg" square><aui-icon name="user"></aui-icon></aui-avatar>
|
|
19
|
+
<aui-stack gap="1">
|
|
20
|
+
<aui-heading size="xl">Team Members</aui-heading>
|
|
21
|
+
<aui-text muted size="sm">Manage who has access to this project.</aui-text>
|
|
22
|
+
</aui-stack>
|
|
23
|
+
</aui-stack>
|
|
24
|
+
</span>
|
|
25
|
+
<span slot="trailing"><aui-button primary accent>Invite</aui-button></span>
|
|
26
|
+
</aui-header>
|
|
27
|
+
<aui-content>
|
|
28
|
+
<aui-inset>
|
|
29
|
+
<aui-stack gap="4">
|
|
30
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
31
|
+
<aui-avatar>AJ</aui-avatar>
|
|
32
|
+
<aui-stack gap="1" spacer>
|
|
33
|
+
<aui-heading size="md">Alice Johnson</aui-heading>
|
|
34
|
+
<aui-text muted size="sm">alice@acme.com · Engineer</aui-text>
|
|
35
|
+
</aui-stack>
|
|
36
|
+
<aui-badge>Admin</aui-badge>
|
|
37
|
+
</aui-stack>
|
|
38
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
39
|
+
<aui-avatar>BK</aui-avatar>
|
|
40
|
+
<aui-stack gap="1" spacer>
|
|
41
|
+
<aui-heading size="md">Bob Kim</aui-heading>
|
|
42
|
+
<aui-text muted size="sm">bob@acme.com · Designer</aui-text>
|
|
43
|
+
</aui-stack>
|
|
44
|
+
<aui-badge>Member</aui-badge>
|
|
45
|
+
</aui-stack>
|
|
46
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
47
|
+
<aui-avatar>CL</aui-avatar>
|
|
48
|
+
<aui-stack gap="1" spacer>
|
|
49
|
+
<aui-heading size="md">Carol Lee</aui-heading>
|
|
50
|
+
<aui-text muted size="sm">carol@acme.com · Product Manager</aui-text>
|
|
51
|
+
</aui-stack>
|
|
52
|
+
<aui-badge>Member</aui-badge>
|
|
53
|
+
</aui-stack>
|
|
54
|
+
</aui-stack>
|
|
55
|
+
</aui-inset>
|
|
56
|
+
</aui-content>
|
|
57
|
+
</aui-container>
|
|
58
|
+
description: Team member list with avatars, roles, and an invite action.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
name: ml-pipeline
|
|
2
|
+
type: block
|
|
3
|
+
summary: ML Training Pipeline — 12 nodes, 14 connections.
|
|
4
|
+
description: >
|
|
5
|
+
Visual graph block rendered from the ML Training Pipeline dataset using
|
|
6
|
+
aui-graph components with port-selector noodle connections.
|
|
7
|
+
components: [aui-container, aui-text, aui-graph-ui, aui-graph-layer, aui-graph-node, aui-graph-noodle, aui-graph-port]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: nav-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Compact clickable card for navigation menus.
|
|
4
|
+
description: >
|
|
5
|
+
A widget-sized interactive card that navigates on click.
|
|
6
|
+
Shows an icon in a square avatar, a title, a description,
|
|
7
|
+
and a trailing chevron. Uses interactive and href for
|
|
8
|
+
click-to-navigate behavior.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-inset, aui-stack, aui-heading, aui-text, aui-avatar, aui-icon]
|
|
11
|
+
kind: widget
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="widget" bordered interactive href="#" max-width="sm">
|
|
16
|
+
<aui-inset>
|
|
17
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
18
|
+
<aui-avatar square><aui-icon name="gear"></aui-icon></aui-avatar>
|
|
19
|
+
<aui-stack gap="1" spacer>
|
|
20
|
+
<aui-heading size="md" weight="medium">Preferences</aui-heading>
|
|
21
|
+
<aui-text muted size="sm">Language, theme, and notifications</aui-text>
|
|
22
|
+
</aui-stack>
|
|
23
|
+
<aui-icon name="caret-right" muted></aui-icon>
|
|
24
|
+
</aui-stack>
|
|
25
|
+
</aui-inset>
|
|
26
|
+
</aui-container>
|
|
27
|
+
description: Clickable settings navigation card with icon and chevron.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: notification-list
|
|
2
|
+
type: block
|
|
3
|
+
summary: Panel listing recent notifications with avatars and timestamps.
|
|
4
|
+
description: >
|
|
5
|
+
A panel-style container for displaying a chronological list of
|
|
6
|
+
notifications. The header includes a title and a bulk action to
|
|
7
|
+
mark all items as read. Each notification row shows an avatar,
|
|
8
|
+
a title, a message excerpt, and a relative timestamp. Suitable
|
|
9
|
+
for notification drawers, activity feeds, or inbox-style sidebars.
|
|
10
|
+
|
|
11
|
+
components: [aui-container, aui-header, aui-content, aui-inset, aui-stack, aui-heading, aui-text, aui-avatar, aui-button]
|
|
12
|
+
kind: panel
|
|
13
|
+
|
|
14
|
+
examples:
|
|
15
|
+
- html: |
|
|
16
|
+
<aui-container kind="panel" bordered max-width="lg">
|
|
17
|
+
<aui-header>
|
|
18
|
+
<span slot="leading"><aui-heading size="xl">Notifications</aui-heading></span>
|
|
19
|
+
<span slot="trailing"><aui-button scrim>Mark all read</aui-button></span>
|
|
20
|
+
</aui-header>
|
|
21
|
+
<aui-content>
|
|
22
|
+
<aui-inset>
|
|
23
|
+
<aui-stack gap="4">
|
|
24
|
+
<aui-stack direction="row" gap="2">
|
|
25
|
+
<aui-avatar>AJ</aui-avatar>
|
|
26
|
+
<aui-stack gap="1" spacer>
|
|
27
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
28
|
+
<aui-heading size="md" spacer>Pull request comment</aui-heading>
|
|
29
|
+
<aui-text muted size="xs">2 min ago</aui-text>
|
|
30
|
+
</aui-stack>
|
|
31
|
+
<aui-text muted size="sm">Alice Johnson commented on your pull request</aui-text>
|
|
32
|
+
</aui-stack>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
<aui-stack direction="row" gap="2">
|
|
35
|
+
<aui-avatar>CI</aui-avatar>
|
|
36
|
+
<aui-stack gap="1" spacer>
|
|
37
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
38
|
+
<aui-heading size="md" spacer>Build completed</aui-heading>
|
|
39
|
+
<aui-text muted size="xs">15 min ago</aui-text>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
<aui-text muted size="sm">Build #1234 completed successfully</aui-text>
|
|
42
|
+
</aui-stack>
|
|
43
|
+
</aui-stack>
|
|
44
|
+
<aui-stack direction="row" gap="2">
|
|
45
|
+
<aui-avatar>DT</aui-avatar>
|
|
46
|
+
<aui-stack gap="1" spacer>
|
|
47
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
48
|
+
<aui-heading size="md" spacer>Team invitation</aui-heading>
|
|
49
|
+
<aui-text muted size="xs">1 hour ago</aui-text>
|
|
50
|
+
</aui-stack>
|
|
51
|
+
<aui-text muted size="sm">You were added to the Design team</aui-text>
|
|
52
|
+
</aui-stack>
|
|
53
|
+
</aui-stack>
|
|
54
|
+
</aui-stack>
|
|
55
|
+
</aui-inset>
|
|
56
|
+
</aui-content>
|
|
57
|
+
</aui-container>
|
|
58
|
+
description: Notification list with three items showing comments, builds, and team activity.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
name: oncology-pathway
|
|
2
|
+
type: block
|
|
3
|
+
summary: Oncology Care Pathway — 17 nodes, 21 connections.
|
|
4
|
+
description: >
|
|
5
|
+
Visual graph block rendered from the Oncology Care Pathway dataset using
|
|
6
|
+
aui-graph components with port-selector noodle connections.
|
|
7
|
+
components: [aui-container, aui-text, aui-graph-ui, aui-graph-layer, aui-graph-node, aui-graph-noodle, aui-graph-port]
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: pricing-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: Pricing tier card with features list and call-to-action.
|
|
4
|
+
description: >
|
|
5
|
+
A single pricing tier presented as a bordered card. Header shows the
|
|
6
|
+
plan name alongside a highlight badge, followed by a prominent price
|
|
7
|
+
and billing period. The content area lists included features with
|
|
8
|
+
check icons, and the footer holds a sign-up button. Ideal for
|
|
9
|
+
pricing pages where each tier sits side-by-side in a row.
|
|
10
|
+
|
|
11
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-badge, aui-button]
|
|
12
|
+
kind: card
|
|
13
|
+
|
|
14
|
+
examples:
|
|
15
|
+
- html: |
|
|
16
|
+
<aui-container kind="card" bordered max-width="sm">
|
|
17
|
+
<aui-header>
|
|
18
|
+
<span slot="leading"><aui-heading size="lg">Pro</aui-heading></span>
|
|
19
|
+
<span slot="trailing"><aui-badge accent>Popular</aui-badge></span>
|
|
20
|
+
</aui-header>
|
|
21
|
+
<aui-content>
|
|
22
|
+
<aui-inset>
|
|
23
|
+
<aui-stack gap="4">
|
|
24
|
+
<aui-stack gap="1">
|
|
25
|
+
<aui-heading size="2xl" style="font-size: 3rem; letter-spacing: -0.04em; line-height: 1;">$29</aui-heading>
|
|
26
|
+
<aui-text muted size="sm">/month, billed annually</aui-text>
|
|
27
|
+
</aui-stack>
|
|
28
|
+
<aui-stack gap="3">
|
|
29
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
30
|
+
<aui-icon name="check" size="sm"></aui-icon>
|
|
31
|
+
<aui-text size="md">Unlimited projects</aui-text>
|
|
32
|
+
</aui-stack>
|
|
33
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
34
|
+
<aui-icon name="check" size="sm"></aui-icon>
|
|
35
|
+
<aui-text size="md">Priority support</aui-text>
|
|
36
|
+
</aui-stack>
|
|
37
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
38
|
+
<aui-icon name="check" size="sm"></aui-icon>
|
|
39
|
+
<aui-text size="md">Custom integrations</aui-text>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
42
|
+
<aui-icon name="check" size="sm"></aui-icon>
|
|
43
|
+
<aui-text size="md">Advanced analytics</aui-text>
|
|
44
|
+
</aui-stack>
|
|
45
|
+
</aui-stack>
|
|
46
|
+
</aui-stack>
|
|
47
|
+
</aui-inset>
|
|
48
|
+
</aui-content>
|
|
49
|
+
<aui-footer>
|
|
50
|
+
<aui-button primary width="full">Get started</aui-button>
|
|
51
|
+
</aui-footer>
|
|
52
|
+
</aui-container>
|
|
53
|
+
description: Pro pricing tier card with feature list and sign-up action.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: processing-state
|
|
2
|
+
type: block
|
|
3
|
+
summary: Loading state with status icon, message, and cancel action.
|
|
4
|
+
description: >
|
|
5
|
+
A waiting state shown while an operation is in progress. The icon
|
|
6
|
+
serves as the visual anchor, the heading names what's happening,
|
|
7
|
+
the description sets expectations, and the cancel button provides
|
|
8
|
+
an escape hatch. Keep the message honest and specific.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-inset, aui-stack, aui-heading, aui-text, aui-avatar, aui-icon, aui-button]
|
|
11
|
+
kind: card
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="card" bordered shadow="1" max-width="md">
|
|
16
|
+
<aui-inset>
|
|
17
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
18
|
+
<aui-avatar size="xl" square><aui-icon name="gear"></aui-icon></aui-avatar>
|
|
19
|
+
<aui-heading size="xl">Processing your payment</aui-heading>
|
|
20
|
+
<aui-text muted size="sm">This usually takes a few seconds. You'll be redirected to your dashboard when it's done.</aui-text>
|
|
21
|
+
<aui-button scrim>Cancel transaction</aui-button>
|
|
22
|
+
</aui-stack>
|
|
23
|
+
</aui-inset>
|
|
24
|
+
</aui-container>
|
|
25
|
+
description: Processing state with contained icon, specific heading, reassuring description, and labeled cancel action.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
name: profile-card
|
|
2
|
+
type: block
|
|
3
|
+
summary: User profile card with avatar, bio, stats, and actions.
|
|
4
|
+
description: >
|
|
5
|
+
A card displaying a user's profile information at a glance. Centered
|
|
6
|
+
layout with a large avatar, name, role, short bio, and a row of key
|
|
7
|
+
stats. Footer provides edit and messaging actions. Useful for team
|
|
8
|
+
directories, account pages, or social-style dashboards where you need
|
|
9
|
+
to present identity alongside engagement metrics.
|
|
10
|
+
|
|
11
|
+
components: [aui-container, aui-inset, aui-header, aui-content, aui-footer, aui-stack, aui-heading, aui-text, aui-avatar, aui-button]
|
|
12
|
+
kind: card
|
|
13
|
+
|
|
14
|
+
examples:
|
|
15
|
+
- html: |
|
|
16
|
+
<aui-container kind="card" bordered max-width="md">
|
|
17
|
+
<aui-content>
|
|
18
|
+
<aui-inset>
|
|
19
|
+
<aui-stack gap="4" align-items="center" text="center">
|
|
20
|
+
<aui-avatar size="lg">SR</aui-avatar>
|
|
21
|
+
<aui-stack gap="1" align-items="center">
|
|
22
|
+
<aui-heading size="xl">Sofia Rodriguez</aui-heading>
|
|
23
|
+
<aui-text muted size="sm">Senior Product Designer</aui-text>
|
|
24
|
+
</aui-stack>
|
|
25
|
+
<aui-text muted size="sm">Designing thoughtful experiences that bridge user needs and business goals. Previously at Figma and Stripe.</aui-text>
|
|
26
|
+
<aui-stack direction="row" gap="4">
|
|
27
|
+
<aui-stack gap="1" align-items="center">
|
|
28
|
+
<aui-heading size="lg">12</aui-heading>
|
|
29
|
+
<aui-text muted size="sm">Projects</aui-text>
|
|
30
|
+
</aui-stack>
|
|
31
|
+
<aui-stack gap="1" align-items="center">
|
|
32
|
+
<aui-heading size="lg">1.2k</aui-heading>
|
|
33
|
+
<aui-text muted size="sm">Followers</aui-text>
|
|
34
|
+
</aui-stack>
|
|
35
|
+
<aui-stack gap="1" align-items="center">
|
|
36
|
+
<aui-heading size="lg">340</aui-heading>
|
|
37
|
+
<aui-text muted size="sm">Following</aui-text>
|
|
38
|
+
</aui-stack>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
<aui-stack direction="row" gap="2">
|
|
41
|
+
<aui-button scrim spacer>Edit profile</aui-button>
|
|
42
|
+
<aui-button primary accent spacer>Message</aui-button>
|
|
43
|
+
</aui-stack>
|
|
44
|
+
</aui-stack>
|
|
45
|
+
</aui-inset>
|
|
46
|
+
</aui-content>
|
|
47
|
+
</aui-container>
|
|
48
|
+
description: User profile card with avatar, bio, stats, and contact actions.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
name: saas-onboarding
|
|
2
|
+
type: block
|
|
3
|
+
summary: Enterprise SaaS Onboarding — 17 nodes, 19 connections.
|
|
4
|
+
description: >
|
|
5
|
+
Visual graph block rendered from the Enterprise SaaS Onboarding dataset using
|
|
6
|
+
aui-graph components with port-selector noodle connections.
|
|
7
|
+
components: [aui-container, aui-text, aui-graph-ui, aui-graph-layer, aui-graph-node, aui-graph-noodle, aui-graph-port]
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: settings-form
|
|
2
|
+
type: block
|
|
3
|
+
summary: Card with header, form fields, and action footer.
|
|
4
|
+
description: >
|
|
5
|
+
A structured settings form inside a bordered card container.
|
|
6
|
+
Header holds the title and description, content holds the fields,
|
|
7
|
+
footer holds cancel and save actions trailing-aligned.
|
|
8
|
+
|
|
9
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-field, aui-input, aui-textarea, aui-button]
|
|
10
|
+
kind: card
|
|
11
|
+
|
|
12
|
+
examples:
|
|
13
|
+
- html: |
|
|
14
|
+
<aui-container kind="card" bordered max-width="prose">
|
|
15
|
+
<aui-header>
|
|
16
|
+
<span slot="leading">
|
|
17
|
+
<aui-stack gap="1">
|
|
18
|
+
<aui-heading size="lg">Project Settings</aui-heading>
|
|
19
|
+
<aui-text muted size="sm">Make changes to your project here. Click save when you're done.</aui-text>
|
|
20
|
+
</aui-stack>
|
|
21
|
+
</span>
|
|
22
|
+
</aui-header>
|
|
23
|
+
<aui-content>
|
|
24
|
+
<aui-inset>
|
|
25
|
+
<aui-stack gap="4">
|
|
26
|
+
<aui-field label="Name" width="full">
|
|
27
|
+
<aui-input placeholder="Acme Dashboard"></aui-input>
|
|
28
|
+
</aui-field>
|
|
29
|
+
<aui-field label="Description" description="This will be visible to all team members." width="full">
|
|
30
|
+
<aui-textarea placeholder="A real-time analytics dashboard for the Acme team."></aui-textarea>
|
|
31
|
+
</aui-field>
|
|
32
|
+
</aui-stack>
|
|
33
|
+
</aui-inset>
|
|
34
|
+
</aui-content>
|
|
35
|
+
<aui-footer>
|
|
36
|
+
<aui-stack direction="row" gap="2">
|
|
37
|
+
<aui-button primary grow="1">Save changes</aui-button>
|
|
38
|
+
<aui-button scrim grow="1">Cancel</aui-button>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
</aui-footer>
|
|
41
|
+
</aui-container>
|
|
42
|
+
description: Project settings form with name and description fields.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: settings-panel
|
|
2
|
+
type: block
|
|
3
|
+
summary: Settings card with toggles, descriptions, and grouped controls.
|
|
4
|
+
description: >
|
|
5
|
+
A settings panel showing configuration options with inline descriptions. Each
|
|
6
|
+
setting is a row with a label, description, and a trailing control (switch,
|
|
7
|
+
button, or badge). Commonly used for account preferences, notification
|
|
8
|
+
settings, or feature toggles.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-header, aui-content, aui-inset, aui-stack, aui-heading, aui-text, aui-switch, aui-button, aui-badge, aui-divider, aui-icon]
|
|
11
|
+
kind: card
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="card" bordered max-width="lg">
|
|
16
|
+
<aui-header>
|
|
17
|
+
<span slot="leading">
|
|
18
|
+
<aui-stack gap="1">
|
|
19
|
+
<aui-heading size="lg">Security Settings</aui-heading>
|
|
20
|
+
<aui-text muted size="sm">Manage your account security preferences.</aui-text>
|
|
21
|
+
</aui-stack>
|
|
22
|
+
</span>
|
|
23
|
+
</aui-header>
|
|
24
|
+
<aui-content>
|
|
25
|
+
<aui-inset>
|
|
26
|
+
<aui-stack gap="4">
|
|
27
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
28
|
+
<aui-stack gap="1" spacer>
|
|
29
|
+
<aui-heading size="md">Two-factor authentication</aui-heading>
|
|
30
|
+
<aui-text muted size="sm">Verify via email or phone number.</aui-text>
|
|
31
|
+
</aui-stack>
|
|
32
|
+
<aui-button primary size="sm">Enable</aui-button>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
<aui-divider></aui-divider>
|
|
35
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
36
|
+
<aui-stack gap="1" spacer>
|
|
37
|
+
<aui-heading size="md">Wallpaper tinting</aui-heading>
|
|
38
|
+
<aui-text muted size="sm">Allow the wallpaper to be tinted.</aui-text>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
<aui-switch></aui-switch>
|
|
41
|
+
</aui-stack>
|
|
42
|
+
<aui-divider></aui-divider>
|
|
43
|
+
<aui-stack direction="row" gap="3" align-items="center">
|
|
44
|
+
<aui-icon name="check" style="flex-shrink: 0;"></aui-icon>
|
|
45
|
+
<aui-stack gap="1" spacer>
|
|
46
|
+
<aui-heading size="md">Profile verified</aui-heading>
|
|
47
|
+
</aui-stack>
|
|
48
|
+
<aui-icon name="caret-right" muted></aui-icon>
|
|
49
|
+
</aui-stack>
|
|
50
|
+
</aui-stack>
|
|
51
|
+
</aui-inset>
|
|
52
|
+
</aui-content>
|
|
53
|
+
</aui-container>
|
|
54
|
+
description: Security settings panel with 2FA button, wallpaper tinting switch, and verified profile row.
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: sidebar-nav
|
|
2
|
+
type: block
|
|
3
|
+
summary: Compact app sidebar with icon navigation and user footer.
|
|
4
|
+
description: >
|
|
5
|
+
A fixed-width sidebar for app-level navigation. Uses card kind for
|
|
6
|
+
tighter padding than panel. Nav items are simple row stacks — the
|
|
7
|
+
active item uses the current attribute for visual distinction.
|
|
8
|
+
Footer shows the signed-in user with avatar and email. Designed
|
|
9
|
+
to sit at the left edge of a layout at 14-16rem width.
|
|
10
|
+
|
|
11
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-icon, aui-avatar, aui-divider]
|
|
12
|
+
kind: card
|
|
13
|
+
|
|
14
|
+
examples:
|
|
15
|
+
- html: |
|
|
16
|
+
<aui-container kind="card" bordered elevation="2" max-width="xs">
|
|
17
|
+
<aui-header>
|
|
18
|
+
<span slot="leading"><aui-avatar square size="sm"><img src="/icon.svg" alt="Acme Inc"></aui-avatar></span>
|
|
19
|
+
<span slot="content"><aui-heading size="md" weight="medium">Acme Inc</aui-heading></span>
|
|
20
|
+
</aui-header>
|
|
21
|
+
<aui-content>
|
|
22
|
+
<aui-inset>
|
|
23
|
+
<aui-stack gap="2">
|
|
24
|
+
<aui-stack direction="row" gap="2" align-items="center" current style="padding: 0.375rem 0.5rem; border-radius: var(--aui-radius); background: var(--aui-control);">
|
|
25
|
+
<aui-icon name="house" size="sm"></aui-icon>
|
|
26
|
+
<aui-text size="sm" weight="medium">Dashboard</aui-text>
|
|
27
|
+
</aui-stack>
|
|
28
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.375rem 0.5rem; border-radius: var(--aui-radius);">
|
|
29
|
+
<aui-icon name="star" size="sm" muted></aui-icon>
|
|
30
|
+
<aui-text size="sm" muted>Projects</aui-text>
|
|
31
|
+
</aui-stack>
|
|
32
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.375rem 0.5rem; border-radius: var(--aui-radius);">
|
|
33
|
+
<aui-icon name="user" size="sm" muted></aui-icon>
|
|
34
|
+
<aui-text size="sm" muted>Team</aui-text>
|
|
35
|
+
</aui-stack>
|
|
36
|
+
<aui-stack direction="row" gap="2" align-items="center" style="padding: 0.375rem 0.5rem; border-radius: var(--aui-radius);">
|
|
37
|
+
<aui-icon name="gear" size="sm" muted></aui-icon>
|
|
38
|
+
<aui-text size="sm" muted>Settings</aui-text>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
</aui-inset>
|
|
42
|
+
</aui-content>
|
|
43
|
+
<aui-footer>
|
|
44
|
+
<span slot="leading">
|
|
45
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
46
|
+
<aui-avatar size="sm">AJ</aui-avatar>
|
|
47
|
+
<aui-stack gap="0" spacer>
|
|
48
|
+
<aui-text size="sm" weight="medium">Alice Johnson</aui-text>
|
|
49
|
+
<aui-text muted size="xs">alice@acme.com</aui-text>
|
|
50
|
+
</aui-stack>
|
|
51
|
+
</aui-stack>
|
|
52
|
+
</span>
|
|
53
|
+
</aui-footer>
|
|
54
|
+
</aui-container>
|
|
55
|
+
description: App sidebar with active Dashboard item, three inactive links, and user footer.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: signup-form
|
|
2
|
+
type: block
|
|
3
|
+
summary: Signup card with name, email, password, and terms notice.
|
|
4
|
+
description: >
|
|
5
|
+
A registration card for new-user onboarding. Collects full name, email,
|
|
6
|
+
and password in a clean vertical stack with a terms-of-service notice
|
|
7
|
+
near the submit button. Pair with the login-form block to cover both
|
|
8
|
+
sides of the authentication flow.
|
|
9
|
+
|
|
10
|
+
components: [aui-container, aui-header, aui-content, aui-footer, aui-inset, aui-stack, aui-heading, aui-text, aui-field, aui-input, aui-button]
|
|
11
|
+
kind: panel
|
|
12
|
+
|
|
13
|
+
examples:
|
|
14
|
+
- html: |
|
|
15
|
+
<aui-container kind="panel" bordered max-width="md">
|
|
16
|
+
<aui-header>
|
|
17
|
+
<span slot="leading">
|
|
18
|
+
<aui-stack gap="1">
|
|
19
|
+
<aui-heading size="xl">Create your account</aui-heading>
|
|
20
|
+
<aui-text muted size="sm">Get started in less than a minute.</aui-text>
|
|
21
|
+
</aui-stack>
|
|
22
|
+
</span>
|
|
23
|
+
</aui-header>
|
|
24
|
+
<aui-content>
|
|
25
|
+
<aui-inset>
|
|
26
|
+
<aui-stack gap="6">
|
|
27
|
+
<aui-field label="Full name" width="full">
|
|
28
|
+
<aui-input placeholder="Jane Smith" width="full"></aui-input>
|
|
29
|
+
</aui-field>
|
|
30
|
+
<aui-field label="Email" width="full">
|
|
31
|
+
<aui-input type="email" placeholder="you@company.com" width="full"></aui-input>
|
|
32
|
+
</aui-field>
|
|
33
|
+
<aui-field label="Password" description="Must be at least 8 characters." width="full">
|
|
34
|
+
<aui-input type="password" placeholder="Choose a password" width="full"></aui-input>
|
|
35
|
+
</aui-field>
|
|
36
|
+
<aui-stack gap="2">
|
|
37
|
+
<aui-button primary accent width="full">Create account</aui-button>
|
|
38
|
+
<aui-text muted size="xs">By signing up you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</aui-text>
|
|
39
|
+
</aui-stack>
|
|
40
|
+
</aui-stack>
|
|
41
|
+
</aui-inset>
|
|
42
|
+
</aui-content>
|
|
43
|
+
<aui-footer>
|
|
44
|
+
<span slot="content"><aui-text muted size="sm">Already have an account? <a href="#">Sign in</a></aui-text></span>
|
|
45
|
+
</aui-footer>
|
|
46
|
+
</aui-container>
|
|
47
|
+
description: Signup card with name, email, and password fields plus terms notice.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
name: stat-cards
|
|
2
|
+
type: block
|
|
3
|
+
summary: Row of compact KPI stat widgets.
|
|
4
|
+
description: >
|
|
5
|
+
Dashboard-style stat cards in a horizontal row. Each widget shows
|
|
6
|
+
a muted label, a large numeric value, and a status badge. Uses
|
|
7
|
+
widget kind for compact padding.
|
|
8
|
+
|
|
9
|
+
components: [aui-container, aui-inset, aui-stack, aui-heading, aui-text, aui-badge]
|
|
10
|
+
kind: widget
|
|
11
|
+
|
|
12
|
+
examples:
|
|
13
|
+
- html: |
|
|
14
|
+
<aui-wrap gap="3">
|
|
15
|
+
<aui-container kind="widget" bordered spacer style="min-width: 12rem;">
|
|
16
|
+
<aui-inset>
|
|
17
|
+
<aui-stack gap="2">
|
|
18
|
+
<aui-text muted size="sm">Active Users</aui-text>
|
|
19
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
20
|
+
<aui-heading size="2xl" spacer>12</aui-heading>
|
|
21
|
+
<aui-badge accent>+3 today</aui-badge>
|
|
22
|
+
</aui-stack>
|
|
23
|
+
</aui-stack>
|
|
24
|
+
</aui-inset>
|
|
25
|
+
</aui-container>
|
|
26
|
+
<aui-container kind="widget" bordered spacer style="min-width: 12rem;">
|
|
27
|
+
<aui-inset>
|
|
28
|
+
<aui-stack gap="2">
|
|
29
|
+
<aui-text muted size="sm">Uptime</aui-text>
|
|
30
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
31
|
+
<aui-heading size="2xl" spacer>99.9%</aui-heading>
|
|
32
|
+
<aui-badge success>All systems operational</aui-badge>
|
|
33
|
+
</aui-stack>
|
|
34
|
+
</aui-stack>
|
|
35
|
+
</aui-inset>
|
|
36
|
+
</aui-container>
|
|
37
|
+
<aui-container kind="widget" bordered spacer style="min-width: 12rem;">
|
|
38
|
+
<aui-inset>
|
|
39
|
+
<aui-stack gap="2">
|
|
40
|
+
<aui-text muted size="sm">Open Issues</aui-text>
|
|
41
|
+
<aui-stack direction="row" gap="2" align-items="center">
|
|
42
|
+
<aui-heading size="2xl" spacer>3</aui-heading>
|
|
43
|
+
<aui-badge warning>Needs review</aui-badge>
|
|
44
|
+
</aui-stack>
|
|
45
|
+
</aui-stack>
|
|
46
|
+
</aui-inset>
|
|
47
|
+
</aui-container>
|
|
48
|
+
</aui-wrap>
|
|
49
|
+
description: Three KPI stat cards showing active users, uptime, and open issues.
|