Receber por email
← Voltar para o catálogo

designing-components

Use this skill when you need to design a component

367estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add aiskillstore/marketplace

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/designing-components/svg)](https://www.skillteca.com.br/skills/designing-components)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Instructions

  • Follow the rules below to design a component:

Rules

  • Create a seperate css file to style the component
  • Use the tailwind apply directive to style the component
  • Use the @layer components directive to style the component
  • For tailwind 4.1 context, read the following docs:
  • .claude/context/tailwind/tw-v4-theme-variable.md to get the design principles
  • .claude/context/tailwind/tw-v4-custom-styles.md to get the custom styles
  • .claude/context/tailwind/tw-v4-function-and-directives.md to get the functions and directives
  • .claude/context/tailwind/tw-v4-detecting-classes-in-source-files.md to get the detecting classes in source files
  • .claude/context/tailwind/tw-v4-upgrade-guide.md to get the upgrade guide
  • Use nested classes in @layer components for styling parents and children elements
  • Use @utility directives to add custom utilities to the component
  • Use @variant directives to add custom variants to the component
  • Create a new component in srs/components root directory
  • Never touch the files in srs/components/ui directory
Compartilhar X LinkedIn