Folder closed
"closed"Folder closed.
Files and folders
FolderStateIconRepresents folder across closed, open, locked states.
Folder closed.
"closed"Folder closed.
"open"Folder open.
"locked"Folder locked.
Implementation
The component stays presentational. Your application remains in control of async work and business logic. The state prop is a TypeScript string literal union — pass an invalid state and you'll get a type error at build time.
import { FolderStateIcon } from "@stateglyph/react";
<FolderStateIcon state="closed" decorative />