ICONYZ
English
Rules icon from Flat Color Icons

Rules icon

flat-color-icons:rules

The Rules icon (flat-color-icons:rules) is a free SVG icon from the Flat Color Icons set by Icons8. It is drawn on a 48 × 48 grid. Flat Color Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Flat Color Icons
Author
Icons8
License
MIT
Size
48 × 48
Tags
rule
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="#42A5F5" d="M39 45H9s-3-.1-3-8h36c0 7.9-3 8-3 8"/><path fill="#90CAF9" d="M8 3h32v34H8z"/><path fill="#1976D2" d="M18 15h16v2H18zm0 4h16v2H18zm0 4h16v2H18zm0 4h16v2H18zm0 4h16v2H18zm-4-16h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z"/></svg>

How to use the Rules icon

React

import { Icon } from "@iconify/react";

<Icon icon="flat-color-icons:rules" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="flat-color-icons:rules" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="flat-color-icons:rules" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-color-icons--rules]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/flat-color-icons -->
<div class="i-flat-color-icons:rules"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="flat-color-icons:rules"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/flat-color-icons/rules.svg" alt="Rules icon" width="24" height="24">

Rules icon in other icon sets

Rules icon FAQ

Is the Rules icon free for commercial use?

Yes. Flat Color Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Rules icon in React?

Install @iconify/react and render <Icon icon="flat-color-icons:rules" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Rules icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/flat-color-icons/rules.svg" alt="Rules icon">, or paste the SVG code inline to style it with CSS.

Browse all Flat Color Icons →