Skip to content

x

cancel • close • delete • remove • times • clear • math • multiply • multiplication

Created:

v0.0.0

Last changed:

v0.245.0

Contributors:

colebemisericfennis
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="x"></i>');  
tsx
import { X } from 'lucide-react';

const App = () => {
  return (
    <X />
  );
};

export default App;
vue
<script setup>
import { X } from 'lucide-vue-next';
</script>

<template>
  <X />
</template>
svelte
<script>
import { X } from 'lucide-svelte';
</script>

<X />
tsx
import { X } from 'lucide-preact';

const App = () => {
  return (
    <X />
  );
};

export default App;
tsx
import { X } from 'lucide-solid';

const App = () => {
  return (
    <X />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, X } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ X })
  ],
})

// app.component.html
<lucide-icon name="x"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-x"></div>

See this icon in action

Bug
Feature
X
112
8
11