Hiyve Components - v1.0.0
    Preparing search index...

    Interface PasswordRequirementsProps

    interface PasswordRequirementsProps {
        labels?: Partial<
            Record<
                "number"
                | "length"
                | "lowercase"
                | "uppercase"
                | "special",
                string,
            >,
        >;
        minLength?: number;
        password: string;
        title?: string;
        variant?: PasswordRequirementsVariant;
    }
    Index

    Properties

    labels?: Partial<
        Record<
            "number"
            | "length"
            | "lowercase"
            | "uppercase"
            | "special",
            string,
        >,
    >

    Per-rule label overrides, keyed by rule id.

    minLength?: number

    Minimum length, when the organisation has raised it above the default.

    password: string

    The password being typed. Empty is fine — the rules still show.

    title?: string

    Heading above the list.

    'list' (default) — the heading and one line per rule. 'compact' — a single wrapping row of small chips, each ticked as its rule is met, with short labels ("8+ characters", "a-z", "A-Z", "0-9", "symbol"). Takes one or two lines under the password field instead of six.