Skip to content

crosshair

aim • target

Created:

v0.0.0

Last changed:

v0.133.0

Contributors:

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

createIcons({ icons });

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

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

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

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

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

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

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

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

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

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

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

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