Skip to content
Back to skills

Component Styling

ASecurity

Style an existing component through its supported variants, slots, and interaction state indicators.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add najuaircrack/agent-scopeway --skill component-styling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Component Styling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Component Styling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/najuaircrack-component-styling/badge)](https://www.skillsdirectory.com/skills/najuaircrack-component-styling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: component-styling
description: "Style an existing component through its supported variants, slots, and interaction state indicators."
license: MIT
---

# Component styling

Scopeway guidance for adapting a component already owned by the project.

1. Read the component source, its public variants and slots, and an unchanged caller. Check where the design tokens resolve and which element actually receives focus, disabled state, and event handlers.
2. Keep placement and width in the caller. Use the component's variants or public slots for visual roles such as a compact control or an icon aligned with text. Use a shared variant for a named role the product can reuse. Record one real caller that should retain the default.
3. Check the combined states that can coexist. A selected toggle can still have keyboard focus. A pending action can still need an accessible name and a stable width. Use the native state, ARIA state, or primitive-owned data attribute the component actually exposes.
4. Read the computed styles in a real caller before increasing selector specificity. If a theme or consumer override wins unexpectedly, fix its owning token or slot. Keep focus indicators visible against the selected surface and any clipping ancestor.

**Example.** For the compact export control in a report toolbar, let the toolbar set its row layout. Use the control's compact size variant and existing icon slot. Check the long label, keyboard focus while hovered, and visible progress with the action disabled. Open a second toolbar that uses the shared control and check its existing size and state behavior.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.