Skip to content

Icon

No Picture, No Truth.

Example

Basic

Show Code
vue
<script lang="ts" setup>
import { CaseSensitive, Regex, WholeWord } from 'lucide'
import { RIcon, RSpace } from 'roughness'
</script>

<template>
  <RSpace vertical>
    <RSpace>
      <RIcon :icon="CaseSensitive" />
      <RIcon :icon="WholeWord" />
      <RIcon :icon="Regex" />
    </RSpace>
    <RSpace>
      <RIcon :icon="Tv" filled />
    </RSpace>
  </RSpace>
</template>

Color and Size

See Text.

Usage

View all available icons here.

Props

NameTypeDefault ValueDescription
filled
graphicsOptions
iconRequired
...

See Text Props.

Styles

NameTypeDefault ValueDescription
--r-icon-color
--r-icon-stroke-color
--r-icon-stroke-width
...

See Text Styles.

Released under the ISC License.