5 of 8 · hard enamel, gold plate
Drop cap
27 of 44 · the first letter is illuminated
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initFieldDropCap(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/input-drop-capAbout this component
A line of a manuscript on vellum: the first letter is illuminated as a gold-leaf capital with vines growing out of it into the margin, the rest is penned in a serif, and a new first letter is illuminated afresh.
- Dependencies
- None
- Difficulty
- Intermediate
- Reduced motion
- Respected
- Theme
- Light and dark
- Follows page color-scheme
Triggers3
- State change
- Draw
- Ambient
Techniques4
- SVG
- stroke-dashoffset
- Gradient
- Keyframes
Accessibility
Keyboard and screen readers
One native input named "Opening line of the manuscript"; the page is aria-hidden and the count, or the reason for a refusal, is announced.
Reduced motion
The vines and leaf are shown complete and still.
Use it in anything you build, commercial and client work included. Licence
More inputs
See all5 of 10 · Enter varnishes it
5 of 12 · 175 stitches
5 of 10 · Enter pulls the squeegee