Site color

Choose your site’s color palette.

Saved on this device.

ComparisonFeature

ComparisonFeatureComparison detail

A list item with a compact icon, designed for clear and consistent comparison details.

Landing & pricing

A readable feature list

Every feature is an li, so place it inside a list.

Details worth comparingCOMPOSITION
  • Built for the keyboard

    Native controls keep everyday interactions familiar.

  • Connected to your application

    Add your own email integration when the experience needs it.

  • Shared components, with room for details that make the experience yours.

Icons align with the first line while longer explanations flow naturally beside them.

<Panel tone="neutral" variant="surface" class="p-5">
  <ul class="m-0 p-0 list-none">
    <ComparisonFeature tone="success">
      <div>
        <strong>Built for the keyboard</strong>
        <p class="m-0 opacity-75">
          Native controls keep everyday interactions familiar.
        </p>
      </div>
    </ComparisonFeature>
    <ComparisonFeature tone="info" icon="lucide:mail">
      <div>
        <strong>Connected to your application</strong>
        <p class="m-0 opacity-75">
          Add your own email integration when the experience needs it.
        </p>
      </div>
    </ComparisonFeature>
    <ComparisonFeature>
      Shared components, with room for details that make the experience yours.
    </ComparisonFeature>
  </ul>
</Panel>

Rich supporting detail

The slot can contain more than a short string.

  • Own the source

    Every example includes the markup and TypeScript that powers it.

<ul class="pl-0">
  <ComparisonFeature>
    <div>
      <strong>Own the source</strong>
      <p class="mb-0">
        Every example includes the markup and TypeScript that powers it.
      </p>
    </div>
  </ComparisonFeature>
</ul>

All ten semantic tones

Every tone is visible on the icon frame. The row text keeps the surrounding text color.

All ten semantic tonesCOMPOSITION

Switch the site theme to compare the same samples in both palettes.

Defaults, custom icons, and rich text

Explain the difference clearlyCOMPOSITION
Default check
  • Shared themes
Custom icon
  • Reviewed patterns
Rich detail

ComparisonFeature creates an li. Keep it inside ul or ol; tone colors its icon rather than the entire row.

Feature map

Public feature Visible example
tone Complete galleries above, with all supported values visible together.
icon Compare the default lucide:check and an explicit iconoir:check.
Default slot Rich detail combines a strong label, supporting text, and a real guide link. Keep the li inside a list.
Native attributes and events Pass attributes through the root; keyboard behavior belongs to the composed native controls.

This component exposes tone but no variant or variantMode. Its icon uses a fixed surface treatment.

Behavior and accessibility

Use explicit text for included, limited or unavailable features. An icon color alone does not communicate availability to every reader.

API reference

ComparisonFeature 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.

icon

RefOrValue<string>
Default
lucide:check

Registered icon name. The default check is decorative support for the feature text.

tone

RefOrValue<SemanticTone>
Default
inherited

Semantic intent: neutral, accent, secondary, info, success, warning, danger, feature, custom or ghost. The active skin supplies the colors.

Composition

Default slot: feature text or flow content. Root element is li. Register defineComparisonFeatureComponent with Flex and IconFrame dependencies.