MediaChip automatically adjusts spacing based on the combination of start, children, and end content.
Basics
Recommended component sizes for regular-sized chips
- Start: 24×24 circular media
- End: xs size icons
Layout Configurations
MediaChip supports all six content combinations automatically.
Styling
Sizes
size accepts xs and s. Defaults to s.
Recommended media dimensions per size
s(default): 24×24 circular media, xs size iconsxs: 16×16 circular media, xs size icons
Invert color scheme
Use invertColorScheme to emphasize the chip with inverted colors.
Custom spacing
Override automatic spacing with custom values when needed.
Interactivity
Provide onClick to make MediaChip interactive. Use disabled to prevent interaction.
Accessibility
When onClick is provided and visible text is unclear (or absent), provide an accessibilityLabel.