// InputDemo.tsx import React from "react"; function Section({ title, children }: { title: string; children: React.ReactNode }) { return (
Username must be at least 3 characters.
Select multiple items from a dropdown. Checkboxes toggle individual items. Action labels appear on hover to show context-aware actions.
{selected1.length} item{selected1.length !== 1 ? 's' : ''} selected {' '}— Hover over items to see action labels. Different actions appear based on selection state.
)}Full keyboard support for accessibility and power users.
Manage selections programmatically with external controls.
Selected: {actionOptions.filter(o => selected3.includes(o.id)).map(o => o.label).join(', ')}
)}