BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/boldkit/ascii-shapes

ASCII Shapes

boldkit/ascii-shapes
FreeComponent

7 animated ASCII art components (Spiral, Rose, Wave, Vortex, Pulse, Matrix, Grid) with 5 character sets, 4 sizes, and SSR-safe static mode

Live preview

live · rendered by the registry
Rendered by boldkit on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://boldkit.dev/r/ascii-shapes.json

Source

registry/default/ui/ascii-shapes.tsxboldkit.dev/r/ascii-shapes.json · first 6 KB
1import * as React from 'react'
2import { cn } from '@/lib/utils'
3
4// ============================================================================
5// Types
6// ============================================================================
7
8export type AsciiSize = 'sm' | 'md' | 'lg' | 'hero'
9export type AsciiCharset = 'blocks' | 'braille' | 'classic' | 'line' | 'dots'
10export type AsciiSpeed = 'slow' | 'normal' | 'fast'
11
12export interface AsciiShapeProps extends React.HTMLAttributes<HTMLPreElement> {
13 size?: AsciiSize
14 charset?: AsciiCharset
15 color?: string
16 speed?: AsciiSpeed
17 animated?: boolean
18 multicolor?: boolean
19}
20
21// ============================================================================
22// Constants
23// ============================================================================
24
25const SIZE_MAP: Record<AsciiSize, { cols: number; rows: number }> = {
26 sm: { cols: 24, rows: 12 },
27 md: { cols: 48, rows: 24 },
28 lg: { cols: 72, rows: 36 },
29 hero: { cols: 120, rows: 60 },
30}
31
32const CHARSETS: Record<AsciiCharset, string[]> = {
33 blocks: [' ', '░', '▒', '▓', '█'],
34 braille: [' ', '⠁', '⠃', '⠇', '⠿', '⠷'],
35 classic: [' ', '.', ':', 'o', '*', '#', '@'],
36 line: [' ', '-', '/', '|', '\\', '+', 'X'],
37 dots: [' ', '.', '·', '•', '●'],
38}
39
40const SPEED_MAP: Record<AsciiSpeed, number> = {
41 slow: 0.4,
42 normal: 1.0,
43 fast: 2.2,
44}
45
46const MULTICOLOR_PALETTE = [
47 'hsl(var(--primary))',
48 'hsl(var(--secondary))',
49 'hsl(var(--accent))',
50 'hsl(var(--warning))',
51 'hsl(var(--info))',
52 'hsl(var(--success))',
53]
54
55// ============================================================================
56// Grid engine
57// ============================================================================
58
59function makeGrid(cols: number, rows: number): string[][] {
60 return Array.from({ length: rows }, () => Array(cols).fill(' '))
61}
62
63function gridToLines(grid: string[][]): string[] {
64 return grid.map((row) => row.join(''))
65}
66
67// ============================================================================
68// Draw functions
69// ============================================================================
70
71function drawSpiral(grid: string[][], cols: number, rows: number, t: number, chars: string[]): void {
72 const cx = cols / 2, cy = rows / 2
73 const aspect = 2.0
74 const spacing = Math.min(cx * aspect, cy) * 0.35
75
76 for (let r = 0; r < rows; r++) {
77 for (let c = 0; c < cols; c++) {
78 const dx = (c - cx) * aspect
79 const dy = r - cy
80// … truncated

What it pulls in

Other registry items

  • @boldkit/utils

Files it writes

  • registry/default/ui/ascii-shapes.tsx

Facts

Registry
boldkit
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-10
Last confirmed
yesterday

Go to the source

Docs on boldkit boldkit.dev ANIBIT14/boldkit on GitHub Raw registry item This item as JSON

More from boldkit

All 94 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
AccordionaccordionboldkitComponentsFree2 deps
AlertalertboldkitComponentsFree2 deps
Alert Dialogalert-dialogboldkitComponentsFree1 dep
Aspect Ratioaspect-ratioboldkitComponentsFree1 dep
AvataravatarboldkitComponentsFree1 dep
BadgebadgeboldkitComponentsFree1 dep
BreadcrumbbreadcrumbboldkitComponentsFree2 deps
ButtonbuttonboldkitComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex