# Tabbed Problem Explore Category: problem Description: Allows users to explore different problem areas via a tabbed interface, revealing specific details for each selection. ## Implementation Context - **Primary**: Use **SenangStart CSS** for the implementation. - **Reference**: Tailwind CSS is provided for stylistic context only. ## SenangStart CSS Usage To use SenangStart CSS, simply include the script in your HTML ``: ```html My App

Hello SenangStart!

Zero config, instant styling.

``` **Documentation**: [Getting Started Guide](https://bookklik-technologies.github.io/senangstart-css/guide/getting-started.html) ## SenangStart CSS Code ```html <section layout="container" space="m-x:auto m-y:large p-x:medium-3x tw-lg:m-y:big-3x tw-lg:p-x:big-3x"> <div space="m-b:large"> <div space="m-b:small max-w:[max-content] p-x:small" visual="rounded:small border-w:regular border:blue-600 font:tw-bold text:blue-600" > Challenges </div> <h2 space="m-b:medium" visual="text-size:grand font:tw-bold tw-lg:text-size:mount"> Understanding Your Pain Points </h2> <p visual="text-size:large tw-lg:text-size:big"> Click on each challenge to learn more about how we address it </p> </div> <div layout="grid" space="g:medium" x-data="{ activeTab: 'tab1' }"> <div layout="grid tw-lg:grid-cols:3" space="g:medium"> <button @click="activeTab = 'tab1'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab1', 'bg-neutral-100': activeTab !== 'tab1' }" space="p:medium" visual="rounded:medium text:left transition:colors" > <h3 visual="text-size:big font:tw-bold">Operational Inefficiency</h3> </button> <button @click="activeTab = 'tab2'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab2', 'bg-neutral-100': activeTab !== 'tab2' }" space="p:medium" visual="rounded:medium text:left transition:colors" > <h3 visual="text-size:big font:tw-bold">Data Management</h3> </button> <button @click="activeTab = 'tab3'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab3', 'bg-neutral-100': activeTab !== 'tab3' }" space="p:medium" visual="rounded:medium text:left transition:colors" > <h3 visual="text-size:big font:tw-bold">Customer Experience</h3> </button> </div> <div space="p:medium-3x" visual="rounded:medium bg:neutral-100"> <div x-show="activeTab === 'tab1'" class="space-y-4"> <h4 visual="text-size:big font:tw-bold"> Manual Processes Slowing You Down? </h4> <p visual="text-size:large"> Many businesses waste valuable time on repetitive tasks that could be automated, leading to reduced productivity and increased costs. </p> </div> <div x-show="activeTab === 'tab2'" class="space-y-4"> <h4 visual="text-size:big font:tw-bold">Struggling with Data Overload?</h4> <p visual="text-size:large"> Organizations often struggle to manage and analyze their data effectively, missing out on valuable insights and opportunities. </p> </div> <div x-show="activeTab === 'tab3'" class="space-y-4"> <h4 visual="text-size:big font:tw-bold">Customer Satisfaction Issues?</h4> <p visual="text-size:large"> Poor customer experience management can lead to decreased satisfaction rates and lost business opportunities. </p> </div> </div> </div> </section> ``` ## Tailwind CSS Code ```html <section class="container mx-auto my-8 px-6 lg:my-16 lg:px-16"> <div class="mb-8"> <div class="mb-2 max-w-max rounded-md border-2 border-blue-600 px-2 font-bold text-blue-600" > Challenges </div> <h2 class="mb-4 text-3xl font-bold lg:text-5xl"> Understanding Your Pain Points </h2> <p class="text-lg lg:text-xl"> Click on each challenge to learn more about how we address it </p> </div> <div class="grid gap-4" x-data="{ activeTab: 'tab1' }"> <div class="grid gap-4 lg:grid-cols-3"> <button @click="activeTab = 'tab1'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab1', 'bg-neutral-100': activeTab !== 'tab1' }" class="rounded-lg p-4 text-left transition-colors" > <h3 class="text-xl font-bold">Operational Inefficiency</h3> </button> <button @click="activeTab = 'tab2'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab2', 'bg-neutral-100': activeTab !== 'tab2' }" class="rounded-lg p-4 text-left transition-colors" > <h3 class="text-xl font-bold">Data Management</h3> </button> <button @click="activeTab = 'tab3'" :class="{ 'bg-blue-600 text-white': activeTab === 'tab3', 'bg-neutral-100': activeTab !== 'tab3' }" class="rounded-lg p-4 text-left transition-colors" > <h3 class="text-xl font-bold">Customer Experience</h3> </button> </div> <div class="rounded-lg bg-neutral-100 p-6"> <div x-show="activeTab === 'tab1'" class="space-y-4"> <h4 class="text-xl font-bold"> Manual Processes Slowing You Down? </h4> <p class="text-lg"> Many businesses waste valuable time on repetitive tasks that could be automated, leading to reduced productivity and increased costs. </p> </div> <div x-show="activeTab === 'tab2'" class="space-y-4"> <h4 class="text-xl font-bold">Struggling with Data Overload?</h4> <p class="text-lg"> Organizations often struggle to manage and analyze their data effectively, missing out on valuable insights and opportunities. </p> </div> <div x-show="activeTab === 'tab3'" class="space-y-4"> <h4 class="text-xl font-bold">Customer Satisfaction Issues?</h4> <p class="text-lg"> Poor customer experience management can lead to decreased satisfaction rates and lost business opportunities. </p> </div> </div> </div> </section> ```