MCPInstall

syncfusion-maui-toolkit-segmented-control

Implements Syncfusion .NET MAUI Segmented Control (SfSegmentedControl). Use when working with segmented controls, segment buttons, tab-like selection, button groups, or filter buttons in MAUI applications. This skill covers installation, item population, selection indicators, appearance customization, layout configuration, disabled segments, and events.

Installs
46
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/maui-toolkit-ui-components-skills --skill syncfusion-maui-toolkit-segmented-control
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-maui-toolkit-segmented-control automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Segmented Controls in .NET MAUI

The Syncfusion .NET MAUI Segmented Control (SfSegmentedControl) provides a linear set of segments containing text, icons, or both, allowing users to select from mutually exclusive options. Each segment functions as a discrete button, creating an intuitive way to switch between views, filter content, or select time periods.

When to Use This Skill

Use this skill when you need to:

  • Implement view switchers: Toggle between Day/Week/Month/Year views, list/grid layouts, or different data visualizations
  • Create filter buttons: Allow users to filter content by category, type, or time period
  • Build tab-like navigation: Provide segment-based navigation without traditional tabs
  • Design selection interfaces: Enable users to choose from 2-7 mutually exclusive options
  • Customize segment appearance: Style borders, backgrounds, colors, corner radius, or selection indicators
  • Configure selection behavior: Set up programmatic selection, selection modes, or custom indicators
  • Handle segment events: Respond to selection changes or segment taps
  • Support RTL layouts: Implement right-to-left language support
  • Apply special effects: Add liquid glass effects or custom animations

Common scenarios: Calendar view toggles, chart period selectors, sorting options, display mode switches, category filters, and settings toggles.

Component Overview

Key Features:

  • Multiple display formats (text, icon, or combination)
  • Four selection indicator styles (Fill, Border, TopBorder, BottomBorder)
  • Scrollable segments for large item counts
  • Two selection modes (Single, SingleDeselect)
  • Comprehensive appearance customization
  • Disabled segment support
  • RTL support
  • Ripple effect animations
  • DataTemplate support for custom layouts

Package: Syncfusion.Maui.Toolkit
Namespace: Syncfusion.Maui.Toolkit.SegmentedControl
Control Class: SfSegmentedControl

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Start here for initial setup:

  • Installing Syncfusion.Maui.Toolkit NuGet package
  • Registering Syncfusion handlers (ConfigureSyncfusionToolkit)
  • Basic control initialization in XAML and C#
  • Multi-IDE setup (Visual Studio, VS Code, Rider)
  • Namespace imports and minimal examples

Populating Segment Items

📄 Read: references/populating-items.md

For adding segments to the control:

  • Using ItemsSource with string arrays
  • Creating SfSegmentItem objects
  • Adding text, icons, or text+icon combinations
  • Image sources and font icon configuration
  • Dynamic item population
  • Data binding approaches

Selection Features

📄 Read: references/selection.md

For controlling selection behavior and appearance:

  • Programmatic selection with SelectedIndex
  • Selection indicator placements (Fill, Border, TopBorder, BottomBorder)
  • Selection modes (Single, SingleDeselect)
  • Customizing selected segment colors and backgrounds
  • Border customization for selected segments
  • Ripple effect animation (EnableRippleEffect)
  • Per-item selection styling

Appearance Customization

📄 Read: references/customization.md

For styling the control:

  • Border color and thickness (Stroke, StrokeThickness)
  • Corner radius (CornerRadius, SegmentCornerRadius)
  • Text styling (TextStyle, FontAttributes, FontSize)
  • Segment background colors
  • Per-item customization
  • Separator visibility (ShowSeparator)
  • DataTemplate customization (SegmentTemplate)
  • Selected item templates with IsSelected binding

Layout Configuration

📄 Read: references/layout.md

For sizing and layout control:

  • Segment width (SegmentWidth, per-item Width)
  • Segment height (SegmentHeight)
  • Visible segment count (VisibleSegmentsCount)
  • Scrolling behavior
  • Auto-sizing vs fixed dimensions

