Skip to content
Cynco UI

Components · Actions

PanelButton

A large, tactile tile button with screws and seams; the selected tile takes a primary border and a check mark in its corner.

import { PanelButton } from "@cynco-labs/ui";

Example

Use

Picking one of a few big options in onboarding (business type, tax registration).

Props

isSelected, onClick, icon (Phosphor duotone, 20px), and an aria-label (the tile is icon-only).

Notes

Selection is exposed as aria-pressed and shown by the corner check mark, not by colour alone. The mark sits slightly outside the tile, so leave a few pixels of room around it.

Source Demo source Markdown