Skip to the content

Bushu部首

Choose the parts you can see in a kanji, intersect their matches, and add a radical picker to your page.

Bushu is the Japanese word 部首 for a kanji radical. About the name

Contents

Reference · Radical intersection and display forms

radicalFormfunction

The shape to draw for a RADKFILE key: the stand-in's own shape (汁 gives 氵), or the key itself where it already is the shape.

Import it

import { radicalForm } from "@johnmorrisdotca/bushu";

Definition

function radicalForm(key: string): string

Parameters

NameTypeDescription
keystring

The RADKFILE radical key; use the key even when its displayed shape is a stand-in.

Returns

string

The shape to draw for a RADKFILE key: the stand-in's own shape (汁 gives 氵), or the key itself where it already is the shape.

Examples

import { radicalForm } from "@johnmorrisdotca/bushu";

console.log(radicalForm("汁"));
氵

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/bushu 1.1.0.