Components
Both
src/components/copy-button.tsxCopy Button
The house copy-to-clipboard control. On click the icon cross-fades copy→check, the label rises in, and the whole control settles to the success-green treatment for two seconds, then reverts. Pass idleLabel and copiedLabel per context; the behaviour is fixed. Shared by the invite dialog and the referral link field so the beat never drifts.
Standalone
In a link field
safeway.co/r/9K2PQ4
Used on
- Console
- /console (every page)/console/business-reporting/btw-hours/console/business-reporting/enrollment/console/business-reporting/fleet-size/console/business-reporting/payroll/console/catalog/console/financials/console/financials/balances/console/financials/earned/console/financials/refunds/console/financials/sales/console/financials/transactions/console/financials/waived-fees/console/reporting/certificate-upload/console/reporting/dps-report/console/reporting/student-records
- Portal
- /(student) (every page)/checkout/dashboard/dashboard/refer