Star
Favourite. Off is the outline in text/quaternary, on is the filled star in icon/star. The fill changes instantly; only the press moves, scaling to 0.9.
Sizes
14 on rows, 16 in toolbars, 20 elsewhere.
Usage
import { Star } from "@kuori/ui/star";<Star starred={starred} onStarredChange={setStarred} size={14} />Star
PropTypeDescription
starredRequiredbooleanWhether the email is a favourite
onStarredChange(starred: boolean) => voidCalled with the next value
size14162014 on rows, 16 in toolbarsDefault:
16classNamestringAdditional CSS classes