Documentation
Components
Chip

Chip

The Chip component is a flexible and customizable UI element used to display small pieces of information, tags, or actions. It supports different variants, colors, sizes, and can include icons or be dismissible for enhanced interactivity.

Installation

Install the package

npm i @start-base/start-ui

Add the styles

To use the React form elements styles in a Next.js project, import the styles in your layout.tsx file.

app/layout.tsx
import "@start-base/start-ui/styles.css";

Import the component

import Chip from '@start-base/start-ui/Chip';

Usages

Chip Default(Primary)

Chip

Chip Secondary

Chip

Chip Info

Chip

Chip Success

Chip

Chip Warning

Chip

Chip Error

Chip

API

NameTypeDefaultVariantsDescription
childrenstringChildren of the Chip
colorstringprimaryprimary secondary success info warning errorColor of the Chip
classNamestringClassname of the Chip