Develop ultra fast with Prismane 🎉

Chip API

Learn about the Chip component's props and CSS classes.

Import

import { ChipProps } from "@prismane/core";

Props

Chip extends Flex and Transition components' props.

NameTypeDescriptionDefault
iconReactNodeThe icon of the chip.-
colorPrismaneColors Changes the color of the chip.primary
sizePrismaneBreakpoints Changes the size of the chip.base

CSS

Chip extends Flex and Transition components' CSS classes.

RuleGlobal ClassDescription
root.PrismaneChip-rootThe wrapper box of the chip.
root.PrismaneChip-root-{color}The wrapper box of the chip based on the color.
root.PrismaneChip-root-{size}The wrapper box of the chip based on the size.