Skip to content

file-lock

lock • password • security

Created:

v0.68.0

Last changed:

v0.311.0

Contributors:

karsa-mistmereericfennisdanielbayley
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

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

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

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

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

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

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

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

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

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

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

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

<div class="icon-file-lock"></div>