Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/angular/src/content/en/components/chip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@ The Angular chip supports several pre-defined stylistic variants. You can change

<Sample src="/data-display/chip-variants" height={100} alt="Angular Chip Variants Example" />

### Outlined

The Angular Chip can also be rendered in an outlined style and have a border around it by setting the <ApiLink type="Chip" member="outlined" label="outlined" /> property.

```html
<igx-chip outlined>Outlined</igx-chip>
```

<Sample src="/data-display/chip-outlined" height={100} alt="Angular Chip Outlined Example" />

### Selection

<Image src={selectingDefault} alt="Selecting Default" class="responsive-img" />
Expand Down
30 changes: 30 additions & 0 deletions docs/xplat/src/content/en/components/inputs/chip.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,36 @@ The {ProductName} chip supports several pre-defined stylistic variants. You can

<Sample src="/inputs/chip/variants" height={80} alt="{Platform} Chip Variants Example" />

### Outlined

The {ProductName} chip can be rendered in an outlined style and have a border around it by setting the <ApiLink pkg="core" type="Chip" member="outlined" label="Outlined" /> property.

<PlatformBlock for="React">

```tsx
<IgrChip outlined={true}></IgrChip>
```

</PlatformBlock>

<PlatformBlock for="WebComponents">

```html
<igc-chip outlined></igc-chip>
```

</PlatformBlock>

<PlatformBlock for="Blazor">

```razor
<IgbChip Outlined="true"></IgbChip>
```

</PlatformBlock>

<Sample src="/inputs/chip/outlined" height={80} alt="{Platform} Chip Outlined Example" />

### Disabled

The {ProductName} chip can be disabled by using the <ApiLink pkg="core" type="Chip" member="disabled" label="Disabled" /> property.
Expand Down
Loading