Enode — API Reference
    Preparing search index...
    • The provenance badge, in three shapes driven entirely by the data:

      • icon-only — no author and labelled off. The list-row default: a bare 14px glyph that cannot change a row's height. This is also what an author name the backend did not send degrades to.
      • icon + name — an author is known: a quiet pill in the YouBadge grammar (rounded-full, muted surface, body-small).
      • labelled — the whole sentence, for a detail header that has the room.

      The accessible name is always the full sentence, whatever is visible, so a screen reader never gets a lone glyph or a bare name with no context.

      Parameters

      • scope: {
            author?: string | null;
            className?: string;
            labelled?: boolean;
            scope: ProvenanceScope;
            size?: "sm" | "md";
        }

        internal or public; drives the glyph and the sentence.

      Returns Element