Internal ID software / Tools
PrintButton
Opens the print dialog of the browser, and stays out of the print itself.
Not drawn in Figma: built only from the tokens, for internal ID software. In code: components/software/tools.tsx. From the old system: PrintButton in @id-identity-as/ui.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
children (required) | ReactNode | The label of the button. |
Do
- Use it on a page made to be printed: an order, a list, a report.
- Say what is printed in the label.
Do not
- Do not use it for brochures or brand print. Those follow the brochure rules.
Accessibility
- The outline Button. It is hidden in print, so it never appears on paper.
Tokens it uses
- color.button.outline.stroke
- color.button.outline.text
- radius.sm
- type.button.md