+
+ console.log('Edit clicked!')
+ }
+ ]}>
+ Card with Single Action
+ Hover over this card to see the edit action in the top right corner.
+ Card footer content
+
+ console.log('Edit clicked!')
+ },
+ {
+ label: 'Duplicate',
+ icon: 'Copy',
+ tooltip: 'Duplicate this card',
+ onClick: () => console.log('Duplicate clicked!')
+ },
+ {
+ label: 'Delete',
+ icon: 'Trash',
+ tooltip: 'Delete this card',
+ onClick: () => console.log('Delete clicked!')
+ }
+ ]}>
+ Actions Show on Hover
+
+ Hover over this card to see the action menu (three dots) in the top right corner.
+
+ Card footer content
+
+ console.log('Edit clicked!')
+ },
+ {
+ label: 'Copy',
+ icon: 'Copy',
+ tooltip: 'Copy this card',
+ onClick: () => console.log('Copy clicked!')
+ },
+ {
+ label: 'Share',
+ icon: 'ExternalLink',
+ tooltip: 'Share this card',
+ onClick: () => console.log('Share clicked!')
+ }
+ ]}>
+ Grouped Actions (groupActions=true)
+
+ When groupActions=true, all actions are grouped into a single dropdown menu. This keeps the
+ interface clean and compact, especially useful when you have many actions or limited space.
+
+ Card footer content
+
+
+
+ ),
+ decorators: [
+ (Story) => (
+