ComparisonColumn
ComparisonColumnOne alternative One self-contained option in a comparison, with independent emphasis and freely composed details.
Landing & pricingA highlighted option
ComparisonColumn gives each option a clear introduction, readable details, and room for a next step. Use the actions slot to keep links aligned at the bottom when neighboring columns contain different amounts of content.
Small pieces. A coherent whole.
Build your interface from focused components that already speak the same design language.
- Readable source you can make your own
- Shared theme tokens across every screen
- Room for your own content and interactions
Introduce the option, explain its strengths, and give the reader a next step.
<ComparisonColumn
title="Small pieces. A coherent whole."
summary="Build your interface from focused components that already speak the same design language."
badge="Made to compose"
icon="lucide:layers"
tone="accent"
>
<ul class="m-0 p-0 list-none">
<ComparisonFeature tone="accent"
>Readable source you can make your own</ComparisonFeature>
<ComparisonFeature tone="accent"
>Shared theme tokens across every screen</ComparisonFeature>
<ComparisonFeature tone="accent"
>Room for your own content and interactions</ComparisonFeature>
</ul>
<template #actions>
<BtnLink
class="max-w-full ws-normal"
href="/components/landing/feature-card/"
tone="accent"
icon="lucide:arrow-right"
iconPosition="end"
>Explore card composition</BtnLink>
</template>
</ComparisonColumn> A quiet alternative
Use outline or neutral treatments when both options should have equal emphasis.
Plain content
A good fit for a short explanation.
Choose the simplest structure that communicates the information.
<ComparisonColumn
title="Plain content"
summary="A good fit for a short explanation."
variant="surface"
>
<p class="mb-0">Choose the simplest structure that communicates the information.</p>
</ComparisonColumn> All ten semantic tones
The same composition in every semantic tone. Child tones are explicit where the composition owns them, including navigation actions.
neutral Shared system
One coherent toolkit.
- Reusable patterns
accent Shared system
One coherent toolkit.
- Reusable patterns
feature Shared system
One coherent toolkit.
- Reusable patterns
secondary Shared system
One coherent toolkit.
- Reusable patterns
custom Shared system
One coherent toolkit.
- Reusable patterns
ghost Shared system
One coherent toolkit.
- Reusable patterns
info Shared system
One coherent toolkit.
- Reusable patterns
success Shared system
One coherent toolkit.
- Reusable patterns
warning Shared system
One coherent toolkit.
- Reusable patterns
danger Shared system
One coherent toolkit.
- Reusable patterns
Switch the site theme to compare the same samples in both palettes.
All eighteen visual variants
Every supported variant is shown in accent, including none. Variant controls the outer treatment; nested content may use its own treatment.
solid surface Shared system
One coherent toolkit.
- Reusable patterns
surfaceAlt Shared system
One coherent toolkit.
- Reusable patterns
spotlight Shared system
One coherent toolkit.
- Reusable patterns
glass Shared system
One coherent toolkit.
- Reusable patterns
flat Shared system
One coherent toolkit.
- Reusable patterns
flatAlt Shared system
One coherent toolkit.
- Reusable patterns
flatSolid outlineFill outline Shared system
One coherent toolkit.
- Reusable patterns
subtle Shared system
One coherent toolkit.
- Reusable patterns
subtleBtn Shared system
One coherent toolkit.
- Reusable patterns
link Shared system
One coherent toolkit.
- Reusable patterns
sheen underline Shared system
One coherent toolkit.
- Reusable patterns
rail bracket Shared system
One coherent toolkit.
- Reusable patterns
none Shared system
One coherent toolkit.
- Reusable patterns
Switch the site theme to compare the same samples in both palettes.
Decoration and rich detail
QuietStart small
A few reusable patterns.
- Basic composition
Icon onlyReviewed
Extra supporting text belongs in the default slot.
Badge onlyTeam workflow
- Shared workspace
A title, summary, badge, and icon are independently optional. Compose feature lists in the default slot.
Feature map
| Public feature | Visible example |
|---|---|
| tone, variant | Complete galleries above, with all supported values visible together. |
| title, summary | Quiet uses a title and summary without decoration. |
| icon, badge | Icon-only and badge-only samples sit beside the fully decorated tone gallery. |
| Default slot | Compose native feature lists or rich supporting paragraphs below the summary. |
| actions slot | Place links or buttons here to keep the next step at the bottom of the column. |
| Native attributes and events | Pass attributes through the root; keyboard behavior belongs to the composed native controls. |
This component exposes tone and variant, but no variantMode. Style individual child components explicitly when their appearance should match.
Behavior and accessibility
Titles render as h3. A comparison column can contain links but is not itself clickable. Keep feature order consistent across sibling columns.
API reference
ComparisonColumn contract
Props below are the public template API. RefOrValue accepts a literal or a reactive ref; bind refs with a colon-prefixed attribute. Native attributes and events can be passed through the component root.
title
RefOrValue<string> - Default
not set
Visible heading. Choose a short title that identifies the content or task.
summary
RefOrValue<string> - Default
not set
A concise explanation beneath the heading.
badge
RefOrValue<string> - Default
not set
Optional compact label rendered with Badge.
icon
RefOrValue<string> - Default
not set
Registered SVG icon name. In browser apps, include the icon in the resolver passed to defineIconComponents.
tone
RefOrValue<SemanticTone> - Default
inherited
Semantic intent: neutral, accent, secondary, info, success, warning, danger, feature, custom or ghost. The active skin supplies the colors.
variant
RefOrValue<ComponentVariant> - Default
surface
Visual treatment. Accepts solid, surface, surfaceAlt, spotlight, glass, flat, flatAlt, flatSolid, outlineFill, outline, subtle, subtleBtn, link, sheen, underline, rail, bracket or none.
Composition
Default slot: details and feature lists. actions slot: links or buttons below the details. Register defineComparisonColumnComponent with Panel, Flex, Badge and IconFrame dependencies.