Files

596 B

Favorites

Use the registered star icon in an IconButton with aria-pressed. The unset state is outline-only; the selected glyph uses fill="currentColor". Keep the same hit target in both states. Place a card favorite action in its upper trailing corner, independent of opening the card. Persist the domain value at its owner; filtering favorites must not change it.

For a star without a surrounding disc, use IconButton surface="none". The shared component owns the transparent surface and foreground; applications only position it. Keyboard focus and the hit target remain unchanged.