Interface: ChipProps
Defined in: components/Chip/index.tsx:12
Description
Props for the Chip component.
Extends
ComponentProps
Properties
accent?
optionalaccent?:string
Defined in: utils/colors/index.ts:11
Inherited from
ComponentProps.accent
accentDark?
optionalaccentDark?:string
Defined in: utils/colors/index.ts:13
Inherited from
ComponentProps.accentDark
accentLight?
optionalaccentLight?:string
Defined in: utils/colors/index.ts:12
Inherited from
ComponentProps.accentLight
borderRadius?
optionalborderRadius?:BorderRadius
Defined in: components/Component/index.ts:16
The border radius of the component.
Inherited from
ComponentProps.borderRadius
children?
optionalchildren?:ReactNode
Defined in: components/Chip/index.tsx:20
The content of the chip.
className?
optionalclassName?:string
Defined in: components/Component/index.ts:12
Additional CSS class for the component.
Inherited from
ComponentProps.className
data-id?
optionaldata-id?:string|number
Defined in: components/Component/index.ts:20
A data-id attribute for testing or identification.
Inherited from
ComponentProps.data-id
elevation?
optionalelevation?:Elevation
Defined in: components/Component/index.ts:14
The elevation level for box-shadow effects.
Inherited from
ComponentProps.elevation
iconName?
optionaliconName?:string
Defined in: components/Chip/index.tsx:18
Optional icon name to display inside the chip.
label?
optionallabel?:string
Defined in: components/Chip/index.tsx:22
Optional text label to display.
size?
optionalsize?:"sm"|"md"|"lg"
Defined in: components/Chip/index.tsx:16
The size of the chip. Defaults to 'sm'.
style?
optionalstyle?:CSSProperties
Defined in: components/Component/index.ts:18
Custom inline CSS styles.
Inherited from
ComponentProps.style
type?
optionaltype?:"text"|"default"|"primary"
Defined in: components/Chip/index.tsx:14
The visual style/type of the chip. Defaults to 'default'.