Search the documentation

Type to search page titles, component names and descriptions.

    Data Display

    SignatureBlock

    Where a person signs a printed document.

    import { SignatureBlock } from 'faifo-design'

    SignatureBlock marks where one person signs a printed voucher: the role and how to sign, room to sign by hand, then the name the books know or a dotted line to write it on.

    #When to use

    • Use it at the foot of printed documents. A Grid sets several blocks side by side.

    #Examples

    Each example is a specimen of the package catalogue, rendered on the server exactly as shown in its code.

    #Signature block

    Where each person signs a printed voucher: the role and how to sign, room to sign by hand, then the name the books know or a dotted line to write it on. A Grid sets them side by side; a Stack with print="keep" keeps them on the sheet of the text they close.

    Goods received in full and in good condition.

    Prepared by

    (Signature, full name)

    Received by

    (Signature, full name)

    Storekeeper

    (Signature, full name)

    Minh Tam Pham

    Chief accountant

    (Signature, full name)

    Show codeHide code
    import { Grid, SignatureBlock, Stack, Text } from 'faifo-design'
    
    export const Example = () => (
      <Stack
        print="keep"
        items={[
          <Text>Goods received in full and in good condition.</Text>,
          <Grid
            columns={4}
            mobileColumns={2}
            items={[
              <SignatureBlock label="Prepared by" hint="(Signature, full name)" />,
              <SignatureBlock label="Received by" hint="(Signature, full name)" />,
              <SignatureBlock label="Storekeeper" hint="(Signature, full name)" name="Minh Tam Pham" />,
              <SignatureBlock label="Chief accountant" hint="(Signature, full name)" />,
            ]}
          />,
        ]}
      />
    )

    #API

    Generated from the package source. A property without a description has none in the source yet.

    #SignatureBlockComponent

    Where one person signs a printed document: who they are and how to sign, the room to sign in, and their name under it. Its geometry (the room to sign, the line for a name not yet known) is the component's; a parent Grid sets several side by side.

    PropertyDescriptionTypeDefault
    labelrequiredWho signs, such as "Storekeeper".string–
    hintHow to sign, under the label, such as "(Signature, full name)".string–
    nameThe signer's name when it is known; otherwise a line to write it on.string''

    #Types

    #SignatureBlockProps

    The properties of SignatureBlock, listed above.

    #Hooks

    The data-ui values these components render. Select them in tests and behaviour; their look belongs to the design system. See Contract.

    • signature-block
    • signature-block-label
    • signature-block-hint
    • signature-block-name