Mobile UI Components library built on Vue 3 with 100+ components
74
Build a mobile-friendly task list manager where users can swipe items left or right to reveal action buttons for quick operations.
Create a task list component that displays a list of tasks. Each task should show:
Implement swipe gestures on each task item to reveal action buttons:
Swipe left (reveals buttons on the right):
Swipe right (reveals button on the left):
Maintain and update the task list state appropriately when actions are performed:
Start with at least 3 sample tasks to demonstrate the functionality.
@generates
// Component props interface
interface Task {
id: string;
name: string;
status: 'pending' | 'completed' | 'archived';
}
// Component should accept an initial list of tasks and emit events for actionsProvides mobile UI components for Vue 3.
Install with Tessl CLI
npx tessl i tessl/npm-vantdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10