Skip to content

traffic-cone

roadworks • tarmac • safety • block

Created:

v0.265.0

Last changed:

v0.265.0

Contributors:

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

createIcons({ icons });

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

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

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

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

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

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

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

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

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

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

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

<div class="icon-traffic-cone"></div>