gentleface

Gentleface › Text & formatting › case-preserve

case-preserve icon

Case preserve: preserve case. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M5.281 7L4.756 5.375L2.513 5.375L1.98 7L1 7L3.046 1L4.258 1L6.295 7L5.281 7ZM9.88 1C10.373 1 10.762 1.14 11.049 1.421C11.336 1.702 11.479 2.077 11.479 2.547C11.479 2.845 11.426 3.084 11.319 3.265C11.213 3.446 11.081 3.579 10.924 3.665C10.767 3.751 10.605 3.802 10.438 3.819L10.438 3.871C10.565 3.877 10.699 3.907 10.842 3.961C10.985 4.016 11.122 4.097 11.251 4.206C11.38 4.315 11.486 4.457 11.569 4.632C11.652 4.807 11.693 5.02 11.693 5.272C11.693 5.534 11.648 5.777 11.559 6C11.539 6 11.52 6 11.5 6C11.055 6 10.625 6.082 10.212 6.246C9.773 6.419 9.386 6.671 9.05 7L7.223 7L7.223 1L9.88 1ZM8.195 3.536L9.699 3.536C9.86 3.536 9.996 3.509 10.107 3.454C10.219 3.399 10.305 3.319 10.365 3.213C10.426 3.107 10.456 2.977 10.456 2.822L10.456 2.547C10.456 2.398 10.426 2.271 10.365 2.165C10.305 2.059 10.219 1.977 10.107 1.92C9.996 1.863 9.86 1.834 9.699 1.834L8.195 1.834L8.195 3.536ZM3.648 1.894L3.605 1.894L3.33 2.762L2.736 4.542L4.516 4.542L3.923 2.762L3.648 1.894ZM8.195 6.166L9.862 6.166C10.029 6.166 10.172 6.136 10.292 6.076C10.413 6.016 10.506 5.93 10.572 5.818C10.637 5.706 10.67 5.567 10.67 5.401L10.67 5.109C10.67 4.948 10.637 4.811 10.572 4.696C10.506 4.581 10.413 4.494 10.292 4.434C10.172 4.374 10.029 4.344 9.862 4.344L8.195 4.344L8.195 6.166ZM14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16ZM12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439Z"/></svg>
React
// Gentleface "case-preserve" (line-round), MIT. https://gentleface.com/icons/case-preserve
import type { SVGProps } from 'react';

export function CasePreserveIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M5.281 7L4.756 5.375L2.513 5.375L1.98 7L1 7L3.046 1L4.258 1L6.295 7L5.281 7ZM9.88 1C10.373 1 10.762 1.14 11.049 1.421C11.336 1.702 11.479 2.077 11.479 2.547C11.479 2.845 11.426 3.084 11.319 3.265C11.213 3.446 11.081 3.579 10.924 3.665C10.767 3.751 10.605 3.802 10.438 3.819L10.438 3.871C10.565 3.877 10.699 3.907 10.842 3.961C10.985 4.016 11.122 4.097 11.251 4.206C11.38 4.315 11.486 4.457 11.569 4.632C11.652 4.807 11.693 5.02 11.693 5.272C11.693 5.534 11.648 5.777 11.559 6C11.539 6 11.52 6 11.5 6C11.055 6 10.625 6.082 10.212 6.246C9.773 6.419 9.386 6.671 9.05 7L7.223 7L7.223 1L9.88 1ZM8.195 3.536L9.699 3.536C9.86 3.536 9.996 3.509 10.107 3.454C10.219 3.399 10.305 3.319 10.365 3.213C10.426 3.107 10.456 2.977 10.456 2.822L10.456 2.547C10.456 2.398 10.426 2.271 10.365 2.165C10.305 2.059 10.219 1.977 10.107 1.92C9.996 1.863 9.86 1.834 9.699 1.834L8.195 1.834L8.195 3.536ZM3.648 1.894L3.605 1.894L3.33 2.762L2.736 4.542L4.516 4.542L3.923 2.762L3.648 1.894ZM8.195 6.166L9.862 6.166C10.029 6.166 10.172 6.136 10.292 6.076C10.413 6.016 10.506 5.93 10.572 5.818C10.637 5.706 10.67 5.567 10.67 5.401L10.67 5.109C10.67 4.948 10.637 4.811 10.572 4.696C10.506 4.581 10.413 4.494 10.292 4.434C10.172 4.374 10.029 4.344 9.862 4.344L8.195 4.344L8.195 6.166ZM14 16L9 16C8.724 16 8.488 15.902 8.293 15.707C8.098 15.512 8 15.276 8 15L8 12C8 11.724 8.098 11.488 8.293 11.293C8.488 11.098 8.724 11 9 11L9 9.5C9 9.182 9.059 8.875 9.176 8.58C9.303 8.259 9.488 7.976 9.732 7.732C9.976 7.488 10.259 7.303 10.58 7.176C10.875 7.059 11.182 7 11.5 7C11.818 7 12.125 7.059 12.42 7.176C12.741 7.303 13.024 7.488 13.268 7.732C13.512 7.976 13.697 8.259 13.824 8.58C13.941 8.875 14 9.182 14 9.5L14 11C14.276 11 14.512 11.098 14.707 11.293C14.902 11.488 15 11.724 15 12L15 15C15 15.276 14.902 15.512 14.707 15.707C14.512 15.902 14.276 16 14 16ZM12.561 8.439C12.414 8.293 12.245 8.182 12.052 8.105C11.875 8.035 11.691 8 11.5 8C11.309 8 11.125 8.035 10.948 8.105C10.755 8.182 10.586 8.293 10.439 8.439C10.293 8.586 10.182 8.755 10.105 8.948C10.035 9.125 10 9.309 10 9.5L10 11L13 11L13 9.5C13 9.309 12.965 9.125 12.895 8.948C12.818 8.755 12.707 8.586 12.561 8.439Z" />
    </svg>
  );
}
Vue
Vue: see /icons/case-preserve.md
Svelte
Svelte: see /icons/case-preserve.md
HTML img
HTML img: see /icons/case-preserve.md
CSS
CSS: see /icons/case-preserve.md
Data URL
Data URL: see /icons/case-preserve.md
Sprite
Sprite: see /icons/case-preserve.md
SwiftUI
SwiftUI: see /icons/case-preserve.md
Compose
Compose: see /icons/case-preserve.md
Android XML
Android XML: see /icons/case-preserve.md
Flutter
Flutter: see /icons/case-preserve.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
preserve case
Tags
preserve case, keep case, find and replace, replace, case, letters, lock, text
Category
Text & formatting
Component name
CasePreserveIcon
History
  • 20 px drawn, 24 px drawn, added

Family 40

More text & formatting icons

For agents

Metadata: /icons/case-preserve.json · Markdown: /icons/case-preserve.md · SVG: https://gentleface.com/svg/{style}/16/case-preserve.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/case-preserve.png