WhatTheStar · /design
primitives field

    Field

    Text/search input with optional left icon, kbd hint, label, helper. Shrinks padding via container query when its parent is narrow.

    +K

    Used for personalized session notes

    ↓ Same Field, narrow container — padding compacts via container query

    — iconWeight

    The glyph defaults to regular, which is right when it names the action — a magnifier means "search". Pass iconWeight="duotone" when it names the kind of thing the field holds instead, so the input carries the same identity mark the results will.