clients/libs/assets
Holly 0bd098dd8f
[PM-19907] updated empty state messages for web (#16283)
* updated empty state icons and copy for web vault
2025-09-30 14:55:07 -04:00
..
src/svg [PM-19907] updated empty state messages for web (#16283) 2025-09-30 14:55:07 -04:00
eslint.config.mjs [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
jest.config.js [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
package.json fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
project.json fix(basic-lib generator): Ensure all project.json files have a rootDir value (#16384) 2025-09-22 12:32:23 -04:00
README.md [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
tsconfig.eslint.json [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
tsconfig.json [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
tsconfig.lib.json [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
tsconfig.spec.json [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00

Assets

Owned by: ui-foundation

This lib contains assets used by the Bitwarden clients. Unused assets are tree-shaken from client bundles. This means that all exports from this library must not have any side effects.

Usage

SVGs

SVGs intended to be used with the bit-icon component live in src/svgs. These SVGs are built with the icon-service for security reasons. These SVGs can be viewed in our Component Library Icon Story.

When adding a new SVG, follow the instructions in our Component Library: SVG Icon Docs

When importing an SVG in one of the clients: import { ExampleSvg } from "@bitwarden/assets/svg";