Disabled Segments

📄 Read: references/disabled-segments.md

For disabling specific segments:

  • Setting IsEnabled per segment
  • Visual feedback for disabled state
  • Preventing user interaction
  • Conditional disabling scenarios

Events

📄 Read: references/events.md

For handling user interactions:

  • SelectionChanged event
  • SegmentTapped event
  • Event arguments and accessing segment data
  • Programmatic response to selection
  • Event-driven UI updates

Advanced Features

📄 Read: references/advanced-features.md

For special capabilities:

  • Right-to-left (RTL) support and FlowDirection
  • Platform-specific considerations

FAQ

What does the syncfusion-maui-toolkit-segmented-control skill do?

Implements Syncfusion .NET MAUI Segmented Control (SfSegmentedControl). Use when working with segmented controls, segment buttons, tab-like selection, button groups, or filter buttons in MAUI applications. This skill covers installation, item population, selection indicators, appearance customization, layout configuration, disabled segments, and events.

How do I install syncfusion-maui-toolkit-segmented-control?

Run npx skills add https://github.com/syncfusion/maui-toolkit-ui-components-skills --skill syncfusion-maui-toolkit-segmented-control in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-maui-toolkit-segmented-control/ (personal) or .claude/skills/syncfusion-maui-toolkit-segmented-control/ (project).

Which AI agents can use syncfusion-maui-toolkit-segmented-control?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-maui-toolkit-segmented-control safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-maui-toolkit-segmented-control?

It is published by syncfusion in syncfusion/maui-toolkit-ui-components-skills. It has 46 recorded installs.

More from syncfusion/maui-toolkit-ui-components-skills

View all →

syncfusion-maui-toolkit-popup

syncfusion/maui-toolkit-ui-components-skills

Implements Syncfusion .NET MAUI Popup (SfPopup) control for displaying alert messages, custom views, and modal dialogs. Use when working with popups, overlays, dialogs, modal windows, alert boxes, or confirmation dialogs in .NET MAUI applications. Covers positioning (center, absolute, relative to view), layout customization (header, footer, content templates), animations, and modal behavior.

syncfusion-maui-toolkit-pull-to-refresh

syncfusion/maui-toolkit-ui-components-skills

Implements the Syncfusion .NET MAUI PullToRefresh (SfPullToRefresh) control for interactive content refreshing. Use when working with pull-to-refresh, refresh controls, swipe to refresh, or updating content on pull gestures. Covers scenarios for refreshing ListView, DataGrid, or any scrollable content, customizing refresh indicators, MVVM refresh patterns, and pull-to-refresh events.

syncfusion-maui-toolkit-expander

syncfusion/maui-toolkit-ui-components-skills

Implements the Syncfusion .NET MAUI Expander (SfExpander) control for collapsible and expandable content sections. Use when working with expanders, collapsible sections, accordions, expandable panels, or expand/collapse functionality in .NET MAUI applications. Covers space-efficient layouts, header customization and expand/collapse animations.

Backend & APIs48 installs

syncfusion-maui-toolkit-otp-input

syncfusion/maui-toolkit-ui-components-skills

Implement OTP Input controls in .NET MAUI applications for authentication flows. Covers input types (Number, Text, Password), styling modes (Outlined, Filled, Underlined), event handling, value binding, validation patterns, and accessibility. Use this skill when building SMS/email OTP verification, multi-step authentication, or secure login forms.

syncfusion-maui-toolkit-bottom-sheet

syncfusion/maui-toolkit-ui-components-skills

Implement the Syncfusion .NET MAUI Bottom Sheet (SfBottomSheet) control with state management, content configuration, gesture support, and customization. Covers setup, content binding, state transitions, styling, events, and interactive patterns for sliding content panels.

syncfusion-maui-toolkit-getting-started

syncfusion/maui-toolkit-ui-components-skills

Getting started with Syncfusion® .NET MAUI Toolkit. Covers installation, cross-platform capabilities, system requirements, and development environment setup for Android, iOS, macOS, and Windows applications.

Mobile47 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs