Components
Console
src/components/confirm-button.tsxConfirm Button
For an icon that removes something on one press. The first press turns the glyph into the act’s word in red and the second does it; a press anywhere else, or tabbing away, puts the glyph back. One button that grows to the word, so the focus stays where the press put it. Whatever it removes keeps its own Undo: the second press confirms what the glyph meant, it does not guard something that cannot come back.
Plain
The size of a small plain icon button: the curriculum review's x on each change, the scheduling card's trash.
Chip
The photo tile's remove, a disc floating on the picture and placed by the tile: Log an incident and Log an inspection.
Used on
- Console
- /console/business-reporting/btw-hours/console/business-reporting/enrollment/console/business-reporting/fleet-size/console/business-reporting/payroll/console/catalog/console/catalog/contracts/[id]/console/curriculum/console/financials/console/financials/balances/console/financials/earned/console/financials/refunds/console/financials/sales/console/financials/transactions/console/financials/waived-fees/console/fleet/[id]/console/locations/console/locations/[id]/console/locations/franchises/[id]/console/people/[id]/console/reporting/certificate-upload/console/reporting/dps-report/console/reporting/student-records/console/scheduling