fractalsvelte mascot fractalsvelte fractalsvelte

Svelte 5 component · machines-ui · Frame

GraphTick

One glyph on a GraphTrack: flexes to fill, stays 1ch wide, centered.

Install

GraphTick is a Svelte 5 ASCII tick component in @fractaldesign/machines-ui. It works in SvelteKit and in any Svelte 5 app.

pnpm add @fractaldesign/machines-ui

Import

import
import '@fractaldesign/machines-ui/style.css';
import { GraphTick } from '@fractaldesign/machines-ui';

Usage

Example
<GraphTrack>
  <GraphTick>█</GraphTick>
  <GraphTick>░</GraphTick>
</GraphTrack>

Props

NameTypeDefault
class string ''
children Snippet Content rendered inside the component.—

Snippets

NameTypeDefault
default unknown —