Skip to content
Merged
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
12 changes: 4 additions & 8 deletions packages/design-system/docs/components/OcIcon/OcIcon.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,14 @@ The available fill types are: `fill`, `line` and `none`.

### Sizes

The available sizes are: `xsmall`, `small`, `medium`, `large`, `xlarge`, `xxlarge` and `xxxlarge`.
You can use Tailwind size classes to set the size of the icon.

::: livecode

```html
<oc-icon name="check" size="xsmall" />
<oc-icon name="check" size="small" />
<oc-icon name="check" size="medium" />
<oc-icon name="check" size="large" />
<oc-icon name="check" size="xlarge" />
<oc-icon name="check" size="xxlarge" />
<oc-icon name="check" size="xxxlarge" />
<oc-icon name="check" size-class="size-4" />
<oc-icon name="check" size-class="size-6" />
<oc-icon name="check" size-class="size-8" />
```

:::
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading