Skip to content

magnet

horseshoe • lock • science • snap

Created:

v0.48.0

Last changed:

v0.48.0

Contributors:

ericfenniskarsa-mistmere
html
<i data-lucide-name="magnet"></i>
tsx
import { Magnet } from 'lucide-react';

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

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

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

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

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

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

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

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

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

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

<div class="icon-magnet"></div>
dart
Icon(LucideIcons.magnet);