Skip to content
Frauthy Brand
Frauthy index

Go anywhere.

    No exact contract found. Try a component family, product name, prop, or keyboard key.

    ↑↓ move↵ openesc close

    Icon

    primitive

    Token-sized SVG icon component backed by PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED. Icons render inline by default and can target an external sprite.

    Preview

    Sizes
    Tones
    Approved
    Information
    Needs review
    External link
    Label standalone icons when text does not provide the name.

    Usage

    import { Icon } from 'PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED';
    
    <Icon name="check" tone="accent" />
    
    <Icon name="alert" label="Validation warning" tone="danger" />
    
    <Icon name="copy" title="Copy token" spriteHref="/icons.svg" />

    Props

    PropTypeDefaultDescription
    nameIconNamerequiredName from PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED.
    labelstring--Accessible label. Adds role="img".
    titlestring--Inline SVG title, used as the accessible name when label is absent.
    spriteHrefstring--External sprite URL. Inline paths render when omitted.
    size'xs' | 'sm' | 'md' | 'lg' | 'xl''md'CSS size class.
    tone'current' | 'muted' | 'accent' | 'danger''current'Token-friendly color class.
    classstring--Additional CSS classes.
    ...svgAttrsSVGSVGAttributes--Forwarded SVG attributes except children and role.

    Accessibility

    Do / Don't

    Do

    Use icons as compact support for visible labels, status text, or familiar controls.

    Don't

    Don't place unlabeled standalone icons in buttons or links. Give the control an accessible name.