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
Compact
The compact variant reduces spacing for denser layouts.
Recommended component sizes for compact chips
- Start: 16×16 circular media
- End: 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.