Best For
kinetic typography / variable font / motion
动力学排印
Type is the interface. On an ink-black stage the variable font itself becomes the animation: letters arrive one by one, weights breathe, widths stretch with scroll velocity. Motion belongs to the words alone, and a single signal orange points the way.
Best For
kinetic typography / variable font / motion
Primary Move
Stage the page on near-black ink #0B0B0C with warm bone text #F4F1EB for maximum contrast
Watch Out
Never animate layout properties (top/left/width/height) — transform/opacity/font-variation-settings only
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#0B0B0C
Secondary
#F4F1EB
Accent 1
#FF4D00
Accent 2
#141416
AI Implementation
Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Kinetic Typography
style_slug: kinetic-typography
style_source: /styles/kinetic-typography
# Hard Prompt
## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.
## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.
Strictly follow the style rules below and maintain consistency. No style drift allowed.
## Requirements
- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.
## Style Rules
# Kinetic Typography Design System
You are an expert frontend developer specializing in kinetic typography. Generate all code strictly following these specifications.
## Style Identity
- **Name**: Kinetic Typography
- **Essence**: Type is the interface; the variable font is the animation engine
- **Mood**: Confident, rhythmic, editorial-brutalist, stage-like
- **Inspiration**: Motion posters, title sequences, Studio Dumbar-school type experiments
---
## Forbidden
| Pattern | Reason |
|---------|--------|
| Animating top/left/width/height/margin | Layout thrash; only transform, opacity, font-variation-settings may animate |
| Multiple dominant motions per viewport | Choreography rule: one protagonist at a time |
| Images/illustration competing with type | Type owns the stage; imagery is texture at most |
| More than one accent; orange surfaces | #FF4D00 is a signal, never a fill |
| Opacity-only fades for entrances | Mask rises are the signature; flat fades are forbidden |
| Animations over 1.2s or linear easing | Kills the snap; use expo-out under 0.9s |
| Missing prefers-reduced-motion fallback | Accessibility is non-negotiable |
## Required
### Stage
- Background #0B0B0C (near-black ink), raised surface #141416
- Text #F4F1EB (warm bone), secondary rgba(244,241,235,0.55)
- The one accent #FF4D00: primary CTAs, key words, hover feedback only
### Variable Font Engine
```html
<link rel="stylesheet" href="https://fonts.loli.net/css2?family=Anybody:wdth,wght@50..150,100..900&display=swap" />
```
Display stack: font-family: "Anybody", Archivo, ui-sans-serif, sans-serif
(fonts.googleapis.com works too; loli.net mirrors it for CN access)
### Mask Rise Entrance (signature)
```html
<span class="block overflow-hidden">
<span class="inline-block" style="transform: translateY(110%); animation: kt-rise 0.9s cubic-bezier(0.22,1,0.36,1) both; animation-delay: calc(var(--i) * 40ms)">Word</span>
</span>
```
```css
@keyframes kt-rise { to { transform: translateY(0); } }
```
### Weight Breathing
```css
@keyframes kt-breathe {
from { font-variation-settings: "wght" 300; }
to { font-variation-settings: "wght" 800; }
}
.kt-breathe { animation: kt-breathe 2.4s ease-in-out infinite alternate; }
```
Apply to ONE key word per viewport.
### Scroll-Velocity Width Stretch (advanced, JS)
```js
let last = scrollY, vel = 0;
(function tick() {
vel = vel * 0.9 + Math.abs(scrollY - last) * 0.1; last = scrollY;
el.style.fontVariationSettings = `"wght" 700, "wdth" ${Math.min(150, 100 + vel * 2)}`;
requestAnimationFrame(tick);
})();
```
### GSAP Recipe (preferred when gsap is available)
```js
import gsap from "gsap";
import { ScrollTrigger } from "gsap/ScrollTrigger";
import { SplitText } from "gsap/SplitText";
gsap.registerPlugin(ScrollTrigger, SplitText);
const split = SplitText.create(".headline", { type: "chars" });
gsap.from(split.chars, {
yPercent: 110, stagger: 0.04, duration: 0.9, ease: "expo.out",
scrollTrigger: { trigger: ".headline", start: "top 80%" },
});
```
### Marquee
Duplicate strip content twice inside a track; animate track translateX(-50%) linear infinite 24s; pause on hover.
### Type Scale
- Labels: 11-12px, uppercase, letter-spacing 0.2-0.3em
- Body: 15-16px, line-height 1.6
- Headlines: clamp(3rem, 10vw, 9rem), letter-spacing -0.02em, line-height 0.95
### Rhythm
- One easing: cubic-bezier(0.22,1,0.36,1)
- Entrances 0.7-0.9s; hover 0.3-0.5s; stagger 30-50ms per char, 80-120ms per line
### Reduced Motion
```css
@media (prefers-reduced-motion: reduce) {
.kt-line > span, .kt-breathe, .kt-marquee-track { animation: none; transform: none; }
}
```
Everything lands on its static end state; zero information loss.
## Self-Verification Checklist
- [ ] Ink stage, bone type, single orange signal
- [ ] Headlines use mask rise + stagger, never flat fades
- [ ] Only transform/opacity/font-variation-settings animate
- [ ] One dominant motion per viewport
- [ ] prefers-reduced-motion fallback present
- [ ] expo-out easing everywhere
## Absolute Bans (Match and Refuse)
If any of the following patterns appear, it is a style violation — rewrite without exception.
- animate layout properties (top/left/width/height) — transform/opacity/font-variation-settings only
- run multiple dominant motions in one viewport (choreography: one protagonist at a time)
- let images or illustration steal the stage from type (imagery is texture at most)
- use more than one accent, never flood signal orange as a surface color
- substitute a flat opacity fade for a mask rise
- drag animations past 1.2s or use linear easing
- skip the prefers-reduced-motion fallback
## Self-Check (Verify Before Shipping)
If any item fails, the style has drifted — fix before shipping.
- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] never animate layout properties (top/left/width/height) — transform/opacity/font-variation-settings only
- [ ] never run multiple dominant motions in one viewport (choreography: one protagonist at a time)
- [ ] never let images or illustration steal the stage from type (imagery is texture at most)
- [ ] never use more than one accent, never flood signal orange as a surface color
- [ ] never substitute a flat opacity fade for a mask riseUse it in your workflow
Drop this style's theme into an existing shadcn project with one command.
npx shadcn add https://www.stylekit.top/r/kinetic-typography.jsonContributors can build the unpublished CLI from a local checkout.
pnpm --filter stylekit-cli build && node packages/cli/dist/index.js add kinetic-typographyContributors can preview Kinetic Typography through the repository-local MCP package.
pnpm --filter stylekit-mcp build && node packages/mcp/dist/index.jsComponent Templates
Ink button with signal-orange fill wipe and weight shift on hover
Frontend Readiness
This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.
Overall
51%
Fallback
Dark Mode
0%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
Default / Hover / Focus Visible / Active / Disabled
Input
Default / Hover / Focus Visible / Disabled / Error
Card
Default / Hover / Focus Visible / Loading / Skeleton
Form
Default / Focus Visible / Disabled / Loading / Error
/* Kinetic Typography Global Styles */
:root {
--kt-ink: #0B0B0C;
--kt-ink-raised: #141416;
--kt-bone: #F4F1EB;
--kt-signal: #FF4D00;
--kt-muted: rgba(244, 241, 235, 0.55);
--kt-ease: cubic-bezier(0.22, 1, 0.36, 1);
--kt-duration: 0.9s;
--kt-stagger: 40ms;
}
/* Mask-rise entrance: wrap each line in .kt-line, put text in a child span */
.kt-line {
overflow: hidden;
display: block;
}
.kt-line > span {
display: inline-block;
transform: translateY(110%);
animation: kt-rise var(--kt-duration) var(--kt-ease) both;
}
@keyframes kt-rise {
to { transform: translateY(0); }
}
/* Variable-font weight breathing */
@keyframes kt-breathe {
from { font-variation-settings: "wght" 300; }
to { font-variation-settings: "wght" 800; }
}
.kt-breathe { animation: kt-breathe 2.4s ease-in-out infinite alternate; }
/* Seamless marquee: duplicate the strip content twice inside .kt-marquee-track */
.kt-marquee { overflow: hidden; white-space: nowrap; }
.kt-marquee-track {
display: inline-flex;
animation: kt-marquee 24s linear infinite;
}
.kt-marquee:hover .kt-marquee-track { animation-play-state: paused; }
@keyframes kt-marquee {
to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
.kt-line > span { animation: none; transform: none; }
.kt-breathe { animation: none; font-variation-settings: "wght" 700; }
.kt-marquee-track { animation: none; }
}IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
Style Pack
Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.
Metadata
Style metadata including version information
Design Tokens
Compatible with Figma / Style Dictionary / Tokens Studio
Tailwind Preset
Tailwind CSS theme preset, import directly in config
Global CSS
CSS variables and base styles
shadcn Theme
shadcn/ui theme configuration
CSS Variables
Pure CSS variables, works with any project
SKILL.md
Loadable skill pack for Cursor / Claude Code / VS Code
The kinetic creed: words are not placed, they enter. When type is the only protagonist, motion stops being decoration and becomes tone of voice — weight is volume, width is breath, stagger is punctuation.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: B - Good
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#F4F1EB / #0B0B0C | 17.45:1 | ||
| Secondary text on background | /#F4F1EB / #0B0B0C | 17.45:1 | ||
| Muted text on background | /#F4F1EB / #0B0B0C | 17.45:1 | ||
| Text on secondary background | /#F4F1EB / #141416 | 16.32:1 | ||
| Secondary text on secondary | /#F4F1EB / #141416 | 16.32:1 | ||
| Button primary | /#0B0B0C / #FF4D00 | 5.91:1 | ||
| Text on accent 1 | /#F4F1EB / #FF4D00 | 2.95:1 | ||
| Alt text on accent 1 | /#F4F1EB / #FF4D00 | 2.95:1 |
Readability
Score
80/100
Font Size
text-sm md:text-base
Font Weight
font-bold text-[#F4F1EB] tracking-tight leading-[0.95]
Line Height
default
Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.