tabs-usage

Generate Zag.js Tabs UI patterns with configurable orientation and activation for @techsio/ui-kit apps.

2|Updated Dec 2, 2024
One-click install
npx skills add https://github.com/TechsioCZ/new-engine --skill tabs-usage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tabs-usage
Source: https://github.com/TechsioCZ/new-engine/tree/main/libs/ui/skills/tabs-usage
Command: npx skills add https://github.com/TechsioCZ/new-engine --skill tabs-usage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a ready-to-use Tabs UI setup using Zag.js and @techsio/ui-kit for managing multiple content panels with consistent behavior and accessibility.

Core Features & Use Cases

  • Reusable Tabs UI patterns built with Zag.js components for reliable panel switching and indicators.
  • Flexible configuration supporting variant, orientation, activationMode, fitted, and justify props for adaptive layouts.
  • Designed for seamless integration with component-usage-ux and zag-compound-components in UI-driven apps.

Quick Start

Add a Tabs component with triggers and content to render multiple panels using Zag.js within your app.

Frequently Asked Questions about tabs-usage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build accessible tabs in React using Zag.js?

Accessible tabs in React using Zag.js are built using predefined component patterns that manage panel switching, content areas, and indicators. These patterns ensure consistent behavior and accessibility for multi-panel interfaces.

Can I configure tab orientation and activation behavior in a UI kit?

Tab orientation and activation behavior are configurable through library props such as orientation and activationMode. Additional layout adjustments are available using variant, fitted, and justify props for adaptive panel interfaces.

What is the best way to manage dynamic tab triggers and content panels?

Dynamic tab triggers and content panels are managed using Zag.js compound components that coordinate panel selection and indicators. This approach provides reliable switching behavior for UI-driven applications requiring multi-panel interfaces.

Does the Zag.js tabs component support variant and fitted layout props?

The Zag.js tabs component supports variant and fitted layout props alongside orientation and justify configurations. These props enable flexible layout adaptations within UI-kit applications for diverse interface requirements.

How do I integrate tabs with component-usage-ux and zag-compound-components?

Tabs integrate with component-usage-ux and zag-compound-components through exposed library props that configure panel behavior. This integration supports dynamic triggers, content areas, and activation modes within component-driven applications.