eQuantic.UIeQuantic.UI
Docs
Playground
GitHub
START HERE
Getting Started
WRITE-ONCE
Write-Once Components
Declarative Surface
Photon Engine
Design System
Capabilities
Storage
Forms
Code Editor
Markdown
Mermaid
Email Rendering
ARCHITECTURE
Architecture Overview
Package Architecture
Components
Styling
Localization
Analytics & GTM
COMPILATION
Compiler
Compile-Time Evaluation
Supported C# Features
External Type Resolution
Build Flow
Diagnostics
RUNTIME
Runtime (TypeScript)
Performance
SERVER
Server Integration
Assets
BunPackage
Security
ECOSYSTEM
Image
Charts
Icons
Lottie
DEVELOPMENT
Visual Editor
Debug
Roadmap
PT-BR
Analytics-pt-BR
Architecture-pt-BR
Assets-pt-BR
BuildFlow-pt-BR
BunPackage-pt-BR
Capabilities-pt-BR
Charts-pt-BR
CodeEditor-pt-BR
Compiler-pt-BR
CompileTimeEvaluation-pt-BR
Components-pt-BR
Debug-pt-BR
DeclarativeSurface-pt-BR
DesignSystem-pt-BR
Diagnostics-pt-BR
EmailRealizer-pt-BR
ExternalTypeResolution-pt-BR
Forms-pt-BR
GettingStarted-pt-BR
Home-pt-BR
Icons-pt-BR
Image-pt-BR
Localization-pt-BR
Lottie-pt-BR
Markdown-pt-BR
Mermaid-pt-BR
PackageArchitecture-pt-BR
Performance-pt-BR
Photon-pt-BR
Roadmap-pt-BR
Runtime-pt-BR
Security-pt-BR
ServerIntegration-pt-BR
Storage-pt-BR
Styling-pt-BR
SupportedFeatures-pt-BR
VisualEditor-pt-BR
WriteOnceComponents-pt-BR
ACTIONS & INPUTS
Button
IconButton
TextInput
Select
Checkbox
Switch
RadioGroup
SegmentedControl
Slider
Stepper
SearchField
SURFACES & DISPLAY
Card
Badge
Chip
Avatar
Banner
ProgressBar
EmptyState
Divider
NAVIGATION
Tabs
AppBar
BottomNavigation
Breadcrumb
Pagination
PageIndicator
Menu
Drawer
OVERLAYS
Dialog
BottomSheet
Toast
Popover
Tooltip
LISTS & DATA
List
ListView
Table
Accordion
CodeBlock
TOUCH INTERACTION
PullToRefresh
SwipeableRow
DocsSurfaces & display
Chip
View source
1 min read
A compact token for a filter, tag or entity. Selectable, removable, or both.
1
using eQuantic.UI.Components;
STATES
Label
unselected
Label
selected
Label
removable
Usage
1
2
3
4
5
6
7
new Chip("Unpaid")
{
Kind = ChipKind.Filter,
Selected = _filter == Filter.Unpaid,
OnPressed = () => SetState(() => _filter = Filter.Unpaid),
OnRemove = () => SetState(() => _filter = Filter.None),
}
API
Prop
Type
Default
Description
Label
string
One or two words.
Kind
ChipKind
Assist
Assist, Filter, Input or Suggestion — the Material chip roles.
Selected
bool
false
Selected chips carry the variant-subtle treatment.
OnPressed
Action?
null
Makes the chip a toggle.
OnRemove
Action?
null
Adds a trailing remove affordance with its own target.
Variant
Variant
Secondary
Semantic colour when selected.
States
State
Rendering
Unselected
Outline
Selected
Variant-subtle fill and border
Pressed
Fill wash
Removable
Trailing × as a separate focus stop
Accessibility
A selectable chip announces "Unpaid, selected"; the remove affordance is a separate action named "Remove Unpaid".
When to use
Filter rows, applied facets, entity tokens inside a field.
Avoid
Chips as primary buttons.
Chip rows longer than about two screens.
NOTEEvery dimension resolves through Sizing.*(SizeVariant) and the token scales — never a literal. Source: src/eQuantic.UI.Components/Chip.cs.