`gds-cards` — Cards
Documentație online (fără download) — citește aici pe Wiki.
Pachete npm: Package Registry · contracte în@gstack/gds-core.
BlockKind: cards
Secțiune paletă: BLOCKS · Class: GdsCardsComponent · Pachet: @gstack/gds-angular
Data contract: CardsData din @gstack/gds-core
Ce reprezintă
Section titled “Ce reprezintă”Grilă de carduri de conținut (2–4 coloane): titlu, text, tag opțional.
Inputs
Section titled “Inputs”| Nume | Tip | Default | Descriere |
|---|---|---|---|
data | CardsData | required | columns, items[], title? |
Outputs
Section titled “Outputs”Niciunul.
Cum se folosește
Section titled “Cum se folosește”<gds-cards [data]="{ title: 'Servicii GStack', columns: 3, items: [ { title: 'GSSO', text: 'Autentificare unică', tag: 'Core' }, { title: 'GStorage', text: 'Stocare fișiere' }, { title: 'GRegistry', text: 'Registru date' }, ]}" />Note pentru agenți (Cursor)
Section titled “Note pentru agenți (Cursor)”- columns: 2 | 3 | 4.
- Nu inventa props în afara tipului
CardsData. - Stiluri: doar tokens GDS /
--gds-accent; fără hex hardcodat.
projects/gds-angular/src/lib/components/gds-cards.component.tsprojects/gds-core/src/lib/blocks.ts